/* CrestHaven skin — hand-written additions on top of the mirrored theme stylesheet.
   Target class vocabulary (site-header / toppest-bar / navbar / site-footer /
   info-wrap / service-wrap / about-wrap) with the site palette:
   gold #f6ba17 / purple #8d4198 / deep #3A0043 / teal #00AFAC / dark #2d2d2d */

.cresthaven-hero .hero-inner,
.page-hero { padding: 56px 0 40px; }
.hero-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #8d4198; background: #fdf3d4; border-radius: 30px;
  padding: 6px 16px; margin-bottom: 14px;
}
.hero-h1 { font-size: 42px; font-weight: 800; color: #2d2d2d; margin: 0 0 14px; line-height: 1.15; }
.hero-sub { font-size: 17px; color: #555; max-width: 720px; margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cresthaven-btn {
  background: #f6ba17; border-color: #f6ba17; color: #2d2d2d; font-weight: 700;
  padding: 12px 28px; border-radius: 5px;
}
.cresthaven-btn:hover { background: #eaaa05; border-color: #eaaa05; color: #2d2d2d; }
.cresthaven-btn-ghost {
  background: transparent; border: 2px solid #8d4198; color: #8d4198; font-weight: 700;
  padding: 10px 26px; border-radius: 5px;
}
.cresthaven-btn-ghost:hover { background: #8d4198; color: #fff; }

.main-slider.cresthaven-hero {
  background: linear-gradient(135deg, #fdf7e6 0%, #ffffff 60%);
  border-bottom: 3px solid #f6ba17;
}

.info-wrap { padding: 46px 0; background: #f4f8fa; }
.info-box { text-align: center; padding: 18px; }
.info-box i { font-size: 34px; color: #f6ba17; margin-bottom: 12px; }
.info-box h3 { font-size: 19px; font-weight: 700; color: #2d2d2d; margin: 0 0 8px; }
.info-box p { color: #666; font-size: 15px; margin: 0; }

.service-wrap { padding: 50px 0; }
.section-heading { text-align: center; margin-bottom: 28px; }
.section-heading h2,
.section-title { font-size: 28px; font-weight: 800; color: #2d2d2d; margin: 0 0 10px; }
.section-heading p { color: #777; margin: 0; }

.about-wrap { padding: 44px 0; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.cat-pill {
  display: inline-block; padding: 7px 16px; border-radius: 30px; background: #fff;
  border: 1px solid #e6e6e6; color: #8d4198; font-weight: 600; font-size: 14px;
}
.cat-pill:hover { background: #8d4198; color: #fff; border-color: #8d4198; }
.home-intro {
  background: #fff; border-left: 4px solid #f6ba17; padding: 18px 22px;
  margin-bottom: 28px; color: #555; border-radius: 0 6px 6px 0;
}
.home-intro p { margin: 0 0 12px; }
.home-intro p:last-child { margin-bottom: 0; }

.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card.card {
  border: 1px solid #eee; border-radius: 8px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.post-card.card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.08); transform: translateY(-2px); }
.card-thumb {
  display: flex; align-items: center; justify-content: center; height: 132px;
  background: linear-gradient(135deg, #8d4198 0%, #3A0043 100%); text-decoration: none;
}
.card-thumb-letter { font-size: 52px; font-weight: 800; color: #f6ba17; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.card-cat {
  align-self: flex-start; background: #fdf3d4; color: #8d4198; border: 0;
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 30px; margin-bottom: 10px;
}
.card-cat:hover { background: #8d4198; color: #fff; }
.card-title { font-size: 18px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; }
.card-title a { color: #2d2d2d; }
.card-title a:hover { color: #8d4198; }
.post-meta { font-size: 13px; color: #999; margin: 0 0 10px; }
.meta-sep { margin: 0 6px; color: #ccc; }
.card-excerpt { font-size: 14.5px; color: #666; flex: 1; margin: 0 0 14px; }
.card-more { align-self: flex-start; background: #f6ba17; border-color: #f6ba17; color: #2d2d2d; font-weight: 700; }
.card-more:hover { background: #eaaa05; border-color: #eaaa05; color: #2d2d2d; }
.cresthaven-empty { padding: 26px; background: #fafafa; border-radius: 6px; color: #888; }

.sidebar .widget { background: #fff; border: 1px solid #eee; border-radius: 8px; padding: 18px 20px; margin-bottom: 22px; }
.sidebar .widgettitle { font-size: 17px; font-weight: 700; color: #2d2d2d; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid #f6ba17; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { padding: 7px 0; border-bottom: 1px dashed #eee; font-size: 14.5px; }
.side-list li:last-child { border-bottom: 0; }
.side-list a { color: #444; }
.side-list a:hover { color: #8d4198; }
.textwidget p { font-size: 14px; color: #666; }

.page-hero { background: #3A0043; color: #fff; }
.page-hero .page-title { color: #fff; font-size: 32px; font-weight: 800; margin: 0 0 10px; }
.page-hero .arch-desc { color: rgba(255,255,255,.82); font-size: 15px; }
.page-hero .arch-meta { color: #f6ba17; font-size: 13px; font-weight: 700; margin-top: 8px; }
.breadcrumb { font-size: 13px; margin-bottom: 14px; }
.breadcrumb a { color: #f6ba17; }
.crumb-sep { margin: 0 7px; color: rgba(255,255,255,.5); }
.crumb-cur { color: rgba(255,255,255,.75); }

.cresthaven-single .breadcrumb a { color: #8d4198; }
.cresthaven-single .crumb-sep { color: #ccc; }
.cresthaven-single .crumb-cur { color: #888; }
.entry-title { font-size: 32px; font-weight: 800; color: #2d2d2d; line-height: 1.2; margin: 0 0 12px; }
.entry-content { font-size: 16px; line-height: 1.75; color: #444; }
.entry-content h2 { font-size: 24px; font-weight: 700; margin: 28px 0 12px; color: #2d2d2d; }
.entry-content h3 { font-size: 20px; font-weight: 700; margin: 22px 0 10px; color: #2d2d2d; }
.entry-content p { margin: 0 0 16px; }
.entry-content .lead { font-size: 18px; color: #555; font-weight: 500; background: #fdf7e6; padding: 14px 18px; border-radius: 6px; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px;
  border-radius: 50%; background: #8d4198; color: #fff; font-size: 12px; font-weight: 700; margin-right: 6px;
}
.entry-footer { margin-top: 26px; padding-top: 16px; border-top: 1px solid #eee; display: flex; align-items: center; gap: 12px; }
.age-badge { display: inline-block; background: #2d2d2d; color: #fff; font-weight: 700; font-size: 13px; padding: 3px 10px; border-radius: 4px; }
.entry-footer .footer-note { font-size: 13px; color: #999; }
.related { margin-top: 36px; }

.comments-area { margin-top: 36px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment { border: 1px solid #eee; border-radius: 8px; padding: 16px 18px; margin-bottom: 14px; background: #fff; }
.comment-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.comment-author { font-weight: 700; color: #2d2d2d; font-size: 14.5px; }
.comment-date { font-size: 12.5px; color: #aaa; }
.comment-text { font-size: 14.5px; color: #555; }
.no-comments { color: #999; font-size: 14.5px; }

.pagination-wrap { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.page-link { padding: 8px 18px; border: 1px solid #e6e6e6; border-radius: 5px; color: #8d4198; font-weight: 600; background: #fff; }
.page-link:hover { background: #8d4198; color: #fff; border-color: #8d4198; }
.page-info { font-size: 14px; color: #888; }

.site-header .toppest-bar { background: #00AFAC; padding: 7px 0; }
.toppest-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.lang-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-link { font-size: 12.5px; font-weight: 700; color: #fff; opacity: .8; padding: 2px 6px; border-radius: 3px; }
.lang-link:hover { opacity: 1; }
.lang-link.active { background: rgba(255,255,255,.22); opacity: 1; }
.toppest-cta { font-size: 12.5px; font-weight: 700; color: #2d2d2d; background: #f6ba17; padding: 4px 14px; border-radius: 30px; }
.navbar-brand { font-size: 24px; font-weight: 800; color: #2d2d2d !important; letter-spacing: -.01em; }
.main-nav .nav-link { font-weight: 600; color: #2d2d2d; text-transform: capitalize; }
.main-nav .nav-link:hover { color: #8d4198; }
.main-nav .nav-item.active .nav-link { color: #8d4198; }

.site-footer { background: #3A0043; color: rgba(255,255,255,.78); padding: 46px 0 20px; }
.footer-widgets { margin-bottom: 24px; }
.footer-col h4 { color: #fff; font-size: 17px; font-weight: 700; margin: 0 0 14px; }
.footer-col h4 span { border-bottom: 2px solid #f6ba17; padding-bottom: 5px; }
.footer-about { font-size: 14.5px; line-height: 1.7; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { padding: 5px 0; font-size: 14.5px; }
.footer-nav a { color: rgba(255,255,255,.78); }
.footer-nav a:hover { color: #f6ba17; }
.footer-lang { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.site-footer .lang-link { background: rgba(255,255,255,.1); }
.site-footer .lang-link.active { background: #f6ba17; color: #2d2d2d; }
.copyright { border-top: 1px solid rgba(255,255,255,.14); padding-top: 16px; text-align: center; }
.copyright p { margin: 0 0 6px; font-size: 13.5px; }
.copyright .footer-note { color: rgba(255,255,255,.55); font-size: 12.5px; }

@media (max-width: 767px) {
  .hero-h1 { font-size: 30px; }
  .post-grid { grid-template-columns: 1fr; }
  .entry-title { font-size: 24px; }
  .page-hero .page-title { font-size: 24px; }
}
