/* ============================================================
   IIMT Blog UX & Readability Optimization
   Scoped to: body.single-post (blog posts only)
   Does NOT affect: homepage, landing pages, Elementor pages
   ============================================================ */

/* ============================================================
   1. REMOVE EMPTY GREY HERO/BREADCRUMB AREA
   The .breadcumb-wrapper shows a 359px grey block with no content
   ============================================================ */
/* Page styling for breadcrumb (Solid Black background & White text) */
body.page .breadcumb-wrapper {
  background: #111111 !important;
  padding: 60px 0 !important;
  border-bottom: 3px solid #3b82f6 !important;
}

body.page .breadcumb-wrapper .breadcumb-title {
  color: #ffffff !important;
  font-size: 38px !important;
  font-weight: 800 !important;
  text-align: center !important;
  margin: 0 !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Post/Archive styling for breadcrumb (Custom Admissions Banner background) */
body.single-post .breadcumb-wrapper,
body.archive .breadcumb-wrapper,
body.blog .breadcumb-wrapper {
  background-image: linear-gradient(rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.7)), url('https://theiimt.com/wp-content/uploads/2026/06/iimt_global_career_banner.png') !important;
  background-size: cover !important;
  background-position: center 35% !important;
  background-repeat: no-repeat !important;
  padding: 85px 0 !important;
  border-bottom: 3px solid #3b82f6 !important;
}

body.single-post .breadcumb-wrapper .breadcumb-title,
body.archive .breadcumb-wrapper .breadcumb-title,
body.blog .breadcumb-wrapper .breadcumb-title {
  color: #ffffff !important;
  font-size: 40px !important;
  font-weight: 800 !important;
  text-align: center !important;
  margin: 0 !important;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
  letter-spacing: -0.01em;
}

/* Spacing under the header banner */
body.single-post .th-blog-wrapper.space-top,
body.page .space-top,
body.page section.space-top {
  padding-top: 50px !important;
}

/* ============================================================
   2. HEADING HIERARCHY — Readable, Professional Sizing
   Before: H1=54px, H2=44px → visually overwhelming
   After:  H1=36px, H2=28px, H3=22px, H4=18px
   ============================================================ */

/* H1 — Post Title */
body.single-post .blog-content h1,
body.single-post .th-blog-wrapper h1 {
  font-size: 36px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  margin-bottom: 18px !important;
  margin-top: 0 !important;
  color: #111827 !important;
  letter-spacing: -0.02em;
}

/* H2 — Major Sections */
body.single-post .blog-content h2,
body.single-post .entry-content h2 {
  font-size: 28px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  margin-top: 40px !important;
  margin-bottom: 16px !important;
  color: #1f2937 !important;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e7eb;
}

/* H3 — Sub-sections & FAQ Questions */
body.single-post .blog-content h3,
body.single-post .entry-content h3 {
  font-size: 22px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  margin-top: 28px !important;
  margin-bottom: 12px !important;
  color: #374151 !important;
}

/* H4 */
body.single-post .blog-content h4,
body.single-post .entry-content h4 {
  font-size: 18px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  margin-top: 20px !important;
  margin-bottom: 10px !important;
  color: #4b5563 !important;
}

/* ============================================================
   3. INTERNAL LINK VISIBILITY
   Before: Links blend with surrounding text
   After:  Clear blue color, underline, hover effect
   ============================================================ */
