/* AfterschoolSearch Parent Resources: article components.
   Paste into WordPress: Appearance > Customize > Additional CSS (or the theme's custom CSS). */
:root {
  --asr-navy: #0a1f45; --asr-muted: #4c5a75; --asr-blue: #0077d5; --asr-teal: #00937c;
  --asr-green: #66b938; --asr-yellow: #f3bd1c; --asr-line: #dbe6f3;
  --asr-grad: linear-gradient(90deg, #0077d5 0%, #00937c 55%, #66b938 100%);
}
.entry-content h2, .entry-content h3 { color: var(--asr-navy); scroll-margin-top: 90px; }
.entry-content a { color: var(--asr-blue); }

.last-updated { font-size: .92rem; color: var(--asr-muted); margin-bottom: 1.4em; }
.dek { font-size: 1.2rem; color: var(--asr-muted); }
.pick-label { display: inline-block; background: #fff1c7; color: #6b4e00; font-weight: 700; font-size: .95rem;
  padding: 4px 12px; border-radius: 999px; margin: -.3em 0 1em; }
.see-also { font-style: italic; color: var(--asr-muted); }
.pullquote { font-size: 1.25rem; font-weight: 700; color: var(--asr-navy); border-left: 4px solid var(--asr-yellow);
  padding-left: 14px; margin: 1.2em 0; }
.disclaimer { font-size: .9rem; color: var(--asr-muted); }

ul.facts { list-style: none; margin: 1em 0 1.4em; padding: 16px 18px; background: #f6faff;
  border: 1.5px solid var(--asr-line); border-radius: 14px; }
ul.facts li { margin: 0 0 6px; padding: 0; }
ul.facts li:last-child { margin-bottom: 0; }

.tip { background: #e9f7ef; border-left: 4px solid var(--asr-teal); padding: 12px 16px; border-radius: 0 12px 12px 0; }

.quick-picks { background: #fff; border: 2px solid var(--asr-navy); border-radius: 18px; box-shadow: 5px 5px 0 var(--asr-navy);
  padding: 18px 22px; margin: 1.6em 0 2em; }
.quick-picks-title, .related-title { font-weight: 800; font-size: 1.2rem; color: var(--asr-navy); margin: 0 0 8px; }
.quick-picks ul, .related-guides ul { margin: 0; padding-left: 1.1em; }
.quick-picks li { margin: 4px 0; }

#faq ~ h3 { font-size: 1.1rem; margin-top: 1.2em; }

.related-guides { border-top: 2px solid var(--asr-line); margin-top: 2.4em; padding-top: 1.2em; }

.asr-signup { background: var(--asr-navy); color: #fff; border-radius: 22px; padding: 26px; margin: 2em 0;
  box-shadow: 6px 6px 0 var(--asr-yellow); }
.asr-signup p { color: #c9d4ea; margin: 0 0 12px; }
.asr-signup .asr-signup-title { color: #fff; font-weight: 800; font-size: 1.3rem; }
.asr-signup form { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.asr-signup input[type=email] { flex: 1 1 240px; font: inherit; padding: 12px 14px; border: 2px solid #fff;
  border-radius: 12px; min-width: 0; color: var(--asr-navy); background: #fff; }
.asr-signup button { font: inherit; font-weight: 700; color: #fff; background: var(--asr-grad); border: 2px solid #fff;
  border-radius: 12px; padding: 12px 20px; cursor: pointer; }
.asr-signup button:hover { filter: brightness(1.08); }

.author-box { background: #f6faff; border: 1.5px solid var(--asr-line); border-radius: 16px; padding: 16px 18px; margin-top: 1.5em; }
.author-box .author-name { font-weight: 800; color: var(--asr-navy); margin: 0 0 4px; }
.author-box p { margin: 0; }

@media (max-width: 600px) { .asr-signup button { width: 100%; } .quick-picks { padding: 16px; } }
/* ---- Theme overrides: AfterschoolSearch brand on Twenty Twenty-Five ---- */
:root {
  --wp--preset--color--base: #f4f9ff;
  --wp--preset--color--contrast: #0a1f45;
  --wp--preset--color--accent-1: #f3bd1c;
}
body { font-family: "Nunito", system-ui, sans-serif !important; background: #f4f9ff !important; color: #0a1f45 !important; }
h1, h2, h3, h4, .wp-block-post-title, .wp-block-query-title { font-family: "Fredoka", sans-serif !important; color: #0a1f45 !important; letter-spacing: -.01em; }
.wp-block-post-title { font-weight: 700 !important; }
.wp-block-post-title a { text-decoration: none; color: inherit; }
.wp-block-post-title a:hover { color: #0077d5; }

.asr-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.asr-logo img { height: 58px; width: auto; display: block; }
.asr-section { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.05rem; color: #0a1f45; text-decoration: none;
  background: #fff; border: 1.5px solid #dbe6f3; border-radius: 999px; padding: 5px 14px; }
.asr-section:hover { border-color: #0077d5; }

.asr-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; align-items: center; }
.asr-nav a { font-weight: 700; color: #0a1f45; text-decoration: none; font-size: .98rem; }
.asr-nav a:hover { color: #0077d5; }
.asr-nav .asr-nav-cta { color: #fff; background: linear-gradient(90deg, #0077d5, #00937c, #66b938); border: 2px solid #0a1f45;
  border-radius: 12px; padding: 7px 14px; box-shadow: 0 3px 0 #0a1f45; }
.asr-nav .asr-nav-cta:hover { color: #fff; filter: brightness(1.06); }

.asr-footer { background: #0a1f45; color: #c9d4ea; margin-top: 60px; padding: 40px 16px; text-align: center; }
.asr-footer-inner { max-width: 720px; margin: 0 auto; }
.asr-footer img { height: 64px; width: auto; }
.asr-footer a { color: #fff; }
.asr-footer .asr-copy { font-size: .85rem; opacity: .8; }

@media (max-width: 700px) {
  .asr-logo img { height: 46px; }
  .asr-nav ul { gap: 4px 12px; }
  .asr-nav a { font-size: .92rem; }
}
.asr-home-title { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: .3em; }
.asr-home-intro { font-size: 1.15rem; color: #4c5a75; max-width: 640px; }

.entry-content strong, .wp-block-post-content strong, .quick-picks strong, ul.facts strong, .tip strong { font-weight: 800 !important; }
.wp-block-post-content p, .wp-block-post-content li { color: #0a1f45; }
.wp-block-post-content .asr-signup p, .entry-content .asr-signup p { color: #c9d4ea !important; }
.wp-block-post-content .asr-signup .asr-signup-title, .entry-content .asr-signup .asr-signup-title { color: #fff !important; }
/* show the whole cover image, never cropped */
.wp-block-post-featured-image img { aspect-ratio: 1200 / 630 !important; height: auto !important; object-fit: cover !important; width: 100% !important; border-radius: 16px; }
.wp-block-post-featured-image { aspect-ratio: auto !important; height: auto !important; }
.asr-card-excerpt p { color: #4c5a75; font-size: 1.05rem; }
.asr-read-more { font-weight: 800; color: #0077d5 !important; text-decoration: none; }
.asr-read-more:hover { text-decoration: underline; }
/* author photo */
.author-box { display: flex; gap: 16px; align-items: flex-start; }
.author-box .author-photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; flex: 0 0 88px;
  border: 3px solid #fff; box-shadow: 0 0 0 2px #0a1f45; }
.author-box .author-text { flex: 1; }
@media (max-width: 520px) { .author-box { flex-direction: column; align-items: center; text-align: center; } }
.asr-author-header { display: flex; gap: 22px; align-items: center; margin-bottom: 1.5em; }
.asr-author-header .author-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: 0 0 120px;
  border: 4px solid #fff; box-shadow: 0 0 0 2px #0a1f45; }
.asr-author-bio { color: #4c5a75; font-size: 1.08rem; margin: .4em 0 0; max-width: 620px; }
@media (max-width: 600px) { .asr-author-header { flex-direction: column; text-align: center; } }
/* author reminder notes (only ever shown to logged-in editors) */
.asr-note { display: inline-block; background: #fff3b0; border: 2px dashed #e0a800; color: #6b4e00 !important;
  font-weight: 700; padding: 6px 10px; border-radius: 8px; }
/* at-a-glance comparison tables */
.asr-table-wrap { overflow-x: auto; margin: 1.2em 0 2em; border-radius: 14px; border: 2px solid #0a1f45; -webkit-overflow-scrolling: touch; }
table.asr-compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; background: #fff; }
table.asr-compare th { background: #0a1f45; color: #fff !important; font-family: Fredoka, sans-serif; font-weight: 600; text-align: left; padding: 10px 12px; }
table.asr-compare td { padding: 10px 12px; border-top: 1px solid #dbe4f3; color: #0a1f45; vertical-align: top; }
table.asr-compare tr:nth-child(even) td { background: #f3f7fd; }
table.asr-compare td:first-child { font-weight: 800; }
