/*
Theme Name: Stephon Rudd
Theme URI: http://stephonrudd
Author: Stephon Rudd
Description: Authority marketing blog theme for StephonRudd.com
Version: 1.0
*/

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #222;
  background: #f0f0f0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===========================
   STICKY NAV
=========================== */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid #ddd;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.sticky-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.sticky-logo {
  font-weight: 700;
  font-size: 1rem;
  color: #111;
  white-space: nowrap;
  margin-right: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 0.85rem;
  color: #444;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links .current-menu-item a,
.nav-links .current_page_item a {
  color: #000;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #ccc;
  padding: 4px 10px;
  font-size: 0.85rem;
  cursor: pointer;
  color: #333;
}

/* ===========================
   HEADER HERO
=========================== */
.header-outer {
  border-bottom: 2px solid #111;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
}

.header-outer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  pointer-events: none;
}

.header-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px;
  position: relative;
  z-index: 1;
}


/* Big site name */
.site-name {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 4.5rem;
  line-height: 1;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.site-name a {
  color: #fff;
  text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

/* "Latest Post" label */
.latest-post-label {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
}

/* Featured post card */
.featured-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.featured-card-body {
  padding: 22px 26px 18px;
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(2px);
}

.featured-card-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 6px;
}

.featured-card-body h3 a {
  color: #111;
  transition: color 0.2s;
}

.featured-card-body h3 a:hover { color: #555; }

.featured-byline {
  font-size: 0.78rem;
  color: #888;
  margin-bottom: 10px;
}

.featured-text {
  font-size: 0.88rem;
  color: #333;
  line-height: 1.6;
}

.featured-card-footer {
  background: #b52a2a;
  padding: 14px 26px;
}

.featured-read-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  border-bottom: 2px solid rgba(255,255,255,0.6);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.featured-read-btn:hover { opacity: 0.75; }

/* Header right video slot */
.header-inner {
  display: flex;
  align-items: flex-end;
  gap: 40px;
}

.header-left {
  flex: 0 0 500px;
}

.header-right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.header-banner-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.header-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.9),
    0 0 0 3px rgba(255,255,255,0.55),
    0 0 40px rgba(255,255,255,0.22),
    0 0 90px rgba(255,255,255,0.10);
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===========================
   READ POST BUTTON
=========================== */
.read-post-btn {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  border-bottom: 2px solid #fff;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.read-post-btn:hover { opacity: 0.7; }

.content-right .read-post-btn:hover {
  opacity: 0.8;
}

/* ===========================
   TWO-COLUMN CONTENT
=========================== */
.content-outer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-inner {
  display: flex;
  gap: 48px;
  padding: 40px 0 60px;
}

/* ===========================
   MAIN POST LIST
=========================== */
.content-right {
  flex: 1;
  min-width: 0;
  order: 2;
}

.post-entry {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 32px 36px;
  margin-bottom: 24px;
}


.post-entry.top h2 {
  font-size: 2rem;
}

.post-entry h2 {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 4px;
}

.post-entry h2 a {
  color: #111;
  transition: color 0.2s;
}

.post-entry h2 a:hover { color: #555; }

.post-byline {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 12px;
}

.post-excerpt p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 12px;
}

.post-link-wrapper {
  margin: 24px -36px -32px;
  background: #b52a2a;
  padding: 18px 36px;
  border-radius: 0 0 8px 8px;
}

.post-link-wrapper .read-post-btn {
  color: #fff;
  border-bottom-color: #fff;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* ===========================
   PAGINATION
=========================== */
.pagination {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
}

.page-btn {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #111;
  border-bottom: 2px solid #111;
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.page-btn:hover {
  color: #666;
  border-color: #666;
}

/* ===========================
   LEFT SIDEBAR
=========================== */
.sidebar-left {
  width: 260px;
  flex-shrink: 0;
  order: 1;
}

.sidebar-widget {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 24px 24px 0;
  margin-bottom: 24px;
  overflow: hidden;
}

.sidebar-widget::after {
  content: '';
  display: block;
  height: 10px;
  background: #b52a2a;
  margin: 24px -24px 0;
}

.search-form {
  display: flex;
  border: 1px solid #ccc;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 8px 10px;
  font-size: 0.85rem;
  border: none;
  outline: none;
  font-family: inherit;
}

.search-form button {
  background: #f4f4f4;
  border: none;
  border-left: 1px solid #ccc;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1rem;
}

.sidebar-photo {
  width: 100%;
  height: auto;
}

.sidebar-optin h3,
.sidebar-testimonial h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #111;
}

.sidebar-optin p {
  font-size: 0.82rem;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.6;
}

.optin-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.optin-form input[type="email"] {
  padding: 10px 12px;
  font-size: 0.85rem;
  border: 1px solid #ccc;
  outline: none;
  font-family: inherit;
}

.optin-form button {
  padding: 10px 12px;
  background: #111;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.optin-form button:hover { background: #444; }

.optin-note {
  font-size: 0.72rem;
  color: #aaa;
  margin-top: 6px;
}

.sidebar-testimonial blockquote {
  font-size: 0.82rem;
  color: #444;
  font-style: italic;
  border-left: 3px solid #ddd;
  padding-left: 12px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.sidebar-testimonial cite {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  color: #888;
  margin-top: 6px;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: #f4f4f4;
  border-top: 1px solid #ddd;
  padding: 20px 24px;
  font-size: 0.8rem;
  color: #888;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #888;
  transition: color 0.2s;
}

.footer-links a:hover { color: #333; }

/* ===========================
   RESPONSIVE - TABLET
=========================== */
@media (max-width: 1024px) {
  .header-left {
    flex: 0 0 48%;
  }
}

/* ===========================
   RESPONSIVE - MOBILE
=========================== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    gap: 14px;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  }

  .nav-links.open { display: flex; }

  .sticky-logo { margin-right: 0; }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .header-left {
    flex: none;
    width: 100%;
  }

  .site-name {
    font-size: 3rem;
  }

  .header-right-col {
    width: 100%;
    align-items: center;
  }

  .header-banner-img {
    height: auto;
    max-width: 100%;
  }

  .content-inner { flex-direction: column; }

  .sidebar-left {
    width: 100%;
    order: 2;
  }

  .content-right { order: 1; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .pagination {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
