@import url('/css/shared/article-hero.css');
@import url('/css/shared/article-body.css');
@import url('/css/shared/review-block.css');

/* ELEMENTS */
h1 {
  font-family: "Inter", sans-serif;
  font-size: clamp(2.5rem, 6vw, 3.75rem); 
  font-weight: 600;
  letter-spacing: -0.5px; 
  line-height: 1.2;
}

h2 {
    letter-spacing: -0.5px; 
}

h2, h3, h4 {
  color: #1b1b1b; 
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}


p, li {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #1a1a1a;  
  font-weight: 400;
  letter-spacing: 0.1px;
  margin-bottom: 1.25rem; 
}

nav p {
    margin-bottom: 0
}


/* UTILITIES */
.breadcrumbs {
    padding: 10px 20px;
    margin: 0 5%;
    border-radius: 8px;
    font-size: var(--small-font);
}

.source-tag {
  background-color: #555;
  color: #fff;
  padding: .25rem .75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  border: 2px solid #fff;
}

.technology-item a{
    display: inline-block;
    background-color: var(--grey);
    padding: 0 10px;
    border-radius: 8px;
    font-size: 90%;
}

.technology-item img {
    position: relative;
    top: 3px;
    height: 20px;
    width: 20px;
}

.question-item {
    display: inline-block;
    background-color: var(--main-btn-color);
    padding: 4px 6px;
    border-radius: 5px;
    font-size: 90%;
    color: var(--black);
    font-weight: bold;
}

.question-item img {
    position: relative;
    top: 3px;
    height: 20px;
    width: 20px;
}



/* BLOG INDEX */
.blog-summary {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 3rem 0;
  background-color: #f7f7f7;
}

.blog-summary h1 {
  font-family: "Inter", sans-serif;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  color: #1b1b1b;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-align: center;
}

.blog-summary .blog-category {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.blog-summary .question-category {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 80%;
}

.blog-summary .question-category h3 {
  font-size: 1.5rem;
  color: #1b1b1b;
  text-align: left;
  width: 100%;
  font-weight: 600;
  border-left: 5px solid var(--blue);
  padding-left: 1rem;
}

.blog-summary .blog-questions-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: flex-start;
}

.blog-summary .blog-question {
  background-color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #ddd;
  width: 300px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-summary .blog-question:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  border-color: var(--blue);
}

.blog-summary .blog-question h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1b1b1b;
  margin-bottom: 0.5rem;
}

.blog-summary .blog-question p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-summary .question-category {
    width: 95%;
  }

  .blog-summary .blog-questions-container {
    justify-content: center;
  }

  .blog-summary .blog-question {
    width: 90%;
  }
}

/* Code To Write  */





/* Blog Category */
.blog-summary .blog-category .question-category .blog-questions-container .blog-question {
  background-color: var(--grey);
  padding: 15px 20px;
  border-radius: 8px;
  width: 500px;
  border: 1px solid var(--grey);
  word-spacing: 2px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.blog-summary .blog-category .question-category .blog-questions-container .blog-question:hover {
    border: 1px solid var(--white);
}

.blog-summary .blog-category .question-category .blog-questions-container .writing-guide-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  background-color: var(--grey);
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

.blog-summary .blog-category .writing-guide-item img {
  height:25px;
  width: 25px;
}


/* SECTIONS  */
.resume-guide h2.fr-title {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

/* Blog Hero  */
.blog-hero {
  display: block;
  color: #fff;
  font-size: 18px;
  font-optical-sizing: auto;
  line-height: 31.68px;
  padding-bottom: 3rem;
  padding-top: 3rem;
  position: relative;
  text-size-adjust :100%;
  unicode-bidi: isolate;
  width: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background: linear-gradient(90deg, #172554 0%, #1E3A8A 100%); 
}

.blog-hero h1 {
  color: #fff;
}


.blog-hero p,
.blog-hero li {
  color: #fff;
}

.blog-hero .breadcrumbs {
  color: var(--green);
}

.blog-hero .blog-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  height: 100%;
  width: 50%;
  margin: auto;
}

.blog-hero .author-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
}

.blog-hero .author-box .author-img-container {
  border-radius: 100%;
  background: linear-gradient(90deg, #3B82F6 0%, #2563EB 100%);
  overflow: hidden;
  height: 70px;
  width: 70px;
  box-shadow: 0 6px 20px rgba(37, 99, 235, .20);
}

.blog-hero .author-box .author-img-container img {
  height: 70px;
  width: 70px;
  position: relative;
}

.blog-hero .author-box .author-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
}

.blog-hero .author-box .author-info p {
  color: #fff;
  font-size: 13px;
  margin-bottom: 0;
}

.blog-hero .author-box .author-info p.author-name {
  font-weight: 700;
  color: #3B82F6;
}

.blog-hero .article-dates p {
  font-size: 12px;
}

@media (max-width: 768px) {
     /* Hero */
    .blog-hero .blog-hero-content {
        width: 90%;
    }

    .blog-hero h1 {
      font-size: 30px;
    }
}


/* ARTICLES */
.resume-guide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  margin: 0;
  padding: 3rem 0;
  background-color: #f7f7f7;
}

.resume-guide h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1.5rem;
  text-align: left;
  width: 100%;
  color: #000;
  -webkit-text-fill-color: #000;
  background-image: none;
  scroll-margin-top: 100px;
}

.resume-guide  h3,
.resume-guide  h4 {
  margin-bottom: 1.25rem;
  width: 100%;
}

.resume-guide li {
    color: #000;
}

.resume-guide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 44%;
}

.resume-guide-content img {
    border-radius: 8px;
}

/* .resume-guide-content .text-underline-blue, */
/* .resume-guide-content .text-underline-green,
.resume-guide-content .text-underline-yellow,
.resume-guide-content .text-underline-red,
.resume-guide-content .text-underline-purple,
.resume-guide-content .text-underline-orange,
.resume-guide-content .text-underline-grey {
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
} */

.resume-guide-content .resume-guide-paragraph {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1.5rem;
    max-width: 720px; 
}

.resume-guide-content .resume-guide-paragraph p {
    font-size: 17px;
    width: 100%;
    line-height: 1.8;
    font-weight: 500;
    text-align: justify;
}

