/**
 * Theme Name:     Asteroid Child for Legends Lost
 * Author:         Cat Lady Firebird
 * Template:       asteroid
 * Text Domain:    asteroid-child-for-legends-lost
 * Description:    Child theme of Ron Angelo's Asteroid, customized for Legends Lost.
 */

/* ------------------------------------------------------------
   Base theme cleanup: shadows, text shadows, gradients
------------------------------------------------------------ */

#container,
#container.cf,
#footer,
#below-menu,
#nav .sub-menu,
#nav .children,
.archive-info,
.blog-view,
.continue-reading,
.continue-reading:hover,
.attachment-nav .link-prev a,
.attachment-nav .link-next a,
.comment-body,
.comment-reply-link,
.comment-form-author input,
.comment-form-email input,
.comment-form-url input,
.comment-form-comment textarea,
.author-info,
.author-latest-posts,
.wrap-404-box,
#widgets-wrap-footer-3 {
    box-shadow: none;
}

#site-title,
#footer,
#below-menu,
#nav .menu a,
#nav .menu a:hover,
#nav .menu ul a:hover,
#nav .sub-menu li a,
#nav .children li a,
#nav .current-menu-item,
#nav .current-menu-ancestor,
#nav .current_page_ancestor,
#nav .current_page_item,
.archive-title,
.continue-reading:hover,
.entry-title a,
.page-nav > *,
.comment-nav > *,
.author-info .title,
.author-latest-posts-title,
.widget-after-post .widget-title,
.wp-pagenavi a,
.wp-pagenavi span {
    text-shadow: none;
}

#nav .menu > li > a,
#nav .menu > ul > .page_item > a,
.page-nav > *,
.comment-nav > *,
#wp-calendar th,
.wp-pagenavi a,
.wp-pagenavi span,
.author-info.cf h4.title {
    background: url('https://legendslost.lfvoy.net/wp-content/uploads/2026/04/canvas.jpg');
}

/* ------------------------------------------------------------
   Navigation cleanup
------------------------------------------------------------ */

#nav .menu > .menu-item-has-children > a:after,
#nav .menu > ul > .page_item_has_children > a:after,
#nav .menu > .menu-item-has-children > a:hover:after,
#nav .menu > ul > .page_item_has_children > a:hover:after,
#nav .sub-menu > .menu-item-has-children > a,
#nav .children > .page_item_has_children > a,
#nav .sub-menu > .menu-item-has-children > a:hover,
#nav .children > .page_item_has_children > a:hover {
    content: none;
    background-image: none;
    background-position: initial;
    background-repeat: no-repeat;
}

li.categories {
    list-style-type: none;
    margin-top: 15px;
}

/* ------------------------------------------------------------
   Hidden elements
------------------------------------------------------------ */

.entry-meta-top,
.entry-tags,
#site-description,
.post-nav.cf {
    display: none;
    visibility: hidden;
}

article#post-83 .entry-date {
    display: none !important;
    visibility: hidden;
}

.widget-footer-3 .widget-title {
    background: none;
    border-left: none;
    border-right: none;
}

/* ------------------------------------------------------------
   Layout widths
------------------------------------------------------------ */

#container {
    width: 1220px !important;
    max-width: 1220px !important;
}

#sidebar {
    width: 360px !important;
    max-width: 360px !important;
}

#content {
    width: 830px !important;
    max-width: 830px !important;
}

/* ------------------------------------------------------------
   Main borders and colors
------------------------------------------------------------ */

.mature-rating {
    color: #cc0000;
    font-weight: bold;
    font-style: italic;
}

.chapter-nav,
.author-note {
    border-top: 1px solid #222;
    padding-top: 10px;
}

.chapter-nav {
    text-align: center;
}

.entry-content a.start-here-button,
.entry-content a.start-here-button:link,
.entry-content a.start-here-button:visited,
.entry-content a.start-here-button:hover,
.entry-content a.start-here-button:focus,
.entry-content a.start-here-button:active {
    text-decoration: none !important;
    border-bottom: none !important;
}

a,
.entry-header a,
.widget-sidebar a,
.wpcf7-not-valid-tip,
h4,
.include-mastodon-feed .status a,
#footer a,
#footer a:hover,
#footer-links a,
#footer-links a:hover,
#header a {
    color: #4d6063;
}

.start-here-button {
    display: inline-block;
    background-color: #e6e6e6;
    color: #222;
    padding: 5px 10px;
    border: 1px solid #bbb;
    border-radius: 3px;
    box-shadow: 0 2px 0 #999;
    text-decoration: none;
    font-family: 'Capriola', sans-serif;
    transition: all 0.08s ease;
}

