/* BeritaDosen.com — restrained editorial refresh for WPterkini.
   Applies to site shell, home listing cards, and static pages.
   No article records, post contents, or database styles are touched. */
:root {
  --bd-ink: #1d2939;
  --bd-muted: #5b697a;
  --bd-primary: #1f3447;
  --bd-accent: #b73539;
  --bd-accent-dark: #94272e;
  --bd-paper: #ffffff;
  --bd-wash: #f6f8fa;
  --bd-line: #e3e8ed;
  --bd-radius: 12px;
  --bd-soft-shadow: 0 8px 24px rgba(21, 33, 45, .07);
}
body.wp-theme-wpterkini { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; color: var(--bd-ink); background: var(--bd-wash); -webkit-font-smoothing: antialiased; }
body.wp-theme-wpterkini a { text-underline-offset: .17em; }
body.wp-theme-wpterkini :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #e06a63; outline-offset: 3px; }
body.wp-theme-wpterkini .container { box-sizing: border-box; }
/* Header: preserve the WPterkini controls including search and dark-mode button. */
body.wp-theme-wpterkini .header { background: var(--bd-paper); border-bottom: 1px solid var(--bd-line); }
body.wp-theme-wpterkini .header-box { min-height: 88px; }
body.wp-theme-wpterkini .header-brand .brand-logo { max-width: 64px; max-height: 64px; width: auto; height: auto; object-fit: contain; }
body.wp-theme-wpterkini .brand-title { letter-spacing: -.022em; font-weight: 800; }
body.wp-theme-wpterkini .brand-title a { color: var(--bd-ink); }
body.wp-theme-wpterkini .brand-description { color: var(--bd-muted); }
body.wp-theme-wpterkini .header-search form { border-radius: 999px; }
body.wp-theme-wpterkini .header-search input.search-input { border-radius: 999px; }
body.wp-theme-wpterkini .navigation { background: var(--bd-primary); border-bottom: 3px solid var(--bd-accent); }
body.wp-theme-wpterkini .navigation a { transition: background-color .16s ease, color .16s ease; }
body.wp-theme-wpterkini .navigation .primary-menu a { color: #fff; font-weight: 650; }
body.wp-theme-wpterkini .navigation .primary-menu a:hover,
body.wp-theme-wpterkini .navigation .primary-menu a:focus-visible { background: rgba(255,255,255,.13); color: #fff; }
/* Home: typography and depth for listing cards, without changing excerpts or articles. */
body.home.wp-theme-wpterkini .main { background: transparent; }
body.home.wp-theme-wpterkini .widget-header { border-bottom: 1px solid var(--bd-line); margin-bottom: 16px; }
body.home.wp-theme-wpterkini .widget-header .widget-title { letter-spacing: -.025em; color: var(--bd-primary); font-weight: 800; }
body.home.wp-theme-wpterkini .widget-headline .headline-big,
body.home.wp-theme-wpterkini .headline-big,
body.home.wp-theme-wpterkini .headline-small .headline-item { border-radius: var(--bd-radius); overflow: hidden; }
body.home.wp-theme-wpterkini .headline-big img,
body.home.wp-theme-wpterkini .headline-small img,
body.home.wp-theme-wpterkini .indeks-image img { object-fit: cover; }
body.home.wp-theme-wpterkini .media-title { line-height: 1.38; }
body.home.wp-theme-wpterkini .widget.indeks .indeks-item { border-bottom: 1px solid var(--bd-line); padding-block: 12px; }
body.home.wp-theme-wpterkini .widget.indeks .indeks-item:last-child { border-bottom: 0; }
/* Static pages: reading surface; deliberately not applied to body.single posts. */
body.page.wp-theme-wpterkini .main { min-height: 52vh; }
body.page.wp-theme-wpterkini .article { border: 1px solid var(--bd-line); border-radius: var(--bd-radius); background: var(--bd-paper); box-shadow: var(--bd-soft-shadow); padding: clamp(18px, 3vw, 38px); }
body.page.wp-theme-wpterkini .article-header { border-bottom: 1px solid var(--bd-line); padding-bottom: 12px; margin-bottom: 20px; }
body.page.wp-theme-wpterkini h1.post-title { font-weight: 850; color: var(--bd-primary); letter-spacing: -.035em; line-height: 1.17; }
body.page.wp-theme-wpterkini .post-article { max-width: 76ch; color: var(--bd-ink); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.83; }
body.page.wp-theme-wpterkini .post-article p { margin-bottom: 1.2em; }
body.page.wp-theme-wpterkini .post-article h2 { color: var(--bd-primary); line-height: 1.28; margin-top: 1.6em; }
body.page.wp-theme-wpterkini .post-article a { color: var(--bd-accent-dark); text-decoration: underline; }
/* Contact card uses only the publicly listed editorial address. */
.bd-contact-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; background: #f0f5f7; border: 1px solid #d9e5eb; border-left: 4px solid var(--bd-accent); border-radius: 10px; padding: clamp(16px, 2vw, 26px); margin: 0 0 24px; }
.bd-contact-card__content { flex: 1 1 240px; }
.bd-contact-card__content strong { color: var(--bd-primary); font-size: 1.15em; }
.bd-contact-card__content p { margin: 6px 0 0 !important; color: var(--bd-muted); }
body.page.wp-theme-wpterkini .post-article a.bd-contact-card__button { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; background: var(--bd-accent); color: #fff; border-radius: 8px; padding: 10px 16px; font-weight: 750; text-decoration: none; }
body.page.wp-theme-wpterkini .post-article a.bd-contact-card__button:hover { background: var(--bd-accent-dark); }
/* Footer; keep existing legal and contact links but make them navigable and readable. */
body.wp-theme-wpterkini footer.footer { background: var(--bd-primary); color: #d8e2e9; border-top: 3px solid var(--bd-accent); }
body.wp-theme-wpterkini footer.footer .footer-top { padding-block: 18px; }
body.wp-theme-wpterkini footer.footer a { color: #eaf1f5; text-decoration: none; }
body.wp-theme-wpterkini footer.footer a:hover { color: #fff; text-decoration: underline; }
body.wp-theme-wpterkini footer.footer #menu-menu-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 22px; }
body.wp-theme-wpterkini footer.footer #menu-menu-footer > li { float: none; margin: 0; }
body.wp-theme-wpterkini footer.footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.14); }
@media (max-width: 767px) {
  body.wp-theme-wpterkini .header-box { min-height: 64px; }
  body.wp-theme-wpterkini .header-brand .brand-logo { max-width: 46px; max-height: 46px; }
  body.wp-theme-wpterkini .brand-description { font-size: 11px; }
  body.page.wp-theme-wpterkini .article { padding: 18px 16px; border-radius: 8px; }
  body.wp-theme-wpterkini footer.footer #menu-menu-footer { gap: 12px 18px; justify-content: flex-start; }
  .bd-contact-card__button { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  body.wp-theme-wpterkini .navigation a { transition: none; }
}