.resume-guide-content .resume-guide-paragraph ul {
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; */
    width: 100%;
}

.resume-guide-content .resume-guide-paragraph ol {
    width: 100%;
}

.resume-guide-content .resume-guide-paragraph li {
    width: 100%;
    margin: 0 0 0 1rem;
    font-size: 17px;
}

.resume-guide-content .resume-guide-paragraph table {
    border-radius: 5px;
    border: 1px solid var(--white);
    border-collapse: separate; border-spacing: 0; text-align: center; overflow: hidden;
    font-family: var(--main-font);
    background-color: var(--white);
}

.resume-guide-content .resume-guide-paragraph table th {
    color: var(--black);
    background-color: var(--light-grey);
    padding: 10px 5px;
}

.resume-guide-content .resume-guide-paragraph table td {
    padding: 10px 5px;
}

.resume-guide-content .resume-guide-paragraph .text-small {
    font-size: var(--small-font);
}

.resume-guide-content .resume-guide-paragraph .text-green {
    color: var(--green);
}

.resume-guide-content .resume-guide-paragraph .text-yellow {
    color: var(--yellow);
}

.resume-guide-content .resume-guide-paragraph .text-red {
    color: var(--red);
}

.resume-guide-content .resume-guide-paragraph .text-purple {
    color: #9b5de5;
}

.resume-guide-content .resume-guide-paragraph .text-orange {
    color: #ff9f1c;
}



/* Resume Snippet – Torn Notebook Style */
.resume-guide-content .resume-snippet {
    position: relative;
    background-color: #fcfcfc;
    color: #222;
    font-family: 'Georgia', serif;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 700px;
    width: 100%;
    border-radius: 8px 8px 0 0;
    border: 1px solid #ddd;
    background-image: 
        linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}


.resume-guide-content .resume-snippet::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: 
        radial-gradient(circle at 10px 10px, transparent 10px, #fcfcfc 11px),
        radial-gradient(circle at 30px 10px, transparent 10px, #fcfcfc 11px),
        radial-gradient(circle at 50px 10px, transparent 10px, #fcfcfc 11px),
        radial-gradient(circle at 70px 10px, transparent 10px, #fcfcfc 11px);
    background-repeat: repeat-x;
    background-size: 40px 20px;
    z-index: 1;
}

.resume-guide-content .resume-snippet .resume-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #222;
    font-family: "Inter", sans-serif;
}

.resume-guide-content .resume-snippet p,
.resume-guide-content .resume-snippet ul li {
    font-size: 1rem;
    margin-left: 0;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.resume-guide-content .resume-snippet ul {
    padding-left: 1.5rem;
    list-style-type: disc;
}


/* Remove Hover for snippets */
.resume-snippet .text-blue:hover {
  color: #3B82F6;
}

.resume-snippet .text-green:hover {
  color: #16a34a;
}

.resume-snippet .text-yellow:hover {
  color: #ca8a04;
}

.resume-snippet .text-red:hover {
  color: #dc2626;
}

.resume-snippet .text-orange:hover {
  color: #ea580c;
}

.resume-snippet .text-purple:hover {
  color: #7c3aed;
}

.resume-snippet .text-teal:hover {
  color: #14b8a6; 
}



/* WIDGETS  */
/* Progresss Bar */
#scroll-progress-container {
  position: fixed;
  top: 80px;  
  left: 0;
  width: 100%;
  height: 4px;
  background-color:#f7f7f7;
  z-index: 9998;  
}

#scroll-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #23ce6b 0%, #23ce6b 100%);
  transition: width 0.25s ease-out;
  /* box-shadow: 0 0 4px #459666, 0 0 15px #23ce6b; */
  box-shadow: 0 0 2px #459666, 0 0 5px #23ce6b;
}



/* Table of Contents */
.toc-floating-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  margin-left: auto;
  z-index: 9997;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  width: 240px;
  padding: 1rem;
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

.toc-floating-box .toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toc-floating-box .toc-title {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
  color: #1a1a1a;
  margin: 0;
  font-family: "Inter", sans-serif;
}


#tocToggleBtn {
  background: none;
  border: none;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  margin-left: 0.5rem;
  transition: color 0.2s ease;
}

#tocToggleBtn:hover {
  color: var(--blue);
}

.toc-floating-box .toc-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-floating-box .toc-links li:first-child {
    margin-top: .75rem;
}

.toc-floating-box .toc-links li {
  margin-bottom: 0.5rem;
}

.toc-floating-box .toc-links a {
  color: #333;
  text-decoration: none;
  padding-left: 0.5rem;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  display: inline-block;
}

.toc-floating-box .toc-links a:hover {
  color: var(--blue);
  border-left: 3px solid var(--blue);
}

.toc-floating-box.collapsed .toc-links {
  display: none;
}

@media (max-width: 768px) {
  .toc-floating-box {
    display: none;
  }
}





/* Social Media Sharing */
.share-bar {
  position: fixed;
  bottom: 20px;
  left: 20px;
  margin-right: auto;
  display: flex;
  flex-direction: row;
  gap: 10px;
  z-index: 9997;
}

.share-bar.col {
  flex-direction: column;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.share-btn.email {
  background-color: #fff;
}

.share-btn:hover {
  transform: scale(1.1);
}

.share-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* new markup: inline SVG icons + label/set wrappers */
.share-btn svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: #fff;
}

