/*
Theme Name: P2Plend
Theme URI: https://p2pinvesting.de/
Description: Child theme of Twenty Twenty for p2pinvesting.de. Bundles the site palette, header/menu styling and an excerpt-based archive/category layout.
Author: p2pinvesting.de
Template: twentytwenty
Version: 1.0.0
Text Domain: p2plend
*/

@import url('https://api.fontshare.com/v2/css?f[]=sentient@400,500,700&display=swap');
/* ===== p2pinvesting.de — global palette (navy/teal/jade/milk/amber) ===== */
:root{ --navy:#102A43; --teal:#0F766E; --jade:#38A478; --milk:#F6F2E9; --amber:#E97945; --muted:#51616e; --line:rgba(16,42,67,.14); }

/* base */
body{ background:#F6F2E9; color:#102A43; }
body, button, input, select, textarea{ font-family:ui-sans-serif,system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; }
#site-content, .singular .entry-header, .archive .entry-header{ background:transparent; }
a{ color:#0F766E; }
a:hover{ color:#E97945; }
::selection{ background:#E97945; color:#F6F2E9; }
hr,.dividing-line,.entry-content hr{ background:var(--line); }

/* headings -> Sentient / navy */
h1,h2,h3,h4,h5,h6,.entry-title,.archive-title,.section-inner .archive-title,
.heading-size-1,.heading-size-2,.heading-size-3,.heading-size-4,.heading-size-5,.heading-size-6,
.widget-title,.comments-title,.comment-reply-title,.related-posts-title{
  font-family:'Sentient',Georgia,serif!important; color:#102A43; }

/* header + nav — matched to the homepage treatment so every page looks identical */
#site-header{ background:rgba(246,242,233,.82)!important; -webkit-backdrop-filter:blur(9px); backdrop-filter:blur(9px);
  border-bottom:1px solid var(--line); box-shadow:0 1px 0 rgba(16,42,67,.04); }
.header-inner{ padding-top:22px!important; padding-bottom:22px!important; }
.site-title a,.site-title{ font-family:'Sentient',Georgia,serif!important; font-weight:700; letter-spacing:-.01em;
  color:#102A43!important; font-size:23px!important; text-decoration:none; }
.site-title a::after{ content:"·anlegen"; color:#E97945; font-weight:400; }
.site-description{ color:#51616e; }
.primary-menu > li > a, .primary-menu > li > .icon,
.header-toggles .toggle, .toggle, .toggle .toggle-text,
.header-navigation-wrapper .header-footer-navigation a{ color:#102A43!important; }
.primary-menu > li > a{ font-size:15px!important; letter-spacing:.01em!important; }
.primary-menu > li > a:hover{ color:#0F766E!important; }
/* dropdown submenu: theme ships a black bg -> force milk card + navy links */
.primary-menu ul.sub-menu, .primary-menu .sub-menu{
  background:#FDFBF7!important; border:1px solid var(--line)!important;
  box-shadow:0 14px 34px rgba(16,42,67,.16)!important; }
.primary-menu .sub-menu li{ border-color:var(--line)!important; }
.primary-menu .sub-menu a, .primary-menu ul.sub-menu li a{ color:#102A43!important; }
.primary-menu .sub-menu a:hover, .primary-menu .sub-menu li:hover > a{ color:#0F766E!important; }
.header-footer-navigation, .menu-modal{ background:#F6F2E9; }
.modal-menu a{ color:#102A43; }

/* accent overrides (Twenty Twenty's pink -> our palette) */
.color-accent,.color-accent-hover:hover,a.color-accent,.has-accent-color,
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color){ color:#0F766E; }
.bg-accent,.bg-accent-hover:hover,button.bg-accent,.has-accent-background-color{ background:#0F766E; color:#F6F2E9; }
.entry-content a{ color:#0F766E; text-decoration-color:rgba(15,118,110,.4); }
.entry-content a:hover{ color:#E97945; }
.has-drop-cap:not(:focus):first-letter{ color:#102A43; }
blockquote{ border-color:#38A478; }

/* buttons */
.button,.faux-button,.wp-block-button__link,input[type=submit],input[type=button],
.entry-content .button,.comment-form input[type=submit]{
  background:#E97945!important; color:#F6F2E9!important; border-color:#E97945!important; border-radius:2px; }
.button:hover,.wp-block-button__link:hover,input[type=submit]:hover{ background:#102A43!important; border-color:#102A43!important; color:#F6F2E9!important; }

/* archive / category pages */
.archive-header .archive-title,.archive-title{ color:#102A43; }
.archive-subtitle,.taxonomy-description,.taxonomy-description p{ color:#51616e; }
.post .entry-title a{ color:#102A43; }
.post .entry-title a:hover{ color:#0F766E; }
.entry-meta,.post-meta,.entry-categories,.entry-categories-inner,.comment-meta,.post-taxonomies{ color:#51616e; }
.entry-meta a,.entry-categories a,.post-taxonomies a{ color:#0F766E; }
.sticky-post{ background:#38A478; color:#F6F2E9; }

/* pagination */
.pagination a,.pagination .current,.pagination-next a,.pagination-prev a{ color:#0F766E; }
.pagination .current{ color:#102A43; font-weight:600; }

/* comments / forms */
.comment-body{ color:#102A43; }
input[type=text],input[type=email],input[type=url],input[type=search],textarea{
  background:#FDFBF7; border-color:var(--line); color:#102A43; }

/* footer -> navy anchor */
#site-footer, .footer-nav-widgets-wrapper{ background:#102A43!important; }
.footer-nav-widgets-wrapper{ border-top:1px solid #0F766E; }
#site-footer, #site-footer a, .footer-widgets, .footer-widgets p,
.footer-widgets a, .footer-menu a, .footer-nav-widgets-wrapper a{ color:rgba(246,242,233,.75)!important; }
.footer-menu a:hover,#site-footer a:hover{ color:#E97945!important; }
.footer-widgets .widget-title{ color:#F6F2E9!important; font-family:'Sentient',Georgia,serif; }
.footer-copyright,.powered-by-wordpress,.powered-by-wordpress a{ color:rgba(246,242,233,.5)!important; }
.to-the-top{ color:rgba(246,242,233,.6)!important; }
