html[data-template-id="cover"] {
  --tf-accent: #547c68;
  --tf-accent-deep: #2f5b49;
  --tf-mint: #edf5ef;
  --tf-display: Georgia, "Times New Roman", serif;
  --tf-serif: Georgia, "Times New Roman", serif;
  --tf-radius: 2px;
}
html[data-template-id="cover"] .reader-frontpage { max-width: 1180px; --rf-accent: #547c68; --rf-accent-dark: #2f5b49; }
html[data-template-id="cover"] .rf-lead h2 { font-family: Georgia, serif; font-weight: 700; letter-spacing: -.035em !important; }
html[data-template-id="cover"] .rf-secondary h3,
html[data-template-id="cover"] .rf-rail-story h3 { font-family: Georgia, serif; }
html[data-template-id="cover"] .rf-opinion-card { background: linear-gradient(145deg, #315d4b, #173b2f); box-shadow: none; }
html[data-template-id="cover"] .rf-article h1 { font-family: Georgia, serif; font-weight: 700; letter-spacing: -.04em !important; }
html[data-template-id="cover"] .rf-article-hero img { aspect-ratio: 16 / 8.6; }
html[data-template-id="cover"] .article-body { max-width: 720px; margin: 0 auto; }
html[data-template-id="cover"] .rf-article-tools { justify-content: center; border-top: 3px double var(--tf-line); }
html[data-template-id="cover"] .rf-article-tools > span { display: none; }
/* periodicoIA · Cover: misma estructura editorial, paleta jade y lectura móvil. */
body.pia-tpl-cover { background: #eaf7f1 !important; }
body.pia-tpl-cover #wrapper { width: min(960px, 100%) !important; background: #fff !important; box-shadow: 0 18px 46px rgba(4, 63, 50, .12); }
body.pia-tpl-cover #header { height: auto !important; min-height: 150px; padding: 28px 26px 18px !important; background: linear-gradient(135deg, #063c32, #0b6b61 58%, #109d7c) !important; }
body.pia-tpl-cover #header h1 { margin: 0 !important; }
body.pia-tpl-cover #header h1 a { color: #fff !important; font-size: clamp(32px, 6vw, 54px) !important; }
body.pia-tpl-cover #header h2 { display: none !important; }
body.pia-tpl-cover #searchform { top: 102px !important; right: 24px !important; background: #d9f7eb !important; border-color: #8cd8bd !important; }
body.pia-tpl-cover #searchform input#s { background: #fff !important; color: #173b31 !important; }
body.pia-tpl-cover #nav { background: #0b6b61 !important; border-top: 1px solid rgba(255,255,255,.18); }
body.pia-tpl-cover #nav ul#menu li a { color: #fff !important; }
body.pia-tpl-cover #nav ul#menu li.current_page_item > a { background: #087a61 !important; }
body.pia-tpl-cover #nav ul#menu li a:hover,
body.pia-tpl-cover #nav ul#menu li a:focus-visible,
body.pia-tpl-cover #nav ul#menu li a:active {
  background: #086552 !important;
  color: #fff !important;
  outline: 2px solid #a7f3d6 !important;
  outline-offset: -2px;
}
body.pia-tpl-cover #nav ul#menu li.current_page_item > a,
body.pia-tpl-cover #nav ul#menu li.current_page_item > a:hover,
body.pia-tpl-cover #nav ul#menu li.current_page_item > a:focus-visible {
  background: #064e43 !important;
  color: #fff !important;
  box-shadow: inset 0 -3px 0 #6ee7bd;
}
body.pia-tpl-cover #headline h3,
body.pia-tpl-cover #featured h3,
body.pia-tpl-cover #popular h3,
body.pia-tpl-cover #latest h3,
body.pia-tpl-cover #right h3 { background: linear-gradient(90deg, #0f9f78, #0b6b61) !important; color: #fff !important; border: 0 !important; }
body.pia-tpl-cover #headline h2 a,
body.pia-tpl-cover #featured h2 a,
body.pia-tpl-cover #popular h2 a,
body.pia-tpl-cover #latest h2 a { color: #124a3c !important; }
body.pia-tpl-cover #featured .spost,
body.pia-tpl-cover #popular .spost,
body.pia-tpl-cover #latest .spost { background: #f5fcf9 !important; border-color: #d4ebe1 !important; }
body.pia-tpl-cover #right,
body.pia-tpl-cover #left { background: #f5fcf9; }
body.pia-tpl-cover #headline,
body.pia-tpl-cover #featured,
body.pia-tpl-cover #popular,
body.pia-tpl-cover #latest,
body.pia-tpl-cover #the_loop,
body.pia-tpl-cover #comments_template,
body.pia-tpl-cover #content,
body.pia-tpl-cover #center,
body.pia-tpl-cover #top,
body.pia-tpl-cover #sidebar,
body.pia-tpl-cover .sitem,
body.pia-tpl-cover .postmeta,
body.pia-tpl-cover #searchform {
  background-color: #f5fcf9 !important;
  background-image: none !important;
}
body.pia-tpl-cover #headline {
  padding: 18px 18px 22px !important;
  border: 1px solid #cfe8dd !important;
  border-radius: 8px;
  box-shadow: 0 9px 24px rgba(6, 78, 67, .06);
}
body.pia-tpl-cover #headline .postmeta,
body.pia-tpl-cover #headline .the_content,
body.pia-tpl-cover #headline p,
body.pia-tpl-cover #latest p { color: #25483f !important; }
body.pia-tpl-cover #searchform { border: 1px solid #8cd8bd !important; }
body.pia-tpl-cover #footer { background: #092d25 !important; color: #d9f7eb !important; }
body.pia-tpl-cover .pia-legacy-brand strong { color: #fff !important; }
body.pia-tpl-cover .pia-legacy-brand small { color: #a9e5d2 !important; }
@media (max-width: 760px) {
  body.pia-tpl-cover #searchform { display: none !important; }
  body.pia-tpl-cover #content, body.pia-tpl-cover #center,
  body.pia-tpl-cover #right, body.pia-tpl-cover #left,
  body.pia-tpl-cover #headline, body.pia-tpl-cover #featured,
  body.pia-tpl-cover #popular, body.pia-tpl-cover #latest {
    float: none !important; width: 100% !important; margin: 0 !important; padding: 12px !important;
  }
  body.pia-tpl-cover #nav ul#menu { padding: 8px 10px !important; }
  body.pia-tpl-cover #nav ul#menu li { float: none !important; display: inline-block !important; }
  body.pia-tpl-cover #nav ul#menu li a { padding: 7px 8px !important; font-size: 10px !important; }
  body.pia-tpl-cover #headline img, body.pia-tpl-cover #latest img { float: none !important; width: 100% !important; height: auto !important; }
  body.pia-tpl-cover .spost { float: none !important; width: 100% !important; min-height: 0 !important; }
  body.pia-tpl-cover .spost img { float: left !important; width: 96px !important; height: 76px !important; object-fit: cover; }
}
