/* ==========================================================================
   RAMOJI STUDIO — INDUSTRY INSIGHTS PAGE STYLESHEET
   Matching Design System: Geist Fonts, 16:9 Cards, Line Form, Sharp Tabs
   Full Width, Narrow Hero, Regular Weight Eyebrows, Neutral Accents (No Reds)
   Enhanced Font Sizes for Cards, Tabs, Search & Lead Generation Form
   ========================================================================== */

/* Hero Header (#sd-fiveb.sd-insights-hero) — Full Width, Zero Outer Padding, Solid Blue */
#sd-fiveb.sd-insights-hero {
  position: relative;
  z-index: 10;
  background: var(--primary-clr);
  color: #ffffff;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: clamp(280px, 32vh, 380px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 10vh, 110px) 0 clamp(28px, 3.5vh, 44px);
  text-align: center;
  margin: 0;
}

#sd-fiveb.sd-insights-hero .sd-fmt-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  padding: 0 4vw;
  margin: 0 auto;
  box-sizing: border-box;
}

#sd-fiveb.sd-insights-hero h1 {
  font-family: Anton, sans-serif;
  font-size: clamp(34px, min(5vw, 8.5vh), 72px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-wrap: balance;
}

#sd-fiveb.sd-insights-hero p {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 500;
  line-height: 1.28;
  color: #f1efea;
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
  box-sizing: border-box;
}

.sd-breadcrumbs {
  font-family:
    "Geist",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
}

.sd-breadcrumbs a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sd-breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.sd-breadcrumbs .sd-bc-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.35);
}

.sd-breadcrumbs .sd-bc-current {
  color: #ffffff;
  font-weight: 400;
}

/* ==========================================================================
   GLOBAL FULL WIDTH SECTION CONTAINER
   ========================================================================== */
.sd-insights-section {
  position: relative;
  z-index: 7;
  background: #ffffff;
  color: var(--primary-clr);
  box-sizing: border-box;
  width: 100%;
  padding: clamp(60px, 7.5vh, 96px) clamp(20px, 3.8vw, 64px) clamp(72px, 9vh, 120px);
}

.sd-insights-container {
  width: 100%;
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  box-sizing: border-box;
}

/* ==========================================================================
   FEATURED / RECENT ARTICLE HERO CARD (LARGER FONT SIZES)
   ========================================================================== */
.sd-feat-article-wrap {
  margin-bottom: clamp(48px, 6vh, 72px);
  width: 100%;
}

.sd-sec-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.sd-sec-label {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: var(--primary-clr);
  margin: 0;
}

.sd-feat-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: #f8f7f4;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  width: 100%;
  box-sizing: border-box;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}

.sd-feat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 54, 82, 0.25);
  /* box-shadow: 0 20px 48px rgba(0, 0, 0, 0.07); */
}

.sd-feat-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 100%;
  overflow: hidden;
  background: #eae7e0;
}

.sd-feat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.sd-feat-card:hover .sd-feat-media img {
  transform: scale(1.05);
}

.sd-feat-content {
  padding: clamp(22px, 4.5vw, 64px) clamp(16px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.sd-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family:
    "Geist",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: var(--grey);
}

.sd-card-meta span {
  font-weight: 400;
}

.sd-card-meta .sd-read-time {
  color: #75716b;
  font-weight: 400;
}

.sd-feat-title {
  font-family: Anton, sans-serif;
  font-size: clamp(26px, 2.8vw, 44px);
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 1.12;
  color: var(--primary-clr);
  margin: 0;
  transition: color 0.25s ease;
}

.sd-feat-card:hover .sd-feat-title {
  color: var(--primary-clr);
}

.sd-feat-desc {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: clamp(20px, 1.35vw, 23px);
  font-weight: 500;
  line-height: 1.32;
  color: var(--grey);
  margin: 0;
}

.sd-read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family:
    "Geist",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: var(--primary-clr);
  margin-top: 8px;
  transition:
    gap 0.25s ease,
    color 0.25s ease;
}

.sd-read-more-link i {
  font-size: 18px;
  transition: transform 0.25s ease;
}

.sd-feat-card:hover .sd-read-more-link,
.sd-article-card:hover .sd-read-more-link {
  color: #e31e24;
  gap: 12px;
}

.sd-feat-card:hover .sd-read-more-link i,
.sd-article-card:hover .sd-read-more-link i {
  transform: translateX(4px);
}

/* ==========================================================================
   CATEGORY TABS & CLICK-TO-EXPAND SEARCH (LARGER FONT SIZES)
   ========================================================================== */
.sd-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(36px, 4.5vh, 52px);
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  width: 100%;
}

.sd-filter-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  max-width: 1300px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

.sd-filter-tabs::-webkit-scrollbar {
  height: 6px;
}