.share-bar__set {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

/* the label only shows on the desktop rail (see the 1280px block) */
.share-bar__label {
  display: none;
  margin: 0;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #5f6368;
}

.facebook {
  background-color: #3c5a9a;
}

.twitter {
  background-color: #000;
}

.linkedin {
  background-color: #0077b5;
}

.reddit {
  background-color: #FF4500;
}

/* FAQ */
.faq-section {
  margin: 4rem auto;
  padding: 2rem;
  max-width: 720px;
  background-color: #fcfcfc;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.faq-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #000;
  text-align: center;
}

.faq-item {
  margin-bottom: 1rem;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  content: '–';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-answer.expanded {
  max-height: 500px; /* Set high enough for longest answer */
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.faq-answer.expanded {
  max-height: 1000px;
}

.faq-answer p {
  font-size: 1rem;
  color: #333;
  margin: 1rem 0;
  line-height: 1.7;
}


/* Review  */
@media (max-width: 768px) {
  
 .resume-guide .tcv-free-review-split {
    width: 100vw;
    margin: 0;
    border-radius: 0;
  }
}


/* Blog Tags */
.blog-tags {
  margin: auto;
  width: 100%;
}

.blog-tags h3 {
  width: 100%;
  text-align: center;
}

.blog-tags ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 0.5rem;
  padding-left: 0;
  margin-bottom: 1rem;
}

.blog-tags li a {
  background-color: #eee;
  color: #333;
  padding: .5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
}

.blog-tags li a:hover {
  background-color: #ccc;
}



/* About The Author  */
.about-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  width: 50%;
}

.about-author .author-photo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  background: linear-gradient(90deg, #3B82F6 0%, #2563EB 100%);
  border-radius: 50%;
}

.about-author .author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-author .author-details {
  flex: 1;
  font-family: "Inter", sans-serif;
}

.about-author .author-details h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #3B82F6;
  font-weight: 700;
  text-align: center;
}

.about-author .author-details .author-name {
  font-weight: bold;
  color: #1a1a1a;
  text-align: center;
}

.about-author .author-details p {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1rem;
}

.about-author .author-cta {
  display: inline-block;
  color: #3B82F6;
  font-weight: 600;
  text-align: center;
  width: 100%;
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: color 0.2s ease-in-out;
}

.about-author .author-cta:hover {
  color: var(--green);
}

/* Responsive design */
@media (max-width: 768px) {
  .about-author {
    width: 95%;
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .about-author .author-photo {
    margin-bottom: 1rem;
  }
}




/* Related Articles  */
.related-posts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
  width: 100%;
}

.related-posts h2 {
  text-align: center;
}

.related-posts .post-cards-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}


 /* Post Card  */
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%; 
  width: 300px;
  padding: 2rem;
  background-color: #fcfcfc;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.post-card .post-body {
  flex-grow: 1;  
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 370px;
}

.post-card a.btn-review {
  margin-top: auto;  
}


.post-card h3 {
    margin-bottom: 1rem;
    text-align: center;
}


.post-card .post-description {
  font-size: 1rem;
  text-align: center;
}

.post-card .post-date {
  font-size: 12px;
  text-align: center;
}

@media (max-width: 768px) {

  .related-posts {
    margin-bottom: 3rem;
  }
    /* Related Posts */
  .post-scroller {
      flex-direction: column;
      gap: 1.5rem;
  }

  .post-card {
    width: 100%;
    height: auto;
  }

  .post-card .post-body {
    height: auto;
  }
}



/* MEDIA QUERIES */
@media (max-width: 768px) {

     .resume-guide {
       padding: 10% 5%;
     }

    /* ELEMENTS */
    .resume-guide h2, 
    .resume-guide h3,
    .resume-guide h4,
    .resume-guide .resume-guide-paragraph {
        width: 100%;
    }


    /* BLOG INDEX */
    .blog-summary {
        width: 100%;
    }

    .blog-summary h1 {
        font-size: 4.75vh;
        line-height: 1.2;
        letter-spacing: 3px;
    }
   
    .blog-summary h3 {
        font-size: var(--large-font);
    }

    .blog-summary .blog-category {
        flex-wrap: nowrap;
    }

    .blog-summary .blog-category .question-category .blog-questions-container a
    {
        width: 90%;
        margin: auto;
    }

    .blog-summary .blog-category .question-category .blog-questions-container .blog-question, 
    .blog-summary .blog-category .question-category .blog-questions-container .resume-guide-item {
        width: 95%;
        line-height: 1.5; 
    }

    /* ARTICLES */
    /* Article Body */
    .resume-guide-content {
        width: 100%;
    }

    .resume-guide-content .resume-snippet {
       padding: 1rem;
    }

    /* FAQ */
    .faq-section {
      padding: 1.5rem 1rem;
      margin: 1rem;
      border-radius: 8px;
      width: 100%;
      margin: auto;
    }

    .faq-title {
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
      text-align: center;
    }

    .faq-question {
      padding: 0.75rem 1rem;
      font-size: 1rem;
    }

    .faq-question::after {
      right: 1rem;
      font-size: 1.2rem;
    }

    .faq-answer {
      padding: 0 1rem;
    }

    .faq-answer.expanded {
      padding-top: 0;
    }

    .faq-answer p {
      font-size: 0.95rem;
      line-height: 1.6;
    }

   /* Related Posts */
  .related-posts .post-cards-container {
      flex-direction: column;
      gap: 1.5rem;
  }


    /* WIDGETS */
    /* Social Media Sharing */
    .share-bar {
    position: fixed;
    bottom: 0px;
    left: auto;
    width: 100%;
    height: 60px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    gap: 12px;
    padding: 0;
  }

  .share-bar.col {
    flex-direction: row;
  }

  .share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transform: none !important; /* disable scaling for mobile */
  }

  .share-btn:hover {
    transform: none; /* no scaling on mobile */
  }

  .share-btn img {
    width: 24px;
    height: 24px;
  }

  /* Optional: hide text labels if any were re-added later */
  .share-btn span {
    display: none;
  }
}