body.single-post .blog-content a,
body.single-post .entry-content a {
  color: #1a56db !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(26, 86, 219, 0.35) !important;
  text-underline-offset: 3px !important;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

body.single-post .blog-content a:hover,
body.single-post .entry-content a:hover {
  color: #1e40af !important;
  text-decoration-color: #1e40af !important;
}

/* Don't underline anchor links in TOC - they already have list styling */
body.single-post .blog-content a[href^="#"],
body.single-post .entry-content a[href^="#"] {
  text-decoration-color: rgba(26, 86, 219, 0.2) !important;
}

/* ============================================================
   4. TABLE OF CONTENTS — Styled Box
   The TOC is a UL after "Table of Contents" text
   ============================================================ */

/* Style the TOC heading (strong/bold text "Table of Contents") */
body.single-post .blog-content strong:first-of-type {
  /* Keep natural styling - let the wrapper handle it */
}

/* We'll target TOC via a wrapper injected by PHP, see below */

/* ============================================================
   5. FAQ SECTION — Visual Enhancement
   Keep schema intact, just improve visual presentation
   ============================================================ */

/* FAQ Section Container */
body.single-post .rank-math-faq-block {
  margin-top: 30px !important;
  padding: 0 !important;
}

/* Individual FAQ Items */
body.single-post .rank-math-faq-block .rank-math-faq-item {
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  margin-bottom: 12px !important;
  padding: 18px 22px !important;
  background: #f8fafc !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.single-post .rank-math-faq-block .rank-math-faq-item:hover {
  border-color: #3b82f6 !important;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1) !important;
}

/* FAQ Questions (H3) - Override the global H3 sizing */
body.single-post .rank-math-faq-block h3,
body.single-post .rank-math-faq-block .rank-math-question {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1.5 !important;
}

/* FAQ Answer text */
body.single-post .rank-math-faq-block .rank-math-answer,
body.single-post .rank-math-faq-block .rank-math-answer p {
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: #4b5563 !important;
  margin: 0 !important;
}

/* Separator between FAQ heading and block */
body.single-post .blog-content h2 + .rank-math-faq-block,
body.single-post .entry-content h2 + .rank-math-faq-block {
  margin-top: 16px !important;
}

/* ============================================================
   6. RELATED READING — Styled Card Block
   Before: Plain UL bullet list
   After:  Bordered card with arrow indicators
   ============================================================ */

/* We need to target the UL that follows the "Related Reading" H2.
   Since CSS can't select by H2 text, we'll use a PHP wrapper. 
   Fallback: Style the last ULs before "Final Recommendation" */

/* Generic styling for Related Reading list (will be enhanced by PHP wrapper) */
body.single-post .iimt-related-reading {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%) !important;
  border: 1px solid #bfdbfe !important;
  border-left: 4px solid #3b82f6 !important;
  border-radius: 10px !important;
  padding: 24px 28px !important;
  margin: 20px 0 30px 0 !important;
  list-style: none !important;
}

body.single-post .iimt-related-reading li {
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(191, 219, 254, 0.5) !important;
  list-style: none !important;
}

body.single-post .iimt-related-reading li:last-child {
  border-bottom: none !important;
}

body.single-post .iimt-related-reading li::before {
  content: "→ " !important;
  color: #3b82f6 !important;
  font-weight: 600 !important;
}

body.single-post .iimt-related-reading a {
  color: #1e40af !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

body.single-post .iimt-related-reading a:hover {
  color: #1d4ed8 !important;
  text-decoration: underline !important;
}

/* ============================================================
   7. FINAL RECOMMENDATION — Styled Callout
   ============================================================ */
body.single-post .iimt-final-recommendation {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%) !important;
  border: 1px solid #86efac !important;
  border-left: 4px solid #22c55e !important;
  border-radius: 10px !important;
  padding: 24px 28px !important;
  margin: 20px 0 30px 0 !important;
}

/* ============================================================
   8. TABLE OF CONTENTS — Styled Container
   ============================================================ */
body.single-post .iimt-toc-wrapper {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 20px 24px !important;
  margin: 24px 0 32px 0 !important;
  position: relative;
}

body.single-post .iimt-toc-wrapper::before {
  content: "📑 In This Article";
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e7eb;
}

body.single-post .iimt-toc-wrapper ul,
body.single-post .iimt-toc-wrapper ol {
  margin: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
  counter-reset: toc-counter;
}

body.single-post .iimt-toc-wrapper li {
  padding: 6px 0 6px 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  counter-increment: toc-counter;
}