.start-here-button:hover {
    background-color: #dcdcdc;
}

.start-here-button:active {
    box-shadow: 0 1px 0 #999;
    transform: translateY(1px);
}

a:hover,
#header a:hover,
.entry-header a:hover,
input[type="submit"],
.start-here-button,
input[type="search"],
.widget-sidebar a:hover,
input,
textarea {
    color: #222;
}

hr {
    height: 1px;
    background-color: #222;
    border: none;
    border-top: 1px solid #222;
}

img {
    border: 1px solid #222;
}

.blog-view .entry-thumbnail {
    border: 0 none;
}

img.alignright {
    margin: 0 0 10px 10px;
}

img.alignleft {
    margin: 0 10px 0 10px;
}

.entry-content a {
    text-decoration: none;
    border-bottom: 1px solid #ccc;
}

.entry-content a:hover {
    border-bottom: 1px solid #222;
}

.writing-log .entry-content,
#container,
#nav .menu,
#nav .menu > li,
#nav .menu > ul > .page_item,
#content,
.search-form,
#footer,
.archive-info {
    border: 0 none;
}

#header,
#nav .sub-menu li,
#nav .children li,
#content,
#sidebar,
#main,
.widget-sidebar .widget-title,
.search-form,
#footer,
#footer-bottom {
    background: url('https://legendslost.lfvoy.net/wp-content/uploads/2026/04/canvas.jpg');
}

#header {
    min-height: 110px;
    border-top: 1px solid #222;
    border-right: 1px solid #222;
    border-left: 1px solid #222;
}

#header img {
    border: 0 none;
    padding: 5px 0;
}

#main,
#footer.cf,
#nav.cf.drop {
    border-right: 1px solid #222;
    border-left: 1px solid #222;
}

#footer {
    border-top: 1px solid #222;
}

#footer.cf {
    border-bottom: 1px solid #222;
}

#nav,
.widget-sidebar .widget-title,
.archive-title,
.wrap-404-box {
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    border-left: 0 none;
    border-right: 0 none;
    background: url('https://legendslost.lfvoy.net/wp-content/uploads/2026/04/canvas.jpg');
}

#nav .sub-menu li a {
    background-color: #eee;
}

#nav .menu li a,
#footer {
    color: #222;
}

#nav .menu li a:hover,
.continue-reading {
    background: #4d6063;
    color: #fff;
}

#nav .sub-menu li,
#nav .children li {
    border-bottom: 0 none;
}

#content article,
input,
.author-info.cf {
    background: #fff;
    border: 1px solid #222;
}

h4.title {
    border-bottom: 1px solid #222;
}

#content article.sticky {
    background-image: none;
    border: 1px solid #4d6063;
}

.entry-content {
    border-top: 1px solid #222;
}

.continue-reading {
    border: 1px solid #222;
}

.continue-reading:hover {
    background: #222;
}

#bottom-navi {
    border: 0 none;
}

.asteroid-widget li {
    border-bottom: 1px solid #ccc;
}

.rpwwt-widget,
.rpwwt-widget ul,
.rpwwt-widget ul li,
.rpwwt-post-title,
.rpwwt-widget img {
    margin: 0;
    padding: 0;
    border: 0 none;
}

#widgets-wrap-after-post-content {
    border-top: 1px solid #222;
}

