/* ==========================================================================
   Beyond Resume - layout layer
   The look of this site comes from the recovered Platform stylesheet
   (style.css). This file only supplies the page shells and the few
   components the rebuilded templates need: header row, hero features,
   post grid, sidebar, single post, footer.
   ========================================================================== */

/* ---------- header ---------- */
.cs-header { background: #fff; position: relative; z-index: 30; box-shadow: 0 1px 0 rgba(11,43,74,.08); }
.cs-header__inner-desktop { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 12px 0; }
.cs-header__col { display: flex; align-items: center; }
.cs-header__logo img { height: 54px; width: auto; display: block; }
.cs-header__nav-inner { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.cs-header__nav-inner > li { position: relative; }
.cs-header__nav-inner > li > a { font-weight: 600; font-size: 1.02rem; color: #0b2b4a; text-decoration: none; padding: 8px 0; display: inline-block; }
.cs-header__nav-inner > li > a:hover,
.cs-header__nav-inner > li.current-menu-item > a { color: #2f6fb0; }
.cs-header__search-toggle { color: #0b2b4a; font-size: 1.15rem; margin-right: 16px; text-decoration: none; }
.br-register { display: inline-flex; align-items: center; gap: 8px; background: #0b2b4a; color: #fff !important;
  padding: 11px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; line-height: 1; white-space: nowrap; }
.br-register:hover { background: #14406b; }
.br-register i { font-size: .95em; }

/* ---------- hero ---------- */
.cs-hero-page-top { margin-bottom: 10px; }

/* ---------- three feature cards ---------- */
.br-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 34px auto 8px; }
.br-feature { border: 1px solid #d9dfe7; border-radius: 6px; padding: 30px 24px 26px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px; background: #fff; }
.br-feature img { width: 105px; height: 105px; object-fit: contain; margin: 0 auto; }
.br-feature h3 { font-size: 1.12rem; margin: 6px 0 8px; color: #0b2b4a; line-height: 1.3; }
.br-feature p { margin: 0; font-size: .96rem; line-height: 1.55; color: #4a5a6a; }

/* ---------- post grid ---------- */
.br-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; align-items: start; margin: 40px auto 26px; }
.br-grid--archive { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.br-cell--big { grid-column: span 2; grid-row: span 2; }
.br-grid .br-cell { min-width: 0; }
.br-grid .cs-entry { margin: 0; }
.br-card .cs-entry__title { font-size: 1.05rem; line-height: 1.3; }
.br-card--big .cs-entry__title { font-size: 1.9rem; line-height: 1.2; }
.br-card--big .cs-entry__excerpt { color: #4a5a6a; margin: 10px 0 14px; }
.cs-meta-category a { display: inline-block; background: #eef2f7; color: #2f6fb0; border-radius: 3px;
  padding: 3px 9px; font-size: .72rem; font-weight: 600; text-decoration: none; text-transform: none; margin-bottom: 8px; }

/* ---------- banner ---------- */
.br-banner { margin: 26px auto 60px; text-align: center; }
.br-banner img { max-width: 100%; height: auto; border-radius: 4px; }

/* ---------- generic two column layout ---------- */
.br-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; margin: 44px auto 70px; }
.br-archive-title { font-size: 2rem; margin: 0 0 26px; color: #0b2b4a; }

/* ---------- single post ---------- */
.br-single { margin: 0; }
.br-single__hero img { width: 100%; height: auto; display: block; border-radius: 6px; margin-bottom: 30px; }
.br-single__body { max-width: 780px; }
.br-single__body h1.cs-entry__title { font-size: 2.4rem; line-height: 1.18; margin: 0 0 16px; color: #0b2b4a; }
.br-single .entry-content { font-size: 1.13rem; line-height: 1.7; color: #26313d; }
.br-single .entry-content p { margin: 0 0 1.15em; }
.br-single .entry-content h2 { font-size: 1.5rem; margin: 1.6em 0 .6em; color: #0b2b4a; }
.br-single .entry-content h3 { font-size: 1.22rem; margin: 1.4em 0 .5em; color: #0b2b4a; }
.br-single .entry-content a { color: #2f6fb0; }
.br-single .entry-content img { max-width: 100%; height: auto; }
.br-single .entry-content ul, .br-single .entry-content ol { margin: 0 0 1.15em 1.2em; }
.post-navigation { display: flex; justify-content: space-between; gap: 20px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid #e3e8ee; }
.post-navigation a { color: #2f6fb0; text-decoration: none; max-width: 45%; }

/* ---------- sidebar ---------- */
.br-sidebar { display: flex; flex-direction: column; gap: 34px; }
.br-widget__title { font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: #6b7b8c; margin: 0 0 12px; }
.br-widget__list { list-style: none; margin: 0; padding: 0; }
.br-widget__list li { padding: 7px 0; border-bottom: 1px solid #eef1f5; }
.br-widget__list li a { color: #0b2b4a; text-decoration: none; font-weight: 500; font-size: .98rem; line-height: 1.4; }
.br-widget__list li a:hover { color: #2f6fb0; }
.br-widget .search-form { display: flex; gap: 8px; }
.br-widget .search-field { flex: 1; padding: 11px 14px; border: 1px solid #d9dfe7; border-radius: 4px; font-size: .95rem; }
.br-widget .search-submit { background: #0b2b4a; color: #fff; border: 0; border-radius: 999px; padding: 11px 20px; font-weight: 600; cursor: pointer; }
.br-trending { display: block; text-decoration: none; }
.br-trending img { width: 100%; height: auto; border-radius: 6px; display: block; margin-bottom: 12px; }
.br-trending__title { display: block; color: #0b2b4a; font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.br-trending__meta { display: block; color: #6b7b8c; font-size: .85rem; margin-top: 6px; }

/* ---------- footer ---------- */
.br-footer { background: #0b2b4a; color: #cfd9e3; padding: 46px 0 34px; margin-top: 40px; }
.br-footer__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.br-footer__brand img { height: 46px; width: auto; }
.br-footer__list { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.br-footer__list a { color: #cfd9e3; text-decoration: none; font-size: .95rem; }
.br-footer__list a:hover { color: #fff; }
.br-footer__copy { margin: 0; font-size: .85rem; color: #93a6b8; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .br-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .br-layout { grid-template-columns: minmax(0, 1fr); }
  .br-sidebar { max-width: 420px; }
}
@media (max-width: 860px) {
  .cs-header__nav { display: none; }
  .br-features { grid-template-columns: 1fr; }
  .br-grid, .br-grid--archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .br-cell--big { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .br-grid, .br-grid--archive { grid-template-columns: 1fr; }
  .br-cell--big { grid-column: span 1; }
  .br-single__body h1.cs-entry__title { font-size: 1.8rem; }
}

/* ---------- header pill (matches the original floating bar) ---------- */
body { background: #f2f5f9; }
.cs-header { background: #f2f5f9; padding: 14px 0 0; }
.cs-header__outer { background: #fff; border-radius: 10px; box-shadow: 0 2px 14px rgba(11,43,74,.07);
  max-width: 1320px; margin: 0 auto; padding: 0 22px; }
.cs-header__inner-desktop { padding: 10px 0; }
.cs-header__logo, .cs-header__logo img { background: transparent !important; }
.cs-container { max-width: 1320px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }

/* footer logo needs a light plate because the PNG has a baked dark background */
.br-footer__brand img { background: #fff; border-radius: 8px; padding: 9px 13px; height: 44px; width: auto; }

/* blend the logo PNG baked background into the white header */
.cs-header__logo img { mix-blend-mode: multiply; }

/* ---------- fonts: the original site used Inter and Manrope ---------- */
:root, body {
  --cs-font-base-family: 'Inter', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --cs-font-post-content-family: 'Inter', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --cs-font-entry-title-family: 'Manrope', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
body, .entry-content, .br-single .entry-content { font-family: 'Inter', -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.cs-entry__title, .br-archive-title, .br-single__body h1.cs-entry__title, h1, h2, h3 { font-family: 'Manrope', -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }


/* transparent logo variants generated from the original PNGs */
.cs-header__logo img { mix-blend-mode: normal; }
.br-footer__brand img { background: transparent; padding: 0; }
.cs-hero .cs-entry__info { max-width: 1100px; margin-left: auto; margin-right: auto; }

/* static pages (About Us) */
.br-page .entry-content { max-width: 800px; }
.br-page .entry-content h2 { font-size: 1.35rem; margin: 1.6em 0 .5em; color: #0b2b4a;
  font-family: 'Manrope', -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.br-page .entry-content p { font-size: 1.06rem; line-height: 1.72; color: #26313d; margin: 0 0 1.1em; }
