/*
Theme Name: OneBuckJobs Landing
Theme URI: https://onebuckjobs.com
Author: OneBuckJobs
Description: Fast, lightweight landing page theme for OneBuckJobs.com
Version: 1.4
License: GNU General Public License v2 or later
Text Domain: onebuckjobs-landing
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=Open+Sans:ital,wght@0,400;0,700;1,700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Open Sans', Helvetica, sans-serif;
  background: #fff;
  color: #222;
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

/* ===== WRAPPER ===== */
.obg-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 0 20px;
}

/* ===== HEADER / LOGO ===== */
.obg-header {
  text-align: center;
  padding: 30px 20px 10px;
}
.obg-header img {
  max-width: 280px;
  margin: 0 auto;
}

/* ===== MAIN ===== */
.obg-main {
  text-align: center;
  padding: 20px 10px 36px;
}

/* Barlow Condensed 800 — visually matches how their headline actually renders in browser */
.obg-main h1 {
  font-family: 'Barlow Condensed', Helvetica, sans-serif;
  font-weight: 800;
  font-size: 70px;
  color: rgb(71, 71, 71);
  line-height: 1.1;
  margin-bottom: 20px;
  text-align: center;
}

.obg-bonus {
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: #2d2d2d;
  margin-bottom: 14px;
}

.obg-today {
  color: rgb(255, 21, 0);
  font-weight: 700;
}

/* Yellow bar — exact color from source: rgb(255, 227, 0) */
.obg-confirm-bar {
  background: rgb(255, 227, 0);
  color: #111;
  font-size: 1.1rem;
  font-weight: 400;
  padding: 12px 20px;
  margin: 0 auto 30px;
  display: block;
  line-height: 1.5;
}

/* ===== CTA BUTTON — "elButtonRocking" from source ===== */
@keyframes obg-rocking {
  0%   { transform: rotate(0deg) scale(1); }
  10%  { transform: rotate(-2deg) scale(1.05); }
  20%  { transform: rotate(2deg) scale(1.05); }
  30%  { transform: rotate(-1deg) scale(1.05); }
  40%  { transform: rotate(1deg) scale(1.05); }
  50%  { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(0deg) scale(1); }
}

.obg-cta-btn {
  display: inline-block;
  background: rgb(1, 116, 199);
  color: #fff !important;
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  padding: 16px 50px;
  border-radius: 6px;
  text-decoration: none !important;
  letter-spacing: 0.3px;
  cursor: pointer;
  animation: obg-rocking 2s ease-in-out infinite;
  width: 100%;
  max-width: 520px;
  text-align: center;
}

.obg-cta-btn:hover {
  background: #0560a0;
  animation: none;
  transform: scale(1.04);
  text-decoration: none !important;
}

/* ===== REVIEWS — 3-column grid matching source ===== */
.obg-reviews {
  padding: 20px 0 40px;
  text-align: center;
}

/* Bold italic Open Sans matching source h1 with <b><i> tags */
.obg-reviews h2 {
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  font-style: italic;
  color: #222;
  margin-bottom: 20px;
}

.obg-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
  padding: 10px 0;
}

.obg-review-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 10px;
}