/* Table (Resume Photo) */
table.resume-photo-table {
  position: relative;
  top: -2rem;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Inter", sans-serif;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.resume-photo-table th {
  background-color: #f4f4f4;
  color: #1b1b1b;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

.resume-photo-table td {
  text-align: center;
  font-size: 0.95rem;
  color: #333;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.resume-photo-table tr:last-child td {
  border-bottom: none;
}

/* Tag styles */
.resume-photo-table strong.expected {
  background-color: #e9f8f0;
  color: #23ce6b;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-block;
}

.resume-photo-table strong.optional {
  background-color: #fff7e6;
  color: #ff9900;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-block;
}

.resume-photo-table strong.not-expected {
  background-color: #fdecea;
  color: #e63946;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-block;
}

.resume-photo-table td:nth-child(1),
.resume-photo-table td:nth-child(2) {
  width: 160px;
}

.resume-photo-table td:nth-child(1),
.resume-photo-table td:nth-child(3) {
  text-align: left;
}

.resume-photo-table td:nth-child(3) {
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .resume-photo-table th,
  .resume-photo-table td {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
}




/* Article: Resume Photo */
.photo-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.photo-item {
  width: 160px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo-item img {
  width: 100%;
  height: 220px; /* ID-style bust framing */
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.photo-caption {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #444;
  text-align: center;
  line-height: 1.3;
  min-height: 2.5rem; /* Force space for 2 lines */
}

/* Icon badge styling */
.photo-item::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 100%;
}

/* Red ❌ badge */
.photo-item[data-status="dont"]::before {
  background-image: url('/images/svg/red-cross-icon.svg');
}

/* Green ✅ badge */
.photo-item[data-status="do"]::before {
  background-image: url('/images/svg/green-check-icon.svg');
}


@media (max-width: 768px) {
  .photo-grid {
    width: 100%;
  }
}


/* =========================================
   BLOG / WRITING GUIDE — ARTICLE SUMMARY
   (Flex version: fixes word-wrapping issues)
   ========================================= */

.article-summary {
  --card-bg: #fff;
  --card-border: rgba(0,166,251,0.22);
  --card-shadow: 0 10px 24px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
  --ring: rgba(0,166,251,0.18);

  width: 100%;
  max-width: 720px;
  margin: 1rem auto 2rem;
  padding: 1rem 1.25rem 1.25rem;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(0,166,251,0.04), transparent 60%),
    radial-gradient(120% 100% at 100% 0%, rgba(35,206,107,0.04), transparent 60%),
    var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  position: relative;
  isolation: isolate;
  backdrop-filter: saturate(1.05);
}

/* Top gradient accent bar */
.article-summary::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto -1px;
  height: 8px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--green), var(--blue));
  opacity: 0.35;
}

/* Header */
.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .25rem;
}

.summary-eyebrow {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.04);
  color: #1a1a1a;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .3px;
  text-transform: uppercase;
  border: 1px solid #ececec;
}

.summary-title {
  margin: 0 0 0 auto;
  text-align: right;
  font-weight: 700;
  color: #000;
  font-size: 1.05rem;
  letter-spacing: .2px;
}

/* Body */
.summary-body { 
  margin-top: .75rem; 
}

/* List */
.summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;           
  gap: .35rem;
}



/* Item: FLEX to avoid weird text wrapping */

.resume-guide-content .resume-guide-paragraph a {
   text-decoration: none;
   width: 100%;
}

.resume-guide-content .resume-guide-paragraph li.summary-list-item {
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem;     
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  line-height: 1.7;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
} 

/* Leading icon as a real flex item */
.resume-guide-content .resume-guide-paragraph li.summary-list-item::before {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background-image: url('/images/svg/green-check-icon.svg');
  background-size: 18px 18px;
  background-repeat: no-repeat;
  opacity: .95;
}

/* Text (including the (I)/(II) strong tag) */
.resume-guide-content .resume-guide-paragraph li.summary-list-item strong {
  font-weight: 700;
  color: #000;
  margin-right: .25rem;
}

/* Hover / Focus */
.resume-guide-content .resume-guide-paragraph li.summary-list-item:hover,
.resume-guide-content .resume-guide-paragraph li.summary-list-item:focus-within {
  transform: translateY(-1px);
  border-color: rgba(0,166,251,0.45);
  box-shadow:
    0 10px 20px rgba(0,0,0,0.08),
    0 0 0 3px rgba(0,166,251,0.12);
  background: #fff;
}

/* Optional Sticky Variant */
@media (min-width: 1024px) {
  .article-summary--sticky { position: sticky; top: 110px; }
}

/* Responsive */
@media (max-width: 768px) {
  .article-summary { padding: .85rem 1rem 1rem; border-radius: 10px; }
  .summary-title { font-size: 1rem; }
  .summary-list { gap: .3rem; }
  .resume-guide-content .resume-guide-paragraph li.summary-list-item { padding: .55rem .85rem; }
  .resume-guide-content .resume-guide-paragraph li.summary-list-item::before { flex-basis: 16px; width: 16px; height: 16px; }
}


/* Footer Fix */
footer li {
  margin-bottom: 0;
}





/* COMPONENTS  */
/* Snippet Sumary */
.snippet-summary {
    background-color: var(--tile); 
    padding: 2rem;
    border-left: 6px solid var(--green);  
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.08);
}

.snippet-summary p {
    margin: 0 !important;
    font-style: italic;
    font-size: var(--medium-font);
    line-height: 1.7;  
    color: var(--main-font-color);
}

.snippet-summary strong {
    font-style: normal;  
    color: var(--ink);
}




/* Summary Box */
.guide-summary-box {
    margin: 1rem 0 2rem;
}

.guide-summary-box p {
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.guide-summary-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: .5rem;
}

.guide-summary-box li {
    background-color: var(--tile);
    padding: 1.25rem 1.5rem 1.25rem 3rem; 
    border-left: 4px solid var(--blue2);
    border-radius: 8px;
    font-size: var(--medium-font);
    line-height: 1.6;
    color: var(--main-font-color);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    position: relative; 
    margin-bottom: 12px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.guide-summary-box li:last-child {
    margin-bottom: 0;
}

.guide-summary-box li::before {
    content: "→";
    position: absolute;
    left: 1.25rem;
    top: 1.25rem;
    color: var(--blue2);
    font-weight: bold;
}

@media (max-width: 768px) {

  .resume-guide-content .resume-guide-paragraph .guide-summary-box li {
   margin: 0;
  }
}



/* Images */
.guide-figure {
    margin: 2rem auto;
    max-width: 100%;
    text-align: center;
}

.guide-figure img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    height: auto; /* Ensures aspect ratio is kept */
}

.guide-figure figcaption {
    margin-top: 10px;
    font-size: var(--small-font);
    color: var(--muted);
    font-style: italic;
    line-height: 1.6;
}



/* Pro Tip  */
/* Recruiter Pro-Tip Box */
.pro-tip {
    background-color: var(--tile);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0 2.5rem ;
    border: 1px solid var(--ring);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pro-tip::before {
    content: "RECRUITER PRO-TIP";
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--blue-bg);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.pro-tip p {
    font-size: 15px !important;
    line-height: 1.6;
    margin: 0 !important;
    color: var(--ink);
}

.pro-tip strong {
    color: var(--blue2);
}




/* Formula Container */
.formula-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 2.5rem 0;
}

