/* ============================================
   RARE BREED SCOUTING — Ghost Theme v1.1
   ============================================ */

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

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark-mid: #1a1a1a;
  --border: #2a2a2a;
  --orange: #e8440a;
  --orange-dark: #b83508;
  --white: #f5f0e8;
  --grey: #888888;
  --text: #d4cfc7;
  --font-head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { font-size: 16px; }
body { background: var(--black); color: var(--text); font-family: var(--font-body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================
   NAVIGATION
   ============================================ */

.gh-head {
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.gh-head-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.gh-head-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
}

.gh-head-logo img {
  height: 36px;
  width: auto;
}

.gh-logo-text { display: flex; flex-direction: column; }
.gh-logo-name { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); line-height: 1.1; }
.gh-logo-tagline { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }

.gh-head-nav {
  display: flex;
  align-items: center;
  list-style: none;
  height: 60px;
  gap: 0;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 13px;
  height: 100%;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--orange);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.nav-link:hover, .nav-item:hover > .nav-link {
  color: var(--white);
  border-bottom-color: var(--orange);
}

.nav-arrow { width: 9px; height: 9px; opacity: 0.6; transition: transform 0.2s; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark-mid);
  border: 1px solid var(--border);
  border-top: 2px solid var(--orange);
  border-radius: 0 0 6px 6px;
  padding: 8px 0;
  z-index: 2000;
  box-shadow: 0 16px 40px rgba(0,0,0,0.7);
  flex-direction: column;
}

.nav-item:hover .nav-dropdown { display: flex; }
.nav-dropdown-cols { display: flex; }
.nav-col { min-width: 165px; padding: 4px 0; }
.nav-col + .nav-col { border-left: 1px solid var(--border); }

.nav-col-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 6px 16px 4px;
}

.nav-dropdown a {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 22px;
  color: var(--orange);
  opacity: 0.85;
  transition: opacity 0.12s, background 0.12s;
  white-space: nowrap;
}

.nav-dropdown a:hover { opacity: 1; color: var(--white); background: rgba(232,68,10,0.1); }
.nav-dropdown-simple a { padding-left: 16px; }
.nav-divider { height: 1px; background: var(--border); margin: 6px 0; }

.nav-cta {
  margin-left: 10px;
  padding: 7px 16px;
  height: auto;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.15s;
  border-bottom: none;
  margin-bottom: 0;
}
.nav-cta:hover { background: var(--orange-dark); color: #fff; }

.gh-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.gh-burger span { display: block; width: 22px; height: 2px; background: var(--white); transition: all 0.3s; }

.gh-head-mobile { display: none; background: var(--dark-mid); border-top: 1px solid var(--border); padding: 1rem 2rem 1.5rem; }
.gh-head-mobile.open { display: block; }

.mobile-nav-section { margin-bottom: 1rem; }
.mobile-nav-label { display: block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.4rem; }
.mobile-nav-list { list-style: none; }
.mobile-nav-list li a { display: block; padding: 5px 0; font-size: 0.9rem; color: var(--text); border-bottom: 1px solid var(--border); }

/* ============================================
   FEED / HOME
   ============================================ */

.gh-feed { max-width: 1300px; margin: 0 auto; padding: 3rem 2rem; }
.gh-feed-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grey); margin-bottom: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 1rem; }
.gh-feed-desc { color: var(--grey); margin-bottom: 2rem; }

.gh-post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gh-post-card { background: var(--dark-mid); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.gh-post-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.gh-post-card.featured { grid-column: span 2; }

.card-link { display: block; text-decoration: none; color: inherit; }
.card-img-wrap { height: 200px; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gh-post-card:hover .card-img-wrap img { transform: scale(1.03); }
.card-body { padding: 1.25rem; }
.card-tag { display: inline-block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.5rem; }
.card-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.03em; color: var(--white); line-height: 1.3; margin-bottom: 0.5rem; }
.card-date { font-size: 0.72rem; color: var(--grey); }

.pagination { display: flex; justify-content: center; gap: 1rem; margin-top: 3rem; }
.pagination a { padding: 8px 20px; background: var(--dark-mid); border: 1px solid var(--border); border-radius: 3px; font-size: 0.85rem; color: var(--orange); transition: border-color 0.15s; }
.pagination a:hover { border-color: var(--orange); color: var(--white); }

/* ============================================
   ARTICLE
   ============================================ */

.gh-article { max-width: 760px; margin: 0 auto; padding: 3rem 2rem 5rem; }
.gh-article-header { margin-bottom: 2rem; }
.article-tag-link { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange); }
.gh-article-title { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; letter-spacing: 0.02em; color: var(--white); line-height: 1.1; margin: 0.5rem 0; }
.gh-article-excerpt { font-size: 1.05rem; color: var(--grey); margin-top: 0.75rem; line-height: 1.6; }
.gh-article-meta { font-size: 0.78rem; color: var(--grey); margin-top: 1rem; }
.gh-article-image { width: 100%; border-radius: 4px; margin-bottom: 2.5rem; }