body.single-post .iimt-toc-wrapper li:last-child {
  border-bottom: none !important;
}

body.single-post .iimt-toc-wrapper li::before {
  content: counter(toc-counter) ". ";
  color: #6b7280;
  font-weight: 500;
  font-size: 14px;
}

body.single-post .iimt-toc-wrapper a {
  color: #374151 !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  transition: color 0.15s ease;
}

body.single-post .iimt-toc-wrapper a:hover {
  color: #1a56db !important;
}

/* ============================================================
   9. KEY TAKEAWAYS — Styled Box
   ============================================================ */
body.single-post .iimt-key-takeaways {
  background: #fffbeb !important;
  border: 1px solid #fde68a !important;
  border-left: 4px solid #f59e0b !important;
  border-radius: 10px !important;
  padding: 20px 24px !important;
  margin: 24px 0 !important;
}

body.single-post .iimt-key-takeaways::before {
  content: "🔑 Key Takeaways";
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #fde68a;
}

/* ============================================================
   10. QUICK SUMMARY — Highlighted Intro
   ============================================================ */
body.single-post .iimt-quick-summary {
  background: #eff6ff !important;
  border-left: 4px solid #3b82f6 !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 18px 24px !important;
  margin: 0 0 28px 0 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

/* ============================================================
   11. TABLES — Proper Formatting & Mobile Overflow
   ============================================================ */
body.single-post .blog-content table,
body.single-post .entry-content table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 20px 0 !important;
  font-size: 15px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

body.single-post .blog-content table th,
body.single-post .entry-content table th {
  background: #1e293b !important;
  color: #fff !important;
  padding: 12px 16px !important;
  font-weight: 600 !important;
  text-align: left !important;
  font-size: 14px !important;
}

body.single-post .blog-content table td,
body.single-post .entry-content table td {
  padding: 10px 16px !important;
  border-bottom: 1px solid #e5e7eb !important;
  font-size: 14px !important;
}

body.single-post .blog-content table tr:nth-child(even) td,
body.single-post .entry-content table tr:nth-child(even) td {
  background: #f9fafb !important;
}

body.single-post .blog-content table tr:hover td,
body.single-post .entry-content table tr:hover td {
  background: #eff6ff !important;
}

/* Table wrapper for mobile horizontal scroll */
body.single-post .iimt-table-wrap {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0 !important;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

body.single-post .iimt-table-wrap table {
  margin: 0 !important;
  border-radius: 0 !important;
}

/* ============================================================
   12. BODY TEXT — Improved Readability
   ============================================================ */
body.single-post .blog-content,
body.single-post .blog-content p {
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: #374151 !important;
}

body.single-post .blog-content p {
  margin-bottom: 18px !important;
}

/* ============================================================
   13. POST META — Cleaner Author/Date Line
   ============================================================ */
body.single-post .blog-meta {
  margin-bottom: 20px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #e5e7eb !important;
  font-size: 14px !important;
  color: #6b7280 !important;
}

/* ============================================================
   14. MOBILE RESPONSIVE OVERRIDES
   ============================================================ */

/* Tablet (768px) */
@media (max-width: 768px) {
  body.single-post .th-blog-wrapper.space-top {
    padding-top: 20px !important;
  }

  body.single-post .blog-content h1,
  body.single-post .th-blog-wrapper h1 {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }

  body.single-post .blog-content h2,
  body.single-post .entry-content h2 {
    font-size: 24px !important;
    margin-top: 32px !important;
  }

  body.single-post .blog-content h3,
  body.single-post .entry-content h3 {
    font-size: 20px !important;
  }

  body.single-post .blog-content h4,
  body.single-post .entry-content h4 {
    font-size: 17px !important;
  }

  body.single-post .rank-math-faq-block .rank-math-faq-item {
    padding: 14px 16px !important;
  }

  body.single-post .iimt-toc-wrapper,
  body.single-post .iimt-related-reading,
  body.single-post .iimt-final-recommendation,
  body.single-post .iimt-key-takeaways,
  body.single-post .iimt-quick-summary {
    padding: 16px 18px !important;
  }
}

/* Mobile (375px and below) */
@media (max-width: 480px) {
  body.single-post .th-blog-wrapper.space-top {
    padding-top: 16px !important;
  }

  body.single-post .blog-content h1,
  body.single-post .th-blog-wrapper h1 {
    font-size: 24px !important;
    line-height: 1.35 !important;
  }

  body.single-post .blog-content h2,
  body.single-post .entry-content h2 {
    font-size: 21px !important;
    margin-top: 28px !important;
    padding-bottom: 8px;
  }

  body.single-post .blog-content h3,
  body.single-post .entry-content h3 {
    font-size: 18px !important;
  }

  body.single-post .blog-content h4,
  body.single-post .entry-content h4 {
    font-size: 16px !important;
  }

  body.single-post .blog-content,
  body.single-post .blog-content p {
    font-size: 15px !important;
    line-height: 1.75 !important;
  }

  body.single-post .rank-math-faq-block h3,
  body.single-post .rank-math-faq-block .rank-math-question {
    font-size: 16px !important;
  }

  body.single-post .rank-math-faq-block .rank-math-answer,
  body.single-post .rank-math-faq-block .rank-math-answer p {
    font-size: 14px !important;
  }

  body.single-post .iimt-toc-wrapper a {
    font-size: 14px !important;
  }

  /* Tables horizontal scroll on mobile */
  body.single-post .blog-content table,
  body.single-post .entry-content table {
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }
}

/* Very small mobile (320px) */
@media (max-width: 360px) {
  body.single-post .blog-content h1,
  body.single-post .th-blog-wrapper h1 {
    font-size: 22px !important;
  }

  body.single-post .blog-content h2,
  body.single-post .entry-content h2 {
    font-size: 19px !important;
  }
}

/* ============================================================
   PHASE 7: AUTHORITY PAGE COMPONENTS
   Stats Grid, Placement Cards, Success Cards, Timeline,
   Recruiter Cards, CTA Box
   ============================================================ */

/* --- Stats Grid (4-column highlight cards) --- */
.iimt-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 32px 0;
}

.iimt-stat-card {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(30, 41, 59, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.iimt-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(30, 41, 59, 0.25);
}

.iimt-stat-number {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.iimt-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.4;
}

/* --- Placement Evidence Grid --- */
.iimt-placement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 32px 0;
}

.iimt-placement-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.iimt-placement-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
}