.formula-step {
    background: var(--tile);
    border: 1px solid rgba(37, 99, 235, 0.1); /* Subtle blue border */
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
    /* This shadow makes the pills "pop" off the page */
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1); 
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: default;
}
 
.formula-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
}

.formula-step span {
    background: var(--blue2);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}



/* Next Chapter Box */
.next-chapter-box {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    background-color: var(--tile);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.05); /* Very timid blue */
}

.next-chapter-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--blue2);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.next-chapter-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.next-chapter-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--main-font-color);
}





/* =========================================
   ROLE PROFILES
   ========================================= */

.role-profile-category {
  width: 100%;
  margin: 1.7rem 0;
}

.role-profile-category .category-content {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 9px 21px rgba(37, 99, 235, 0.08),
              0 2px 5px rgba(15,23,42,0.04);
}

.role-profile-category .category-content > div {
  padding: 15px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.role-profile-category .category-content > div + div {
  border-top: 1px solid rgba(37, 99, 235, 0.12);
}

/* =========================================
   Soft tonal blue backgrounds
   ========================================= */

.role-profile-category .engineering-concepts {
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.10) 0%,
    rgba(37, 99, 235, 0.06) 100%
  );
}

.role-profile-category .technologies {
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.07) 0%,
    rgba(37, 99, 235, 0.04) 100%
  );
}

.role-profile-category .metrics {
  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.05) 0%,
    rgba(37, 99, 235, 0.025) 100%
  );
}

/* =========================================
   FLOATING "+" ICONS — BORDERLESS, FULL-SPACE
   ========================================= */

.role-profile-category .technologies::before,
.role-profile-category .metrics::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 29px;
  height: 29px;

  background-image: url("/images/svg/add-icon-green.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;

  z-index: 6;
  pointer-events: none;
  opacity: 1;

  filter: drop-shadow(0 3px 9px rgba(35, 206, 107, 0.45));
}

/* =========================================
   Content layout
   ========================================= */

.role-profile-category h3 {
  color: #434343;
}

.role-profile-category .engineering-concepts,
.role-profile-category .technologies,
.role-profile-category .metrics {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* =========================================
ENGINEERING CONCEPTS
   ========================================= */
.engineering-concepts {
  width: 100%;
}

/* Concept card  */
.engineering-concepts .concept {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0.85rem;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 0.78rem 0.86rem;
  margin-top: 0.78rem;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.06);
}

/* Left side: icon + title block */
.engineering-concepts .concept-header {
  display: flex;
  align-items: center;
  gap: 0.56rem;
  min-width: 0;
}

/* Icon “pill” */
.engineering-concepts .concept-icon {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 2px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.08);
  object-fit: contain;
}

/* Title: NO TRUNCATION, controlled wrapping */
.engineering-concepts .concept-header p {
  margin: 0;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.32;
  letter-spacing: 0.1px;
  font-size: 13px;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}

/* Right side: definition */
.engineering-concepts .concept-definition {
  min-width: 0;
}

.engineering-concepts .concept-definition p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.75);
  font-weight: 400;
}

/* Hover (subtle, consistent with your system) */
.engineering-concepts .concept:hover {
  border-color: rgba(30, 58, 138, 0.18);
  box-shadow: 0 9px 18px rgba(15, 23, 42, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .engineering-concepts .concept {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .engineering-concepts .concept-header {
    align-items: center;
  }
}

/* =========================================
   CONTAINERS
   ========================================= */
.resume-guide-content.role-profile {
  width: 100%;
  max-width: 963px;
  margin: 0 auto 2.15rem;
  gap: 4.3rem;
}

/* ROLE PROFILE CATEGORY TEMPLATE */
.role-profile-category-display {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0.95rem;
}

.role-profile-category-display p,
.role-profile-category-display h2 {
  margin-bottom: 0;
}

.role-profile-category-display h2 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #0f172a;
}

/* Menu */
.role-profile-category-display .role-profile-category-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.65rem;
  width: 100%;

  position: sticky;
  top: 0;
  z-index: 20;
  height: 52px;
  padding-bottom: 7px;
}

.role-profile-category-display .role-profile-category-menu .role-profile-category-menu-btn {
  padding: 5px 9px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.role-profile-category-display .role-profile-category-menu .role-profile-category-menu-btn:hover {
  background: #e2e8f0;
  border-color: #2563EB;
}

.role-profile-category-display .role-profile-category-menu .role-profile-category-menu-btn.active,
.role-profile-category-display .role-profile-category-menu .role-profile-category-menu-btn[aria-selected="true"] {
  background: #2563EB;
  border-color: #2563EB;
  color: #ffffff;
}

.role-profile-category-display .role-profile-category-menu .role-profile-category-menu-btn p {
  font-size: 11.5px;
}

.role-profile-category-display .role-profile-category-menu .role-profile-category-menu-btn img {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border-radius: 999px;
  padding: 3px;
  background: #f3f4f6;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  object-fit: contain;
}

.role-profile-category-display .role-profile-category-menu .role-profile-category-menu-btn.active p {
  color: #fff;
}

/* Header */
.role-profile-category-display .role-profile-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.08rem;
  width: 100%;
  position: sticky;
  top: 0px;
  z-index: 19;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.role-profile-category-display .role-profile-category-header .description {
  flex: 1 1 auto;
  max-width: 620px;
  border-radius: 7px;
  color: #1f2933;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.role-profile-category-display .role-profile-category-header .recruiter-interest-level {
  padding: 3px 9px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.role-profile-category-display .role-profile-category-header .recruiter-interest-level p {
  font-size: 11.5px;
}

/* Content area */
.role-profile-category-display .role-profile-category-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 1.3rem;
  max-height: calc(100vh - 175px);
  overflow-y: auto;
  padding-right: 5px;
}

.role-profile-category-display .role-profile-category-content .content-list {
  display: flex;
  justify-content: stretch;
  align-items: flex-start;
  width: 100%;
  gap: 1.3rem;

  height: calc(100vh - 320px);
  overflow: hidden;
}

.role-profile-category-display .role-profile-category-content .content-list .component-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.73rem;

  max-height: 100%;
  overflow-y: auto;
  padding-right: 5px;
  -webkit-overflow-scrolling: touch;
}

