/* ========== TECHRUBIX INSIGHTS - GOOGLE THINK STYLE REDESIGN ========== */

:root {
  --navy: #142039;
  --blue: #2563eb;
  --sky: #52d6ee;
  --pink: #df4f9c;
  --orange: #ff9f31;
  --mist: #f8f8f6;
  --line: #d9e0e6;
  --text: #26334a;
  --muted: #66748a;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'DM Mono', monospace;
  --serif: 'Playfair Display', serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  background: linear-gradient(135deg, #f8faff 0%, #f5f8ff 25%, #fff9f8 50%, #fff8f5 75%, #fffaf7 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
}

main {
  width: 100%;
}

/* ========== PAGE HEADER ========== */
.page-header {
  padding: 24px 12vw;
  background: linear-gradient(135deg, rgba(82, 214, 238, 0.08) 0%, rgba(223, 79, 156, 0.06) 50%, rgba(255, 159, 49, 0.04) 100%);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.header-content {
  flex: 1;
}

.header-content .eyebrow {
  margin: 0 0 6px;
  font: 700 10px var(--mono);
  color: var(--pink);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.header-content h1 {
  margin: 0 0 8px;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.header-content h1 em {
  background: linear-gradient(100deg, var(--blue), var(--pink), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.header-content p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}

.search-box-header {
  width: 280px;
  position: relative;
}

.search-box-header input {
  width: 100%;
  padding: 12px 16px;
  font: 14px var(--sans);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.search-box-header input:focus {
  outline: none;
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ========== FEATURED CONTENT SECTION ========== */
.featured-content-section {
  padding: 48px 12vw;
  background: transparent;
}

.featured-content-section .section-header {
  margin-bottom: 32px;
}

.section-header .section-eyebrow {
  margin: 0 0 8px;
  font: 700 10px var(--mono);
  color: var(--pink);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-header h2 {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

.section-header h2 em {
  background: linear-gradient(100deg, var(--blue), var(--pink), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 12px;
}

.featured-card {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.featured-card:hover {
  transform: translateY(-8px);
}

.featured-card-graphic {
  height: 240px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.featured-card-graphic::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.featured-card-category {
  font: 700 9px var(--mono);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(20, 32, 57, 0.3);
  padding: 6px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
  display: inline-block;
}

.featured-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.featured-card-content h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

.featured-card-content p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  flex-grow: 1;
}

.featured-card-meta {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

.featured-card-meta span {
  color: var(--text);
  font-weight: 600;
}

/* ========== EXPLORE BY TOPIC SECTION ========== */
.explore-section {
  padding: 40px 12vw;
  background: transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.explore-section .section-header {
  margin-bottom: 20px;
}

.explore-section h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.topic-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topic-btn {
  padding: 10px 18px;
  font: 13px var(--sans);
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  text-transform: capitalize;
}

.topic-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.topic-btn.active {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24);
}

/* ========== ARTICLES SECTION ========== */
.articles-section {
  padding: 48px 12vw;
  background: transparent;
}

.articles-grid-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.article-card {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.16);
  border-color: rgba(37, 99, 235, 0.2);
}

.article-card-graphic {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.article-card-graphic::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(20, 32, 57, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
}

.article-card-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-category {
  font: 700 9px var(--mono);
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 8px;
}

.article-card-content h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  height: 2.8em;
  overflow: hidden;
}

.article-card-content p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article-card-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.article-card-meta span {
  font-weight: 600;
  color: var(--text);
}

/* ========== MODAL STYLES ========== */
.article-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 32, 57, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  overflow-y: auto;
}

.article-modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
}

.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(20, 32, 57, 0.2);
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-weight: 300;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.modal-hero {
  height: 360px;
  background: linear-gradient(135deg, #52d6ee 0%, #2563eb 25%, #df4f9c 75%, #ff9f31 100%);
  position: relative;
  padding: 40px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.modal-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.modal-hero h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  color: white;
  max-width: 600px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-detail {
  padding: 32px 40px;
}

.detail-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--line);
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.detail-meta span {
  color: var(--muted);
}

.detail-meta .article-category {
  color: var(--blue);
  margin: 0;
}

.detail-intro {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
}

.detail-author {
  margin: 20px 0 28px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(82, 214, 238, 0.08) 0%, rgba(223, 79, 156, 0.04) 100%);
  border-left: 4px solid var(--blue);
  border-radius: 6px;
}

.detail-author p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.4;
}

.detail-author p:first-child {
  color: var(--navy);
  font-weight: 700;
}

.detail-author p:last-child {
  color: var(--muted);
  font-size: 13px;
}

.detail-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 32px;
}

.detail-body p {
  margin-bottom: 16px;
}

.detail-body strong {
  color: var(--navy);
  font-weight: 700;
}

.detail-body h3 {
  margin: 24px 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.detail-body ul {
  margin: 12px 0 16px;
  padding-left: 24px;
  list-style: none;
}

.detail-body li {
  margin-bottom: 8px;
}

.detail-body li::before {
  content: '→ ';
  color: var(--blue);
  font-weight: 700;
  margin-right: 8px;
}

/* ========== COMMENTS SECTION ========== */
.comments-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--line);
}

.comments-section h3 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.add-comment {
  margin-bottom: 28px;
}

.comment-input-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-input-area textarea {
  padding: 12px 16px;
  font: 14px var(--sans);
  border: 1px solid var(--line);
  border-radius: 8px;
  resize: vertical;
  font-family: var(--sans);
  transition: all 0.3s ease;
}

.comment-input-area textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.comment-submit-btn {
  align-self: flex-start;
  padding: 10px 20px;
  font: 13px var(--sans);
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.comment-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-item {
  padding: 16px;
  background: var(--mist);
  border-radius: 8px;
  border-left: 3px solid var(--blue);
}

.comment-item p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.4;
}

.comment-item p:first-child {
  font-weight: 700;
  color: var(--navy);
}

.comment-item p:nth-child(2) {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.comment-item p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

/* ========== DISCUSSIONS SECTION ========== */
.discussion-threads {
  padding: 48px 12vw;
  background: linear-gradient(135deg, rgba(82, 214, 238, 0.04) 0%, rgba(255, 159, 49, 0.04) 100%);
  border-top: 1px solid var(--line);
}

.discussion-threads .eyebrow {
  margin: 0 0 8px;
  font: 700 10px var(--mono);
  color: var(--pink);
  letter-spacing: 1px;
}

.discussion-threads h2 {
  margin: 0 0 32px;
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
}

.discussion-threads h2 em {
  background: linear-gradient(100deg, var(--blue), var(--pink), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

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

.thread-card {
  background: white;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  overflow: hidden;
}

.thread-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.16);
}

.thread-header {
  background: linear-gradient(135deg, #52d6ee 0%, #2563eb 100%);
  padding: 16px;
  min-height: 80px;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.thread-source {
  font: 700 10px var(--mono);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 10px;
  border-radius: 4px;
  backdrop-filter: blur(10px);
}

.thread-source-name {
  font: 600 12px var(--mono);
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 16px 24px 0;
  display: block;
}

.thread-card h4 {
  margin: 12px 24px 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

.thread-status {
  display: inline-block;
  padding: 4px 10px;
  font: 10px var(--mono);
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  border-radius: 3px;
  margin: 0 24px 12px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.thread-card p {
  margin: 0 24px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  flex-grow: 1;
}

.thread-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0 24px 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.thread-btn {
  align-self: flex-start;
  margin: 0 24px 24px;
  padding: 10px 16px;
  font: 12px var(--sans);
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.thread-btn:hover {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* ========== RESOURCES SECTION ========== */
.resources-collection {
  padding: 48px 12vw;
  background: transparent;
  border-top: 1px solid var(--line);
}

.resources-collection .eyebrow {
  margin: 0 0 8px;
  font: 700 10px var(--mono);
  color: var(--pink);
  letter-spacing: 1px;
}

.resources-collection h2 {
  margin: 0 0 32px;
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
}

.resources-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.resource-item {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.resource-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.resource-type {
  font: 10px var(--mono);
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.resource-item h4 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

.resource-item p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  flex-grow: 1;
}

.download-btn {
  align-self: flex-start;
  padding: 10px 18px;
  font: 12px var(--sans);
  font-weight: 700;
  background: linear-gradient(135deg, var(--orange), var(--pink));
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 159, 49, 0.24);
}

/* ========== CTA SECTION ========== */
.fusion-cta {
  padding: 48px 12vw;
  background: linear-gradient(135deg, rgba(82, 214, 238, 0.08) 0%, rgba(37, 99, 235, 0.04) 50%, rgba(223, 79, 156, 0.04) 100%);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fusion-cta h2 {
  margin: 0 0 12px;
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
}

.fusion-cta h2 em {
  background: linear-gradient(100deg, var(--blue), var(--pink), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

.fusion-cta p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 12px 28px;
  font: 14px var(--sans);
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: white;
}

.cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.24);
}

.cta-btn-secondary {
  background: white;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.cta-btn-secondary:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-2px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1400px) {
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .articles-grid-main {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1200px) {
  .page-header {
    padding: 20px 10vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .header-content h1 {
    font-size: 36px;
  }
  
  .search-box-header {
    width: 100%;
  }
  
  .featured-content-section {
    padding: 40px 10vw;
  }
  
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .explore-section {
    padding: 32px 10vw;
  }
  
  .articles-section {
    padding: 40px 10vw;
  }
  
  .articles-grid-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  .discussion-threads,
  .resources-collection {
    padding: 40px 10vw;
  }
  
  .threads-grid,
  .resources-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .page-header {
    padding: 16px 8vw;
  }
  
  .header-content h1 {
    font-size: 28px;
  }
  
  .featured-content-section,
  .explore-section,
  .articles-section,
  .discussion-threads,
  .resources-collection,
  .fusion-cta {
    padding: 32px 8vw;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  .featured-grid,
  .articles-grid-main,
  .threads-grid,
  .resources-showcase {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .featured-card-graphic {
    height: 200px;
  }
  
  .modal-hero {
    height: 280px;
    padding: 32px 24px;
  }
  
  .modal-hero h1 {
    font-size: 32px;
  }
  
  .article-detail {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .page-header {
    padding: 12px 16px;
  }
  
  .header-content h1 {
    font-size: 24px;
  }
  
  .featured-content-section,
  .explore-section,
  .articles-section,
  .discussion-threads,
  .resources-collection,
  .fusion-cta {
    padding: 24px 16px;
  }
  
  .section-header h2 {
    font-size: 22px;
  }
  
  .topic-filters {
    gap: 8px;
  }
  
  .topic-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
  
  .article-card-graphic {
    height: 140px;
  }
  
  .modal-content {
    border-radius: 0;
    max-height: 100vh;
  }
  
  .modal-hero {
    height: 240px;
  }
  
  .modal-hero h1 {
    font-size: 24px;
  }
  
  .modal-close {
    top: 12px;
    right: 12px;
  }
  
  .article-detail {
    padding: 20px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.featured-card,
.article-card,
.thread-card,
.resource-item {
  animation: fadeInUp 0.6s ease forwards;
}

.featured-card {
  animation-delay: 0.1s;
}

.featured-card:nth-child(2) {
  animation-delay: 0.2s;
}

.featured-card:nth-child(3) {
  animation-delay: 0.3s;
}
