/* ========================================
  ISOMASS TECHNICAL RESOURCES PAGE STYLES
  Dark hero with review pill, then one section:
  three resource cards in a row
  Review pill styles live in isomass-global.css
======================================== */

.isomass-technical-resources {
   font-family: 'Mona Sans', sans-serif;
}

/* ---------- Hero ---------- */
.technical-hero {
   background-color: #1a1a1a;
   padding: 80px 0;
}

.technical-hero-content {
   max-width: 900px;
   margin: 0 auto;
   text-align: center;
}

.technical-hero h1:not(.technical-hero-eyebrow), .technical-hero .technical-hero-title {
   font-size: 2.8rem;
   font-weight: 700;
   line-height: 1.3;
   color: #ffffff;
   position: relative;
   display: inline-block;
   padding-bottom: 20px;
   margin-bottom: 30px;
}

.technical-hero h1:not(.technical-hero-eyebrow)::after, .technical-hero .technical-hero-title::after {
   content: '';
   position: absolute;
   bottom: 0;
   left: 50%;
   transform: translateX(-50%);
   width: 110px;
   height: 4px;
   background-color: #d21e2b;
}

.technical-hero p {
   font-size: 1rem;
   line-height: 1.7;
   color: rgba(255, 255, 255, 0.85);
   margin-bottom: 20px;
}

.technical-hero-content a {
   color: #ff4757;
   text-decoration: none;
}

.technical-hero-content a:hover {
   color: #ffffff;
   text-decoration: underline;
}

.technical-hero strong {
   font-weight: 600;
}

.technical-hero-content .isomass-review-pill {
   display: flex;
   width: fit-content;
   margin: 30px auto 0;
}

/* ---------- Resources ---------- */
.technical-resources-section {
   background-color: #ffffff;
   padding: 90px 0;
}

.technical-resources-layout {
   max-width: 1200px;
   margin: 0 auto;
}

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

/* Resource cards - grey panel with red icon, like the About page cards */
.technical-resource-card {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   gap: 20px;
   background-color: #f7f7f7;
   border: 1px solid #eee;
   border-radius: 12px;
   padding: 30px;
   transition: all 0.3s ease;
}

.technical-resource-card:hover {
   border-color: rgba(210, 30, 43, 0.35);
   box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
   transform: translateY(-2px);
}

.technical-resource-icon {
   width: 48px;
   height: 48px;
   border-radius: 50%;
   background-color: #d21e2b;
   color: #ffffff;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.15rem;
   flex-shrink: 0;
   box-shadow: 0 4px 12px rgba(210, 30, 43, 0.3);
}

.technical-resource-body {
   display: flex;
   flex-direction: column;
   flex-grow: 1;
}

.technical-resource-body h2 {
   font-size: 1.2rem;
   font-weight: 700;
   line-height: 1.3;
   color: #222;
   margin-bottom: 8px;
}

.technical-resource-body p {
   font-size: 0.95rem;
   line-height: 1.6;
   color: #555;
   margin-bottom: 12px;
}

.technical-resource-link {
   margin-top: auto;
   align-self: flex-start;
   display: inline-flex;
   align-items: center;
   gap: 8px;
   color: #d21e2b;
   font-weight: 700;
   font-size: 0.95rem;
   text-decoration: none;
   transition: gap 0.3s ease, color 0.3s ease;
}

.technical-resource-link i {
   font-size: 0.8rem;
}

.technical-resource-link:hover {
   color: #b01a24;
   gap: 12px;
   text-decoration: none;
}

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

@media (max-width: 1024px) {
   .technical-hero {
       padding: 70px 0;
   }
   
   .technical-hero h1:not(.technical-hero-eyebrow), .technical-hero .technical-hero-title {
       font-size: 2.6rem;
   }
   
   .technical-hero h1:not(.technical-hero-eyebrow)::after, .technical-hero .technical-hero-title::after {
       width: 90px;
   }
   
   .technical-resources-section {
       padding: 70px 0;
   }
   
   .technical-resources-list {
       grid-template-columns: 1fr;
       max-width: 760px;
       margin: 0 auto;
   }
   
   .technical-resource-card {
       flex-direction: row;
   }
}

@media (max-width: 768px) {
   .technical-hero {
       padding: 60px 0;
   }
   
   .technical-hero h1:not(.technical-hero-eyebrow), .technical-hero .technical-hero-title {
       font-size: 2.3rem;
   }
   
   .technical-hero h1:not(.technical-hero-eyebrow)::after, .technical-hero .technical-hero-title::after {
       width: 70px;
   }
   
   .technical-resources-section {
       padding: 60px 0;
   }
}

@media (max-width: 480px) {
   .technical-hero {
       padding: 50px 0;
   }
   
   .technical-hero h1:not(.technical-hero-eyebrow), .technical-hero .technical-hero-title {
       font-size: 1.9rem;
   }
   
   .technical-hero h1:not(.technical-hero-eyebrow)::after, .technical-hero .technical-hero-title::after {
       width: 60px;
       height: 3px;
   }
   
   .technical-hero p {
       font-size: 0.95rem;
   }
   
   .technical-resources-section {
       padding: 50px 0;
   }
   
   .technical-resource-card {
       flex-direction: column;
       gap: 14px;
       padding: 22px 20px;
   }
   
   .technical-resource-icon {
       width: 42px;
       height: 42px;
       font-size: 1rem;
   }
   
   .technical-resource-body h2 {
       font-size: 1.1rem;
   }
}

/* ---------- SEO H1 - small eyebrow line above the main title ---------- */
.technical-hero-eyebrow {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff4757;
    margin: 0 0 14px;
}

@media (max-width: 480px) {
    .technical-hero-eyebrow {
        font-size: 0.72rem;
        letter-spacing: 1.5px;
    }
}