.role-profile-category-display .role-profile-category-content .content-list .component-list .hidden {
  display: none;
}

/* Small-screen tweaks */
@media (max-width: 768px) {
  .role-profile-category-display {
    gap: 0.78rem;
  }

  .role-profile-category-display .role-profile-category-menu {
    position: relative;
    top: auto;
    height: auto;
    padding-bottom: 0;
  }

  .role-profile-category-display .role-profile-category-header {
    position: relative;
    top: auto;
    border-bottom: none;
    padding-bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .role-profile-category-display .role-profile-category-header .description {
    order: -1;
    width: 100%;
    max-width: 100%;
  }

  .role-profile-category-display .role-profile-category-header .recruiter-interest-level {
    white-space: normal;
  }

  .role-profile-category-display .role-profile-category-content {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    gap: 1rem;
  }

  .role-profile-category-display .role-profile-category-content .content-list {
    flex-direction: column;
    gap: 0.86rem;
    height: auto;
    overflow: visible;
  }

  .role-profile-category-display .role-profile-category-content .content-list .component-list {
    width: 100%;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

/* =========================================
   TECHNOLOGIES
   ========================================= */

.technology-type {
  display: grid;
  grid-template-columns: minmax(103px, 0.85fr) minmax(0, 2.2fr);
  align-items: flex-start;
  gap: 0.65rem;

  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.7);
  border-radius: 9px;
  padding: 0.6rem 0.73rem;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
}

/* Technology Header */
.technology-type-header {
  display: flex;
  flex-direction: column;
  gap: 0.13rem;
  min-width: 0;
}

.technology-type-header p {
  font-size: 11.5px;
}

.technology-type-header p:first-child {
  margin: 0;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.18px;
}

/* Technology pills list */
.technology-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 7px;
  justify-content: flex-start;
  align-items: center;
}

/* Pill */
.technology {
  display: inline-flex;
  align-items: center;
  height: 22px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.9);
  border-radius: 999px;
  overflow: hidden;
  padding-right: 7px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

/* Icon “married” to pill */
.technology .technology-icon {
  height: 100%;
  width: 22px;
  min-width: 22px;
  object-fit: contain;
  background: #ffffff;
  border-right: 1px solid rgba(148, 163, 184, 0.7);
  border-radius: 999px 0 0 999px;
  padding: 3px;
  box-sizing: border-box;
}

/* Name */
.technology .technology-name {
  margin: 0;
  padding-left: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .technology-type {
    grid-template-columns: 1fr;
    gap: 0.52rem;
  }

  .technology-list {
    gap: 5px;
  }
}

/* =========================================
   TECHNIQUES
   ========================================= */

/* TECHNIQUE TYPE (card shell matches .technology-type) */
.technique-type {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.7);
  border-radius: 9px;
  padding: 0.6rem 0.73rem;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
}

/* Header: icon + title */
.technique-header {
  display: flex;
  align-items: center;
  gap: 0.43rem;
  min-width: 0;
}

.technique-header .concept-icon {
  width: 21px;
  height: 21px;
  padding: 3px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  object-fit: contain;
}

.technique-header p {
  margin: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.18px;
  line-height: 1.3;
}

/* Body: soft panel so it reads like a component, not loose text */
.technique-type .engineering-technique-list {
  background: #f8fafc;
  border-radius: 7px;
  padding: 0.56rem 0.69rem;
}

.technique-type .engineering-technique-list p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  color: #111827;
}

/* Responsive */
@media (max-width: 768px) {
  .technique-type {
    padding: 0.56rem 0.65rem;
    gap: 0.47rem;
  }

  .technique-type .engineering-technique-list {
    padding: 0.52rem 0.65rem;
  }
}

/* =========================================
   METRICS
   ========================================= */

/* METRIC ROW */
.metric-type {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(190px, 1.2fr);
  grid-template-areas:
    "name benchmark"
    "example example";
  gap: 7px 12px;

  padding: 9px 10px;
  border-radius: 9px;

  background: #ffffff;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.7);

  align-items: flex-start;
}

/* BASE TEXT */
.metric-type p {
  margin: 0;
  color: #0f172a;
  font-size: 11px;
  line-height: 1.42;
}

/* METRIC NAME BLOCK (left top) */
.metric-type .metric-name {
  grid-area: name;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* METRIC NAME */
.metric-type .metric-name p:first-child {
  font-weight: 750;
  color: #172554;
  letter-spacing: 0.18px;
  font-size: 11.75px;
}

/* METRIC DEFINITION */
.metric-type .metric-name p.metrics-definition {
  font-weight: 400;
  color: rgba(15, 23, 42, 0.7);
  font-size: 10.75px;
  line-height: 1.5;
  display: none;
}

/* UNIT CHIP */
.metric-type .metric-name p:last-child {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;

  padding: 3px 8px;
  border-radius: 10px;

  background: rgba(15, 23, 42, 0.025);
  border: 1px solid rgba(148, 163, 184, 0.8);

  color: rgba(15, 23, 42, 0.8);
  font-weight: 650;
  font-size: 10.5px;
  line-height: 1;
}

/* 📐 PREFIX BEFORE UNIT */
.metric-type .metric-name p:last-child::before {
  content: "📐";
  font-size: 12px;
  line-height: 1;
}

/* =========================================
   BENCHMARK (right column)
   ========================================= */

.metric-type .metric-benchmark {
  grid-area: benchmark;
  display: flex;
  align-items: center;
  min-width: 0;
}

.metric-type .metric-benchmark .benchmark-leaderboard {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* one row: medal + bar */
.metric-type .metric-benchmark .benchmark-leaderboard .lb-row {
  display: grid;
  grid-template-columns: 19px 1fr;
  gap: 7px;
  align-items: center;
}

/* medal */
.metric-type .metric-benchmark .benchmark-leaderboard .lb-medal {
  width: 19px;
  height: 19px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.8);

  font-size: 13px;
}

/* bar container */
.metric-type .metric-benchmark .benchmark-leaderboard .lb-bar {
  position: relative;
  border-radius: 999px;
  padding: 3px 9px;

  overflow: hidden;
  min-width: 0;

  background: linear-gradient(
    90deg,
    rgba(37, 99, 235, 0.08),
    rgba(37, 99, 235, 0.03)
  );

  border: 1px solid rgba(148, 163, 184, 0.9);
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.06);
}

