/*
 Theme Name:   Child
 Author:       arcie
 Author URI:   http://thisistrue.com
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  generatepress-child
----------------------------------- */
/* ===== Typography (system serif: Georgia) ===== */
html { font-optical-sizing: auto; } /* harmless; no effect on Georgia */
body,
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, serif;
}
body {
  font-style: normal !important; /* safety after italics issue */
}
/* ===== Global look & link styling ===== */
body { background:#f3f3f3; }
.post-navigation a:link,
.post-navigation a:visited,
.post-navigation a:hover,
.post-navigation a:focus-visible,
.entry-content a:link,
.entry-content a:visited,
.entry-content a:hover,
.entry-content a:focus-visible {
  color: #1e73be;
  text-decoration-line: underline;
}
.post-navigation a:visited,
.entry-content a:visited {
  color: #5f24ad;
}
.post-navigation a:hover,
.post-navigation a:focus-visible,
.entry-content a:hover,
.entry-content a:focus-visible {
  color: #0064bc;
  outline: none;
  text-decoration-style: solid;
}
/* ===== Captions ===== */
.wp-caption .wp-caption-text {
  font-size: 90%;
  padding-top: 5px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
  text-align: center;
  opacity: 1;
}
/* ===== Blockquotes (site-wide) ===== */
blockquote {
  margin-right: 50px;
  font-style: normal;
  font-size: inherit;
}
/* ===== Gentle image grow on hover ===== */
img[class*="wp-image-"] {
  transition: transform .3s ease, box-shadow .3s ease;
}
img[class*="wp-image-"]:hover {
  transform: scale(1.05);
  box-shadow: 1px 1px 5px #999;
}
/* ===== Post navigation label ===== */
.post-navigation .nav-label {
  font-weight: 700;
  color: #000;
  margin-right: 0.25em;
}
/* ===== Book excerpt box ===== */
.excerpt-box {
  display:flex;
  align-items:center;
  gap:1.5rem;
  border:1px solid #ddd;
  border-radius:8px;
  padding:16px;
  margin-bottom:2rem;
  background:#fff;
}
.excerpt-box .cover-col {
  flex:0 0 auto;
  display:flex;
  align-items:stretch;
  margin-right:1.5rem;
  overflow:visible;
}
.excerpt-box .cover-link {
  display:flex;
  align-items:stretch;
}
.excerpt-box img.cover {
  height:100%;
  width:auto;
  display:block;
  object-fit:contain;
  transition:transform .2s ease;
}
.excerpt-box img.cover.grow:hover {
  transform:scale(1.05);
}
.excerpt-box blockquote {
  margin:0;
  line-height:1.6;
  font-size:inherit;
}
.excerpt-box cite {
  display:block;
  margin-top:.25rem;
  font-style:normal;
  color:#555;
}
/* ===== Layout: centered white panel with shadow ===== */
.site-content .content-area {
  width: min(1100px, 90%);
  margin-inline: auto;
}
.site-content .inside-article {
  background:#fff;
  border-radius:10px;
  box-shadow:
    inset 0 0 5px rgba(0,0,0,.05),
    0 3px 18px rgba(0,0,0,.10);
  padding: clamp(16px, 2.5vw, 40px);
}
/* ===== Footer: blend into gray (no white block) ===== */
.site-footer,
.site-footer .site-info,
.site-footer .inside-site-info,
.site-footer .footer-widgets,
.site-footer .inside-footer-widgets {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}
/* ===== Mobile refinements ===== */
@media (max-width:640px){
  .inside-article {
    margin-left: 12px;
    margin-right: 12px;
  }
  .excerpt-box {
    flex-direction:column;
    align-items:flex-start;
  }
  .excerpt-box .cover-col {
    margin-right:0;
    margin-bottom:1rem;
    justify-content:center;
  }
  .excerpt-box img.cover {
    height:auto;
    width:70%;
    max-width:280px;
  }
}