.gh-content { font-size: 1rem; line-height: 1.8; color: var(--text); }
.gh-content h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--white); margin: 2rem 0 0.75rem; letter-spacing: 0.04em; }
.gh-content h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--orange); margin: 1.5rem 0 0.5rem; letter-spacing: 0.06em; text-transform: uppercase; }
.gh-content p { margin-bottom: 1.25rem; }
.gh-content ul, .gh-content ol { margin: 0 0 1.25rem 1.5rem; }
.gh-content li { margin-bottom: 0.4rem; }
.gh-content strong { color: var(--white); font-weight: 600; }
.gh-content a { color: var(--orange); text-decoration: underline; }
.gh-content blockquote { border-left: 3px solid var(--orange); margin: 1.5rem 0; padding: 0.75rem 1.25rem; background: var(--dark-mid); color: var(--white); font-style: italic; }
.gh-content img { border-radius: 4px; margin: 1.5rem 0; }
.gh-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.gh-content th { background: var(--dark-mid); color: var(--orange); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 14px; text-align: left; border-bottom: 2px solid var(--orange); }
.gh-content td { padding: 9px 14px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.gh-content tr:hover td { background: var(--dark-mid); }

/* KG Cards */
.kg-width-wide { width: calc(100% + 8rem); margin-left: -4rem; }
.kg-width-full { width: 100vw; margin-left: calc(50% - 50vw); }
.kg-image-card img { border-radius: 4px; margin: 1.5rem 0; }
.kg-gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin: 1.5rem 0; }
.kg-gallery-image img { width: 100%; height: 180px; object-fit: cover; border-radius: 2px; }
.kg-embed-card { margin: 1.5rem 0; }
.kg-embed-card iframe { width: 100%; border-radius: 4px; }
.kg-bookmark-card { margin: 1.5rem 0; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.kg-bookmark-container { display: flex; text-decoration: none; color: inherit; }
.kg-bookmark-content { padding: 1rem; flex: 1; }
.kg-bookmark-title { font-weight: 600; color: var(--white); margin-bottom: 0.25rem; }
.kg-bookmark-description { font-size: 0.85rem; color: var(--grey); }
.kg-bookmark-thumbnail { width: 160px; flex-shrink: 0; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.kg-callout-card { display: flex; gap: 1rem; padding: 1rem 1.25rem; background: var(--dark-mid); border-left: 3px solid var(--orange); border-radius: 0 4px 4px 0; margin: 1.5rem 0; }
.kg-toggle-card { border: 1px solid var(--border); border-radius: 4px; margin: 1.5rem 0; }
.kg-toggle-heading { padding: 1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--orange); }
.kg-toggle-content { padding: 0 1rem 1rem; }
.kg-divider-card { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.kg-button-card { text-align: center; margin: 1.5rem 0; }
.kg-button-card a { display: inline-block; padding: 0.75rem 2rem; background: var(--orange); color: #fff; font-weight: 600; border-radius: 3px; text-decoration: none; }

/* ============================================
   FOOTER
   ============================================ */

.gh-foot { background: var(--dark); border-top: 1px solid var(--border); margin-top: 4rem; }
.gh-foot-inner { max-width: 1300px; margin: 0 auto; padding: 2.5rem 2rem 1.5rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.gh-foot-logo { font-family: var(--font-head); font-size: 1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--white); margin-bottom: 0.25rem; }
.gh-foot-tagline { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
.gh-foot-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.gh-foot-nav a { font-size: 0.8rem; color: var(--grey); transition: color 0.15s; }
.gh-foot-nav a:hover { color: var(--orange); }
.gh-foot-copy { max-width: 1300px; margin: 0 auto; padding: 0 2rem 1.5rem; font-size: 0.72rem; color: var(--grey); border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 1rem; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media(max-width: 900px) {
  .gh-head-nav { display: none; }
  .gh-burger { display: flex; }
  .gh-post-grid { grid-template-columns: 1fr; }
  .gh-post-card.featured { grid-column: span 1; }
  .gh-feed { padding: 1.5rem; }
  .gh-article { padding: 2rem 1.25rem; }
  .gh-article-title { font-size: 2rem; }
  .kg-width-wide { width: 100%; margin-left: 0; }
  .kg-width-full { width: 100%; margin-left: 0; }
  .kg-gallery-grid { grid-template-columns: repeat(2,1fr); }
  .kg-bookmark-thumbnail { display: none; }
  .gh-foot-inner { flex-direction: column; }
}

@media(min-width: 901px) and (max-width: 1100px) {
  .gh-post-grid { grid-template-columns: repeat(2, 1fr); }
  .gh-post-card.featured { grid-column: span 2; }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.gh-about {
  max-width: 1300px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.gh-about-inner {
  max-width: 820px;
  margin: 0 auto;
}

.gh-about-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.gh-about-title {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 0;
}

.gh-about-divider {
  width: 60px;
  height: 3px;
  background: var(--orange);
  margin: 1.75rem 0;
}

.gh-about-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.gh-about-body p { margin-bottom: 1.4rem; }
.gh-about-body strong { color: var(--white); font-weight: 600; }

.gh-about-credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: var(--dark-mid);
  border: 1px solid var(--border);
  border-radius: 6px;
  border-left: 4px solid var(--orange);
}

.gh-cred-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
}

.gh-cred-icon { font-size: 1.1rem; flex-shrink: 0; }

.gh-about-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.gh-about-btn {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--orange);
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 3px;
  transition: background 0.2s;
}

.gh-about-btn:hover { background: #e0a93a; }

.gh-about-btn-secondary {
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
}

.gh-about-btn-secondary:hover { background: rgba(200,146,42,0.1); }

@media(max-width: 900px) {
  .gh-about-title { font-size: 2.2rem; }
  .gh-about-credentials { grid-template-columns: 1fr; }
  .gh-about-cta { flex-direction: column; }
}