/* text sits above fill */
.metric-type .metric-benchmark .benchmark-leaderboard .lb-text {
  position: relative;
  z-index: 2;

  display: inline-block;
  font-weight: 750;
  font-size: 10.5px;
  color: rgba(15, 23, 42, 0.85);
  letter-spacing: 0.08px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* fill layer */
.metric-type .metric-benchmark .benchmark-leaderboard .lb-fill {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;

  width: 60%;

  background: linear-gradient(
    90deg,
    rgba(35, 206, 107, 0.18),
    rgba(35, 206, 107, 0.06)
  );

  border-right: 1px solid rgba(35, 206, 107, 0.18);
}

/* rank medals */
.metric-type .metric-benchmark .benchmark-leaderboard .lb-great .lb-medal::before { content: "🥇"; }
.metric-type .metric-benchmark .benchmark-leaderboard .lb-good .lb-medal::before { content: "🥈"; }
.metric-type .metric-benchmark .benchmark-leaderboard .lb-average .lb-medal::before { content: "🥉"; }

/* rank widths */
.metric-type .metric-benchmark .benchmark-leaderboard .lb-great .lb-bar {
  border-color: rgba(35, 206, 107, 0.35);
}
.metric-type .metric-benchmark .benchmark-leaderboard .lb-great .lb-fill {
  width: 88%;
  background: linear-gradient(90deg, rgba(35, 206, 107, 0.24), rgba(35, 206, 107, 0.08));
  border-right-color: rgba(35, 206, 107, 0.22);
}

.metric-type .metric-benchmark .benchmark-leaderboard .lb-good .lb-fill {
  width: 64%;
  background: linear-gradient(90deg, rgba(35, 206, 107, 0.18), rgba(35, 206, 107, 0.06));
  border-right-color: rgba(35, 206, 107, 0.18);
}

.metric-type .metric-benchmark .benchmark-leaderboard .lb-average .lb-fill {
  width: 44%;
  background: linear-gradient(90deg, rgba(35, 206, 107, 0.12), rgba(35, 206, 107, 0.04));
  border-right-color: rgba(35, 206, 107, 0.14);
}

/* =========================================
   QUOTE EXAMPLE – full-width bottom row
   ========================================= */

.metric-type .metric-example {
  grid-area: example;
}

.metric-type .metric-example p {
  font-style: italic;
  color: rgba(15, 23, 42, 0.8);
  font-size: 10.75px;
  line-height: 1.5;

  padding: 6px 8px 6px 10px;
  border-left: 3px solid rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.04);
  border-radius: 7px;

  overflow-wrap: break-word;
  white-space: normal;
}

/* HOVER POLISH */
.metric-type:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 3px 9px rgba(37, 99, 235, 0.08);
}

.metric-type:hover .metric-example p {
  border-left-color: rgba(37, 99, 235, 0.6);
  background: rgba(37, 99, 235, 0.06);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
  .metric-type {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "benchmark"
      "example";
    gap: 7px;
    padding: 8px;
  }

  .metric-type .metric-benchmark .benchmark-leaderboard .lb-row {
    grid-template-columns: 19px 1fr;
  }
}


/* Nested heading scale. On pages where the article body sits under a single
   H2, everything shifts down one rung: H2 = section, H3 = what used to be the
   section headings, H4 = what used to be the sub-headings. Scoped to the
   article body so the other toolkit articles keep their original scale, and
   so the free-review, author and related-post headings are untouched. */
.resume-guide--nested .resume-guide-content h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  margin-bottom: 1.75rem;
  scroll-margin-top: 100px;
}

.resume-guide--nested .resume-guide-content h3 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: #000;
  scroll-margin-top: 100px;
}

.resume-guide--nested .resume-guide-content h4 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: 0.9rem;
  color: #1b1b1b;
}

/* the next-chapter card sets its own scale */
.resume-guide--nested .resume-guide-content .next-chapter-box h3 {
  font-size: 1.3rem;
  margin-top: 0;
}


/* ---- Action verbs: comparison table + verb groups ---- */
.rv-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  background: #fff;
}

.rv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  min-width: 640px;
}

.rv-table th,
.rv-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #ededed;
}

.rv-table thead th {
  background: #f7f7f7;
  font-weight: 600;
  color: #1b1b1b;
  white-space: nowrap;
}

.rv-table tbody tr:last-child td { border-bottom: none; }
.rv-table tbody tr:hover { background: #fbfbfb; }

.rv-table .rv-bad {
  color: #8a8a8a;
  text-decoration: line-through;
  text-decoration-color: #d9a3a3;
}

.rv-table .rv-good {
  color: #000;
  font-weight: 600;
}

.rv-verbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  width: 100%;
}

.rv-verb-group {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
}

.rv-verb-group:hover { border-color: #c9c9c9; }

.rv-verb-title {
  font-weight: 600;
  color: #1b1b1b;
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.rv-verb-list {
  color: #444;
  line-height: 1.75;
  font-size: 0.98rem;
  margin: 0;
}

@media (max-width: 768px) {
  .rv-table { font-size: 0.92rem; }
  .rv-table th, .rv-table td { padding: 0.75rem 0.85rem; }
}


/* =====================================================================
   ON THIS PAGE  (Material-style navigation list)
   Uses the --md-* tokens from main.css. Rows are 40px pill targets with a
   leading icon, numbered badges for the 5 levels tinted to match the hero
   illustration, and a filled active pill driven by js/toc-spy.js.
   Keeps the tocBox / tocToggleBtn / tocLinks ids because blog.js binds to
   them. It is a <nav>, so the bare `nav` rule in main.css (fixed, z-index
   9999) has to be reset here or it covers the site navbar.
   ===================================================================== */
.toc-floating-box.toc-inline {
  position: static;
  top: auto;
  bottom: auto;
  right: auto;
  z-index: auto;
  height: auto;
  width: 100%;
  max-width: none;
  margin: 0 0 2.25rem;
  /* unboxed: a plain list hanging off a hairline rule, no card */
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--md-font);
  font-weight: 400;
  letter-spacing: normal;
  color: var(--md-on-surface);
}

.toc-floating-box.toc-inline .toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0.55rem 14px;
}