.iimt-placement-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.iimt-placement-info {
  flex: 1;
  min-width: 0;
}

.iimt-placement-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  margin-bottom: 4px;
  line-height: 1.3;
}

.iimt-placement-hotel {
  font-size: 13px !important;
  color: #4b5563 !important;
  margin-bottom: 2px;
  line-height: 1.4;
}

.iimt-placement-location {
  font-size: 12px !important;
  color: #6b7280 !important;
  line-height: 1.4;
}

/* --- Success Story Cards --- */
.iimt-success-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0 32px 0;
}

.iimt-success-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.iimt-success-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.1);
}

.iimt-success-card .iimt-success-avatar {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iimt-success-content {
  flex: 1;
}

.iimt-success-content h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1.4 !important;
}

.iimt-success-track {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #3b82f6 !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.3;
}

.iimt-success-content p:last-child {
  font-size: 14px !important;
  color: #4b5563 !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

/* --- Career Path Timeline --- */
.iimt-timeline {
  position: relative;
  margin: 24px 0 32px 20px;
  padding-left: 28px;
  border-left: 3px solid #e2e8f0;
}

.iimt-timeline-item {
  position: relative;
  padding-bottom: 28px;
}

.iimt-timeline-item:last-child {
  padding-bottom: 0;
}

.iimt-timeline-marker {
  position: absolute;
  left: -42px;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.iimt-timeline-content {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 20px;
}

.iimt-timeline-content h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  margin: 0 0 6px 0 !important;
}

.iimt-timeline-content p {
  font-size: 14px !important;
  color: #4b5563 !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

/* --- Recruiter Directory Cards --- */
.iimt-recruiter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0 32px 0;
}

.iimt-recruiter-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.iimt-recruiter-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.1);
}

