/*!
Theme Name: Renowned Base
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Custom theme for Storyhat Comics
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: renowned-base
*/

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/

.breadcrumb-wrap {
  position: absolute !important;
  top: 20px;
  left: 28px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1000;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;

  opacity: 0;
  transform: translateY(-6px);
  animation: breadcrumbFade .5s ease-out forwards .4s;
}

.breadcrumb-wrap nav.breadcrumbs {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
}

.breadcrumb-wrap a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.breadcrumb-wrap a:hover {
  opacity: 0.75;
}

@keyframes breadcrumbFade {
  to {
    opacity: 1;
    transform: translate(0);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
  background: var(--bg-deep);
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer .footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.site-footer p {
  margin: 0.3rem 0;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.site-footer a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--accent);
}

/*--------------------------------------------------------------
# Header Cleanup
--------------------------------------------------------------*/

.site-header,
#masthead.site-header {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
}

/*--------------------------------------------------------------
# Normalize / Base
--------------------------------------------------------------*/

/* Remove default page title */
.page .entry-title {
  display: none;
}

/* Kill the phantom top margin on pages */
.page .entry-content {
  margin-top: 0 !important;
}

/* Reset body */
body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
  font-family: "Nunito Sans", system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hero subtitle adjustment */
.hero__subtitle {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  letter-spacing: .04em;
  font-size: clamp(20px, 2.4vw, 32px);
  color: var(--text);
  margin: 0 auto;
  max-width: 72ch;
  opacity: 0;
  transform: translateY(8px);
}

/*--------------------------------------------------------------
# Utility
--------------------------------------------------------------*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

.description a {
  color: inherit;
  text-decoration: none;
}

.description a:hover {
  opacity: 0.8; /* subtle hover feedback */
}

/* Wrap the whole feed */
.wp-rss-aggregator {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0;
}

/* Each post */
.wp-rss-aggregator .wprss-feed-item {
  list-style: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wp-rss-aggregator .wprss-feed-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

/* Links */
.wp-rss-aggregator .wprss-feed-item a {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}
.wp-rss-aggregator .wprss-feed-item a:hover {
  text-decoration: underline;
}

/* Meta info (date, source) */
.wp-rss-aggregator .wprss-feed-item .wprss-feed-meta {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.6rem;
}