.post-nav {
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.entry-meta-bottom {
    border-bottom: 0 none;
}

.entry-title {
    border-bottom: none;
}

#respond,
.author-description a {
    border: 0 none;
    text-decoration: none;
    background: #fff;
}

.wrap-404-box h2 {
    border-top: none;
    border-bottom: 1px solid #222;
    border-left: none;
    border-right: none;
    background: url('https://legendslost.lfvoy.net/wp-content/uploads/2026/04/canvas.jpg');
    color: #222;
}

/* ------------------------------------------------------------
   Progress bars
------------------------------------------------------------ */

div.wppb-progress > span.red {
    background: #635b4d;
    background: -moz-linear-gradient(top, #4d6063 0%, #4d6063 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #4d6063), color-stop(100%, #4d6063));
    background: -webkit-linear-gradient(top, #4d6063 20%, #635b4d 100%);
    background: -o-linear-gradient(top, #4d6063 30%, #635b4d 100%);
    background: -ms-linear-gradient(top, #635b4d 0%, #4d6063 100%);
    background: linear-gradient(to bottom, #4d6063 0%, #635b4d 100%);
}

div.wppb-progress > span.green {
    background: #777;
    background: -moz-linear-gradient(top, #777 0%, #777 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #777), color-stop(100%, #777));
    background: -webkit-linear-gradient(top, #777 20%, #777 100%);
    background: -o-linear-gradient(top, #777 0%, #777 100%);
    background: -ms-linear-gradient(top, #777 0%, #777 100%);
    background: linear-gradient(to bottom, #777 0%, #777 100%);
}

/* ------------------------------------------------------------
   Completed story lists
------------------------------------------------------------ */

div.lcp_completed_stories > ul.lcp_catlist {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

div.lcp_completed_stories > ul.lcp_catlist > li {
    list-style: none !important;
    position: relative !important;
    padding-left: 1.8em !important;
    margin-left: 0 !important;
}

div.lcp_completed_stories > ul.lcp_catlist > li::before {
    content: "📖" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}

div.lcp_completed_stories > ul.lcp_catlist > li::marker {
    content: "" !important;
}

/* ------------------------------------------------------------
   Typography, spacing, alignment
------------------------------------------------------------ */

a:hover {
    font-weight: bold;
}

blockquote.wpprq-quote {
    margin: 0;
    border: 0 none;
    background: none;
    font-family: 'Lora', serif;
}

abbr,
acronym {
    text-decoration: none;
    border-bottom: 1px dotted #222;
}

td {
    text-align: left;
    vertical-align: top;
}

h1#site-title,
h2#site-title {
    font-size: 72px;
    font-weight: normal;
    line-height: 95%;
}

h1#site-title a:hover,
h2#site-title a:hover,
#header a:hover {
    font-weight: normal;
}

.breadcrumbs,
.mature-rating {
    text-align: right;
    font-size: 13px;
    margin: -10px 0 10px 0;
}

div.entry-date {
    font-family: 'Lora', serif;
    font-size: 105%;
}

.recently-updated-post {
    list-style: none;
    margin-bottom: 0.75em;
}

.recently-updated-post a {
    text-decoration: none;
}

.recently-updated-thumb img {
    width: 24px;
    height: 24px;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 2px;
    border: none;
    border-radius: 0;
}

.recently-updated-title {
    vertical-align: middle;
}

.ll-recent-posts-section + .ll-recent-posts-section .widget-title {
  margin-top: 25px;
}

.ll-recent-posts-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top:20px;
}

.ll-recent-posts-page-section ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.ll-recent-posts-page-section li {
  margin-bottom: .35rem;
}

@media (max-width: 700px) {
  .ll-recent-posts-page-grid {
    grid-template-columns: 1fr;
  }
}

#widgets-wrap-header {
    display: block;
    float: right;
    font-family: 'Lora', serif;
    font-size: 24px;
}

.rpwwt-post-excerpt {
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

#nav .menu li a,
h2.widget-title,
.archive-title,
.wrap-404-box h2 {
    text-transform: uppercase;
    font-weight: normal;
}

.archive-description {
    background: none;
    border-top: none;
    border-bottom: 1px solid #222;
    padding: 10px 0;
    text-align: justify;
}

#nav .sub-menu li,
#nav .children li {
    text-align: center;
}

#content,
#respond {
    padding-left: 20px;
    padding-right: 10px;
}

.character-name {
    font-size: 14px;
    font-style: normal;
}

.character-pic,
.character-pic-pad {
    clear: both;
    font-style: italic;
}

.character-pic-pad {
    padding-bottom: 15px;
}

.entry-excerpt,
.entry-content {
    color: #222;
    padding-top: 5px;
    font-size: 16px;
    line-height: 140%;
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.entry-content p,
.post-nav,
.archive-description,
.single-view .entry-content,
.wrap-404-box,
#bottom-navi {
    font-family: 'Lora', serif;
    font-size: 16px;
    line-height: 140%;
}

.author-description {
    font-size: 110%;
}

.wp-caption-text {
    font-family: 'Capriola', sans-serif;
    text-align: center;
}

.widget-sidebar {
    padding-right: 0;
    padding-left: 10px;
}

#footer-links,
#respond {
    font-size: 14px;
}

input[type="search"],
input[type="submit"],
input,
textarea {
    font-family: 'Capriola', sans-serif;
    font-size: 14px;
}

.single-view {
    padding: 10px 12px;
}

h1.entry-title,
h3 {
    font-weight: normal;
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea,
.wpcf7-validates-as-url {
    width: 100%;
    color: #666;
}

#respond {
    padding-right: 0;
}

#sidebar {
    font-size: 14px;
}

.entry-content small {
    font-family: 'Lora', serif;
    font-size: 13px;
    line-height: 130%;
}