.obg-avatar {
  width: 200px;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.obg-review-body {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
  text-align: center;
}

.obg-review-name {
  display: block;
  font-weight: 400;
  margin-top: 4px;
}

.obg-stars-img {
  max-width: 120px;
  margin: 0 auto;
}

.obg-cta-wrap {
  text-align: center;
  margin-top: 36px;
}

/* ===== DISCLAIMER ===== */
.obg-disclaimer {
  font-size: 0.75rem;
  color: #555;
  text-align: center;
  padding: 30px 10px 6px;
  line-height: 1.6;
  margin-top: 80px;
}

/* ===== FOOTER LINKS ===== */
.obg-footer-links {
  text-align: center;
  padding: 8px 0 32px;
  font-size: 0.9rem;
}
.obg-footer-links a {
  color: #555;
  text-decoration: underline;
}
.obg-footer-links a:hover { color: rgb(1, 116, 199); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .obg-main h1 { font-size: 38px; }
  .obg-review-grid { grid-template-columns: 1fr; }
  .obg-avatar { width: 140px; }
  .obg-cta-btn { font-size: 1rem; padding: 14px 20px; }
}

/* ===== SINGLE POST STYLES ===== */
.obg-post-wrap {
  max-width: 800px;
}

.obg-post-main {
  padding: 20px 10px 60px;
}

.obg-post-title {
  font-family: 'Barlow Condensed', Helvetica, sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: rgb(71, 71, 71);
  line-height: 1.2;
  margin-bottom: 12px;
  text-align: left;
}

.obg-post-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

.obg-post-thumb {
  margin-bottom: 28px;
}

.obg-post-thumb img {
  width: 100%;
  border-radius: 6px;
}

.obg-post-content {
  font-family: 'Open Sans', Helvetica, sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.obg-post-content h2 {
  font-family: 'Barlow Condensed', Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: rgb(71, 71, 71);
  margin: 36px 0 14px;
}

.obg-post-content h3 {
  font-family: 'Barlow Condensed', Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: rgb(71, 71, 71);
  margin: 28px 0 10px;
}

.obg-post-content p {
  margin-bottom: 18px;
}

.obg-post-content ul,
.obg-post-content ol {
  margin: 0 0 18px 24px;
}

.obg-post-content li {
  margin-bottom: 8px;
}

.obg-post-content a {
  color: rgb(1, 116, 199);
  text-decoration: underline;
}

.obg-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 16px 0;
}

.obg-post-content blockquote {
  border-left: 4px solid rgb(1, 116, 199);
  margin: 24px 0;
  padding: 12px 20px;
  background: #f5f8fc;
  font-style: italic;
  color: #555;
}

.obg-post-nav {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.obg-post-nav a {
  color: rgb(1, 116, 199);
  font-weight: 700;
  text-decoration: none;
}

.obg-post-nav a:hover {
  text-decoration: underline;
}

.obg-post-footer {
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  color: #aaa;
  border-top: 1px solid #eee;
}

/* ===== POST LIST / CARDS (archive, search) ===== */
.obg-post-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 20px;
}

.obg-post-card {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #eee;
  padding-bottom: 32px;
}

.obg-card-thumb {
  flex-shrink: 0;
  width: 200px;
}

.obg-card-thumb img {
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.obg-card-body {
  flex: 1;
}

.obg-card-title {
  font-family: 'Barlow Condensed', Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 6px;
  line-height: 1.2;
}

.obg-card-title a {
  color: rgb(71, 71, 71);
  text-decoration: none;
}

.obg-card-title a:hover { color: rgb(1, 116, 199); }

.obg-card-meta {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 10px;
}

.obg-card-excerpt {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 14px;
  line-height: 1.6;
}

.obg-card-btn {
  display: inline-block;
  background: rgb(1, 116, 199);
  color: #fff !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none !important;
}

.obg-card-btn:hover { background: #0560a0; }

/* ===== ARCHIVE TITLE ===== */
.obg-archive-title {
  font-size: 1.8rem;
  border-bottom: 3px solid rgb(1, 116, 199);
  padding-bottom: 12px;
  margin-bottom: 24px;
}

/* ===== PAGINATION ===== */
.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
  justify-content: center;
}

.nav-links a,
.nav-links span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  color: rgb(1, 116, 199);
  text-decoration: none;
}

.nav-links .current {
  background: rgb(1, 116, 199);
  color: #fff;
  border-color: rgb(1, 116, 199);
}

.nav-links a:hover {
  background: #f0f6fc;
}

/* ===== POST NAV (prev/next post) ===== */
.obg-post-nav-links {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  gap: 16px;
}

.obg-post-nav-links a {
  color: rgb(1, 116, 199);
  text-decoration: none;
  font-weight: 700;
}

.obg-post-nav-links a:hover { text-decoration: underline; }

/* ===== POST TAGS ===== */
.obg-post-tags {
  margin-top: 24px;
  font-size: 0.85rem;
  color: #888;
}

.obg-post-tags a {
  color: rgb(1, 116, 199);
  text-decoration: none;
  margin-right: 4px;
}

/* ===== COMMENTS ===== */
.obg-comments {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #eee;
}

.obg-comments-title {
  font-family: 'Barlow Condensed', Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: rgb(71, 71, 71);
  margin-bottom: 20px;
}

.obg-comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.obg-comment-list .comment {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.obg-comment-list .comment-author { font-weight: 700; }
.obg-comment-list .comment-meta { font-size: 0.8rem; color: #999; margin-bottom: 8px; }
.obg-comment-list .comment-content { font-size: 0.95rem; line-height: 1.6; }

/* Comment form */
.comment-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: 'Open Sans', Helvetica, sans-serif;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.comment-form textarea { height: 140px; resize: vertical; }

.comment-form input[type="submit"] {
  background: rgb(1, 116, 199);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.comment-form input[type="submit"]:hover { background: #0560a0; }

/* ===== SEARCH FORM ===== */
.obg-search-form-wrap {
  margin: 20px 0 32px;
}

.search-form {
  display: flex;
  gap: 8px;
}

.search-form .search-field {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Open Sans', Helvetica, sans-serif;
}

.search-form .search-submit {
  background: rgb(1, 116, 199);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.search-form .search-submit:hover { background: #0560a0; }

/* ===== 404 ===== */
.obg-404 { text-align: center; padding: 60px 20px; }
.obg-404 p { font-size: 1.1rem; color: #666; margin-bottom: 24px; }

/* ===== NAV MENU ===== */
.obg-nav {
  background: #1a2340;
  padding: 0 20px;
}

.obg-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.obg-nav ul li a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s;
}

.obg-nav ul li a:hover { background: rgba(255,255,255,0.1); }

/* ===== WIDGET AREAS ===== */
.widget {
  margin-bottom: 28px;
}

.widget-title {
  font-family: 'Barlow Condensed', Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: rgb(71, 71, 71);
  border-bottom: 2px solid rgb(1, 116, 199);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

/* ===== RESPONSIVE ADDITIONS ===== */
@media (max-width: 640px) {
  .obg-post-card { flex-direction: column; }
  .obg-card-thumb { width: 100%; }
  .obg-card-thumb img { width: 100%; height: 200px; }
  .obg-post-nav-links { flex-direction: column; }
  .search-form { flex-direction: column; }
}