.toc-floating-box.toc-inline .toc-title {
  margin: 0;
  font-family: var(--md-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--md-on-surface-variant);
}

/* blog.js swaps the label between + and - as textContent; the glyph is
   hidden and a chevron is drawn instead, rotated from the collapsed class. */
.toc-floating-box.toc-inline #tocToggleBtn {
  position: relative;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: none;
  color: var(--md-on-surface-variant);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.toc-floating-box.toc-inline #tocToggleBtn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  border-radius: 1px;
  transform: translate(-50%, -25%) rotate(225deg);
  transition: transform .2s ease;
}

.toc-floating-box.toc-inline.collapsed #tocToggleBtn::before {
  transform: translate(-50%, -75%) rotate(45deg);
}

.toc-floating-box.toc-inline #tocToggleBtn:hover {
  background: var(--md-surface-variant);
  color: var(--md-on-surface);
}

.toc-floating-box.toc-inline .toc-links {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0 0 0 2px;
  border-left: 2px solid rgba(60, 64, 67, .14);
}

.toc-floating-box.toc-inline .toc-links li { margin: 0; }

.toc-floating-box.toc-inline .toc-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  padding: 0 12px;
  border: none;
  border-radius: 20px;
  color: var(--md-on-surface-variant);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.toc-floating-box.toc-inline .toc-links a:hover { background: var(--md-surface-variant); color: var(--md-on-surface); }
.toc-floating-box.toc-inline .toc-links a:focus-visible { outline: 2px solid var(--md-primary); outline-offset: 1px; }

.toc-floating-box.toc-inline .toc-links a.is-active {
  background: var(--md-primary-container);
  color: var(--md-on-primary-container);
  font-weight: 600;
}

/* leading icon */
.toc-ico { flex: 0 0 20px; width: 20px; height: 20px; display: block; color: currentColor; }
.toc-ico svg { width: 20px; height: 20px; display: block; }
.toc-label { min-width: 0; }

/* numbered badges, tinted like the levels in the hero illustration */
.toc-badge {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.toc-badge--1 { background: #f1f3f4; color: #9aa0a6; }
.toc-badge--2 { background: #e8f0fe; color: #8ab4f8; }
.toc-badge--3 { background: #d2e3fc; color: #4285f4; }
.toc-badge--4 { background: #aecbfa; color: #1a73e8; }
.toc-badge--5 { background: #1a73e8; color: #ffffff; }

.toc-floating-box.toc-inline.collapsed .toc-links { display: none; }

@media (max-width: 768px) {
  .toc-floating-box.toc-inline { display: block; }
}

/* ---- desktop: article centred on the page, TOC in the left margin,
   share rail in the right margin ---- */
@media (min-width: 1280px) {
  .resume-guide--nested .resume-guide-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 680px) minmax(0, 1fr);
    align-items: start;
    width: 100%;
    padding-inline: 24px;
  }

  .resume-guide--nested .resume-guide-content > * { grid-column: 2; min-width: 0; }

  .resume-guide--nested .resume-guide-content > .toc-inline {
    grid-column: 1;
    grid-row: 1 / 500;
    justify-self: end;
    align-self: start;
    position: sticky;
    top: 104px;
    width: 246px;
    margin: 0 56px 0 0;
  }

  /* right rail: share icons over the compact review widget */
  .resume-guide--nested .resume-guide-content > .art-rail-right {
    grid-column: 3;
    grid-row: 1 / 500;
    justify-self: start;
    align-self: start;
    position: sticky;
    top: 112px;
    width: 246px;
    margin-left: 52px;
    z-index: 1;
  }

  /* the bar is fixed to the viewport by default: inside the rail it is
     just a row of icons under a small label */
  .art-rail-right .share-bar.share-inline {
    position: static;
    bottom: auto !important;
    left: auto;
    right: auto;
    width: auto;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    background: none;
    z-index: auto;
  }

  .art-rail-right .share-bar__label { display: block; margin: 0 0 9px; }

  .art-rail-right .share-bar__set {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
}


/* Below the rail breakpoint the share bar leaves the rail and goes back to
   floating over the page. Centre it: bottom-left is where it used to sit,
   which reads as stranded now that nothing else hangs off that edge. */
@media (min-width: 769px) and (max-width: 1279px) {
  .share-bar.share-inline {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .share-bar.share-inline { left: 0; right: 0; transform: none; }
  .share-bar.share-inline .share-bar__set {
    width: 100%;
    justify-content: center;
  }
}

/* =====================================================================
   PAGE SURFACE
   The light blue gradient belongs to the hero only; the article itself
   sits on white, so the hero fades out of its tint and hands over
   cleanly. Replaces the old grey #f7f7f7 article band.
   ===================================================================== */
body.art-page { background-color: #fff; }

body.art-page .resume-guide--nested { background: #fff; }


/* =====================================================================
   SHARE RAIL BUTTONS (page-tint pages)
   Quiet neutral circles so the rail sits behind the article instead of
   competing with it; the brand colour only shows on hover.
   ===================================================================== */
body.art-page .share-inline .share-btn {
  width: 38px;
  height: 38px;
  background-color: #fff;
  border: 1px solid rgba(60, 64, 67, .12);
  box-shadow: none;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

body.art-page .share-inline .share-btn svg { fill: #5f6368; transition: fill .15s ease; }

body.art-page .share-inline .share-btn:hover { transform: none; border-color: transparent; }
body.art-page .share-inline .share-btn:hover svg { fill: #fff; }

body.art-page .share-inline .share-btn.linkedin:hover { background-color: #0077b5; }
body.art-page .share-inline .share-btn.twitter:hover  { background-color: #000; }
body.art-page .share-inline .share-btn.reddit:hover   { background-color: #ff4500; }
body.art-page .share-inline .share-btn.facebook:hover { background-color: #3c5a9a; }
body.art-page .share-inline .share-btn.email:hover    { background-color: #5f6368; }
