/* ═══════════════════════════════════════════════
   ILLUME SECURITY — THOUGHTS / BLOG STYLES
   Used by: thoughts.html + thoughts/*.html
═══════════════════════════════════════════════ */

/* ─── ARTICLE PAGES: nav always solid ─── */
.article-page #nav {
  background: rgba(10,20,25,.92);
  backdrop-filter: blur(20px);
  border-color: var(--green-border);
}

/* ─── THOUGHTS INDEX ─── */

.thoughts-section {
  padding: 80px 60px;
  background: var(--bg);
}

.thoughts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card — outer <a> wrapper */
.thought-card {
  display: block;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--green-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition:
    transform  .35s cubic-bezier(.22,1,.36,1),
    border-color .3s ease,
    box-shadow   .35s ease;
}

.thought-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45,202,112,.45);
  box-shadow:
    0 8px 32px rgba(0,0,0,.35),
    0 0 0 1px rgba(45,202,112,.12),
    0 20px 48px rgba(45,202,112,.08);
}

/* Card image */
.thought-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.thought-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}

.thought-card:hover .thought-card-img img {
  transform: scale(1.06);
}

/* Gradient overlay on hover */
.thought-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,26,31,.7), transparent);
  opacity: 0;
  transition: opacity .35s ease;
}

.thought-card:hover .thought-card-img-overlay {
  opacity: 1;
}

/* Card body */
.thought-card-body {
  padding: 28px 26px;
}

/* Category pill */
.thought-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  background: var(--green-10);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

/* Card title */
.thought-card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
}

/* Card excerpt */
.thought-card-excerpt {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Card meta row */
.thought-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.thought-card-date {
  font-size: 12px;
  color: var(--text-3);
}

.thought-card-read {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s ease;
}

.thought-card:hover .thought-card-read {
  gap: 8px;
}

/* ─── ARTICLE PAGE ─── */

/* Hero */
.article-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 60px;
}

.article-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,26,31,1)   0%,
    rgba(13,26,31,.7)  40%,
    rgba(13,26,31,.2)  100%
  );
}

.article-hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 0 60px;
  width: 100%;
}

/* Article category pill */
.article-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  background: var(--green-10);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 18px;
}

/* Hero H1 */
.article-hero h1 {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
}

/* Meta row */
.article-meta {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.article-meta-item {
  font-size: 13px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 20px;
}

.article-meta-item:first-child { padding-left: 0; }

.article-meta-item + .article-meta-item {
  border-left: 1px solid rgba(255,255,255,.18);
}

.article-meta-sep { display: none; }

/* Article body */
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 60px;
}

.article-body p {
  font-size: 16.5px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 26px;
}

.article-body h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin: 48px 0 18px;
  letter-spacing: -.025em;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin: 36px 0 14px;
}

.article-body strong {
  color: var(--text);
  font-weight: 600;
}

.article-body a {
  color: var(--green);
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid rgba(45,202,112,.3);
  transition: border-color .2s;
}
.article-body a:hover {
  border-bottom-color: var(--green);
}

.article-body ul, .article-body ol {
  padding-left: 24px;
  margin: 18px 0;
}
.article-body li {
  font-size: 16.5px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 8px;
}

/* Policy pages */
.policy-section { padding: 0 0 80px; }
.policy-section .article-body { max-width: 1040px; }
@media (min-width: 1521px) {
  .policy-section .article-body {
    max-width: 1040px;
    padding-left: 60px;
    padding-right: 60px;
  }
}
.policy-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.08);
}
.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.policy-table th {
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--surface);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.policy-table td {
  padding: 14px 18px;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255,255,255,.05);
  vertical-align: top;
}
.policy-table tr:last-child td { border-bottom: none; }

/* Pullquote */
.article-pullquote {
  border-left: 3px solid var(--green);
  padding: 20px 28px;
  background: var(--green-10);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 36px 0;
}

.article-pullquote p {
  font-size: 18px;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.65;
}

/* Back link */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
  text-decoration: none;
  margin-bottom: 52px;
  padding-top: 40px;
  transition: color .2s ease;
}

.article-back:hover {
  color: var(--green-3);
}

/* Article CTA section */
.article-cta {
  padding: 72px 60px;
  background: var(--bg-2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 1100px) {
  .thoughts-section           { padding: 32px; }
  .thoughts-grid              { grid-template-columns: 1fr 1fr; }
  .article-hero-content       { padding: 0 32px; }
  .article-body               { padding: 52px 32px; }
  .article-cta                { padding: 52px 32px; }
}

@media (max-width: 640px) {
  .thoughts-grid              { grid-template-columns: 1fr; }
  .article-hero               { min-height: 55vh; }
  .article-hero h1            { font-size: 30px; }
}

/* ─── WIDESCREEN ─── */

@media (min-width: 1521px) {
  .thoughts-section {
    padding-left:  calc((100vw - 1400px) / 2);
    padding-right: calc((100vw - 1400px) / 2);
  }
  .article-body {
    padding-left:  calc((100vw - 1400px) / 2);
    padding-right: calc((100vw - 1400px) / 2);
    max-width: none;
  }
  .article-cta {
    padding-left:  calc((100vw - 1400px) / 2);
    padding-right: calc((100vw - 1400px) / 2);
  }
  .article-hero-content {
    margin-left: calc((100vw - 1400px) / 2);
    padding-left:  60px;
    padding-right: 60px;
    width: 860px;
  }
}