.sd-filter-tabs::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.sd-filter-btn {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0;
  padding: 10px 22px;
  flex-shrink: 0;
  white-space: nowrap;
  font-family:
    "Geist",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: var(--primary-clr);
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.sd-filter-btn:hover {
  background: var(--primary-clr);
  border-color: var(--primary-clr);
  color: #ffffff;
}

.sd-filter-btn.active {
  background: var(--primary-clr);
  border-color: var(--primary-clr);
  color: #ffffff;
}

/* Click-to-Open Search Icon & Expandable Search Input (No Box / No Shadow) */
.sd-search-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.sd-search-toggle-btn {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-clr);
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.sd-search-toggle-btn:hover,
.sd-search-toggle-btn.active {
  background: var(--primary-clr);
  border-color: var(--primary-clr);
  color: #ffffff;
}

.sd-search-expandable {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition:
    width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
  z-index: 20;
  box-sizing: border-box;
}

.sd-search-expandable.active {
  width: clamp(260px, 26vw, 360px);
  opacity: 1;
  pointer-events: auto;
  padding: 0;
  background: #ffffff;
  transform: translateX(-50px) translateY(-50%);
}

.sd-search-input {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--primary-clr);
  border-radius: 0;
  padding: 8px 0 8px 0;
  font-family:
    "Geist",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-clr);
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.sd-search-close {
  background: transparent;
  border: none;
  font-size: 22px;
  color: var(--primary-clr);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  margin-left: 8px;
}

.sd-search-close:hover {
  color: var(--primary-clr);
  transform: scale(1.1);
}

/* ==========================================================================
   MAIN SPLIT LAYOUT: ARTICLE GRID (LEFT) + STICKY NETWORK FORM (RIGHT)
   ========================================================================== */
.sd-insights-main-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(36px, 3.8vw, 64px);
  align-items: flex-start;
  position: relative;
  width: 100%;
}

/* Article Cards Grid (2 columns standard, 3 columns on screens >= 1440px) */
.sd-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2vw, 32px);
  width: 100%;

  margin-left: auto;
  margin-right: auto;
}

.sd-article-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}

.sd-article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 54, 82, 0.2);
}

.sd-article-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eae7e0;
}

.sd-article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.sd-article-card:hover .sd-article-media img {
  transform: scale(1.06);
}

.sd-article-body {
  padding: clamp(22px, 2.4vw, 34px) clamp(16px, 2.4vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  gap: 16px;
}

.sd-article-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sd-article-title {
  font-family: Anton, sans-serif;
  font-size: clamp(20px, 1.6vw, 25px);
  font-weight: 400;
  letter-spacing: 0px;
  line-height: 1.25;
  color: var(--primary-clr);
  margin: 0;
  transition: color 0.25s ease;
}

.sd-article-card:hover .sd-article-title {
  color: var(--primary-clr);
}

.sd-article-excerpt {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: clamp(17px, 1.2vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  color: #666666;
  margin: 0;
}

/* ==========================================================================
   STICKY LEAD GENERATION SIDEBAR ("BE PART OF OUR NETWORK")
   Enhanced Larger Font Sizes & Line Form
   ========================================================================== */
.sd-network-sidebar {
  position: sticky;
  top: clamp(90px, 10vh, 140px);
  background: #f8f7f4;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  padding: clamp(22px, 3.5vw, 44px) clamp(16px, 2.6vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-sizing: border-box;
}

.sd-network-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sd-network-title {
  font-family: Anton, sans-serif;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 400;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: var(--primary-clr);
  margin: 0;
}

.sd-network-desc {
  font-family: "Geist", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #666666;
  margin: 0;
}

.sd-network-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.sd-net-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sd-net-label {
  font-family:
    "Geist",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0px;
  color: #555555;
}

.sd-net-input,
.sd-net-select,
.sd-net-textarea {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(0, 0, 0, 0.2);
  border-radius: 0;
  padding: 8px 0 8px 0;
  font-family:
    "Geist",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: clamp(18px, 1.2vw, 21px);
  font-weight: 500;
  color: var(--primary-clr);
  outline: none;
  transition:
    border-bottom-color 0.25s ease,
    box-shadow 0.25s ease;
  box-sizing: border-box;
  width: 100%;
}

.sd-net-input::placeholder,
.sd-net-textarea::placeholder {
  color: rgba(36, 36, 36, 0.38);
  font-weight: 400;
}

.sd-net-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20' fill='%231b3652'%3E%3Cpath d='M12 15l-4.243-4.243 1.415-1.414L12 12.172l2.828-2.829 1.415 1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 20px 20px;
  padding: 12px 32px 16px 0;
  cursor: pointer;
}

.sd-net-input:focus,
.sd-net-select:focus,
.sd-net-textarea:focus {
  border-bottom-color: var(--primary-clr);
  box-shadow: 0 1.5px 0 0 var(--primary-clr);
}

.sd-net-textarea {
  resize: vertical;
  min-height: 90px;
  padding-top: 12px;
}

.sd-network-submit {
  width: auto;
  margin-top: 12px;
  font-size: 15px;
  padding: 15px 28px;
}

.sd-network-success {
  display: none;
  padding: 16px;
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
  font-family: "Geist", sans-serif;
  font-size: 14px;
  color: #1b5e20;
  line-height: 1.45;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1180px) {
  .sd-insights-main-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 991px) {
  .sd-feat-card {
    grid-template-columns: 1fr;
  }

  .sd-network-sidebar {
    position: relative;
    top: 0;
    width: 100%;
  }
}

@media (max-width: 680px) {
  #sd-fiveb.sd-insights-hero {
    min-height: 320px;
    padding: 90px 5vw 40px;
  }

  .sd-articles-grid {
    grid-template-columns: 1fr;

    margin-left: auto;
    margin-right: auto;
  }

  .sd-filter-tabs {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }

  .sd-search-box {
    flex-shrink: 0;
    width: auto;
    justify-content: flex-end;
  }

  .sd-search-expandable.active {
    width: min(280px, calc(100vw - 40px));
  }
}