.iimt-recruiter-brand {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin-bottom: 2px;
  line-height: 1.3;
}

.iimt-recruiter-subtitle {
  font-size: 13px !important;
  color: #6b7280 !important;
  margin-bottom: 12px;
}

.iimt-recruiter-stat {
  font-size: 15px !important;
  color: #059669 !important;
  margin-bottom: 8px;
}

.iimt-recruiter-stat strong {
  color: #059669 !important;
}

.iimt-recruiter-locations {
  font-size: 13px !important;
  color: #4b5563 !important;
  margin-bottom: 10px;
}

/* --- Placement Student Images --- */
.iimt-placement-image-wrap {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.iimt-placement-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Success Student Images --- */
.iimt-success-image-wrap {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.iimt-success-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Recruiter Logo Grid --- */
.iimt-recruiter-logo-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  margin: 24px 0 32px 0 !important;
}

.iimt-logo-card {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  font-size: 20px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.iimt-logo-card:hover {
  transform: translateY(-4px) !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.1) !important;
  text-decoration: none !important;
}

/* Recruiter Grid Mobile Adjustment */
@media (max-width: 768px) {
  .iimt-recruiter-logo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .iimt-logo-card {
    height: 80px !important;
    font-size: 16px !important;
  }
}

.iimt-recruiter-students {
  font-size: 13px !important;
  color: #6b7280 !important;
  line-height: 1.6;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

/* --- CTA Box --- */
.iimt-cta-box {
  background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
  border-radius: 14px;
  padding: 32px;
  text-align: center;
  margin: 32px 0;
  color: #fff;
}

.iimt-cta-box h3 {
  color: #fff !important;
  font-size: 22px !important;
  margin: 0 0 10px 0 !important;
  border: none !important;
}

.iimt-cta-box p {
  color: rgba(255,255,255,0.9) !important;
  margin: 0 0 20px 0 !important;
}

.iimt-cta-box a {
  display: inline-block;
  background: #fff;
  color: #1e40af !important;
  text-decoration: none !important;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.iimt-cta-box a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  color: #1e40af !important;
  text-decoration: none !important;
}

/* ============================================================
   PHASE 7: MOBILE RESPONSIVE for Authority Components
   ============================================================ */

@media (max-width: 768px) {
  .iimt-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .iimt-stat-number {
    font-size: 26px;
  }

  .iimt-placement-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .iimt-placement-card {
    padding: 14px;
  }

  .iimt-success-card {
    flex-direction: column;
    padding: 18px;
  }

  .iimt-success-card .iimt-success-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 16px;
  }

  .iimt-recruiter-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .iimt-timeline {
    margin-left: 10px;
    padding-left: 24px;
  }
}

@media (max-width: 480px) {
  .iimt-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .iimt-stat-card {
    padding: 16px 12px;
  }

  .iimt-stat-number {
    font-size: 22px;
  }

  .iimt-stat-label {
    font-size: 11px;
  }

  .iimt-placement-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .iimt-placement-card {
    padding: 12px;
    gap: 10px;
  }

  .iimt-placement-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 14px;
  }

  .iimt-success-card {
    padding: 14px;
    gap: 12px;
  }

  .iimt-success-content h3 {
    font-size: 16px !important;
  }

  .iimt-recruiter-brand {
    font-size: 18px !important;
  }

  .iimt-timeline-marker {
    width: 26px;
    height: 26px;
    font-size: 12px;
    left: -38px;
  }

  .iimt-cta-box {
    padding: 24px 16px;
  }

  .iimt-cta-box h3 {
    font-size: 18px !important;
  }
}
