.image-placeholder.media-object {
    display: none;
}

/*ARTIKELSIDA DESIGN feb 2019*/
.fabrikk--article .fabrikk--article-left-col {
 display: none;
}
.fabrikk--article .fabrikk--article-right-col {
  width: 100%;
  padding: 10px;
  margin: 0 auto;
}
.fabrikk--article .fabrikk--buy-button-group {
 max-width: 300px;
}
.fabrikk--article .fabrikk--article-links {
 margin-bottom: 0px;
}

/*GENERELLT*/


.fabrikk--content-wrapper {
 background: #fff;
}

/*ARTIKELISTA*/
.tws-article-list--tws-list .tws-article-list--buy-button {
  top: 10px;
  position: absolute;
  right: 0px;
}
.tws-article-list--list .tws-list--type-list .media-body, .tws-article-search-page--list .tws-list--type-list .media-body {
	border-bottom: 1px solid #ebebeb;
  padding-bottom: 10px;
}
.tws-article-list--list .tws-list--type-list .tws-article-buy-button-with-modal--buy-button, .tws-article-search-page--list .tws-list--type-list .tws-article-buy-button-with-modal--buy-button {
    border-radius: 6px;            /* subtle rounding */
    transition: all 1s ease;    /* smooth animation for hover/focus */
}

/* Optional hover effect: slight lift */
.tws-article-buy-button-with-modal--buy-button:hover {
    transform: translateY(-2px);  /* very subtle lift */
}

.fabrikk--article-group .tws-articlegroup-list--info h1 {
	position: relative;
  background: transparent;
}
.fabrikk--article-group .tws-articlegroup-list--info>div {
	margin-top: 0px;
}
.tws-article-list--list .tws-list--type-list .tws-api-price .tws-api--price-current, .tws-article-search-page--list .tws-list--type-list .tws-api-price .tws-api--price-current {
    font-size: 15px;
    color: #000;
    font-weight: 800;
}
.tws-article-list--article-name a {
  font-size: 15px;
  color: #000;
}
/*STARTPAGE*/
.startpage .fabrikk--back-to-top {
	display: none;
}
.fabrikk--header  {
	box-shadow: none;
  border-bottom: 1px solid #ebebeb;
}
body .page-canvas {
min-height: 80vh;
}

/*MENU*/
.tws-top-menu.navbar-default {
	background: #fff;
}
body.fabrikk--horizontal-menu .tws-mega-menu--buttons .tws-mega-menu--search-button {
	background: transparent;
}
.tws-top-menu .navbar-collapse .navbar-nav {
	max-width: none;
  text-align: center;
}
.tws-mega-menu--search-button {
	font-size: 12px;
}
@media(max-width:1200px) {
  .navbar-default .navbar-nav>li>a {
   font-size:12px;	
  }
}



/* --- MODERN MENU STYLING --- */
.tws-top-menu.navbar-default {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 0;
  padding-bottom: 0;
}

.navbar-default .navbar-nav>li>a {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  color: #111 !important;
  letter-spacing: 0.3px;
  padding: 16px 20px;
  transition: all 0.25s ease;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
  color: #0077b6 !important; /* blue accent matching biotech feel */
  background-color: transparent;
  transform: translateY(-1px);
}

/* Add subtle underline hover animation */
.navbar-default .navbar-nav>li>a::after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background: #0077b6;
  transition: width 0.3s;
  margin-top: 1px;
}

.navbar-default .navbar-nav>li>a:hover::after {
  width: 100%;
}

/* Search / right side buttons cleanup */
body.fabrikk--horizontal-menu .tws-mega-menu--buttons .tws-mega-menu--search-button {
  background: transparent;
  border: none;
  color: #333;
  transition: color 0.25s ease;
}
body.fabrikk--horizontal-menu .tws-mega-menu--buttons .tws-mega-menu--search-button:hover {
  color: #0077b6;
}


/*BREADCRUMBS*/
.slot--breadcrumbs {
 max-width: 1170px;
 margin: 0 auto;
  background: #fff;
}
.tws-breadcrumbs a {
	color: #000;
  font-size: 12px;
}

/*ARTIKELSIDA*/
.fabrikk--article .slot--article-share {
	display: none;
}
.slot--article-description .tws-article-description {
	max-width: 1000px;
}
.slot--article-description .tws-article-description--heading {
	text-align: left;
  text-transform: uppercase;
  font-weight: 700;
  color: #000;
  font-size: 20px;
  border-bottom: 1px solid #ebebeb;
}
.tws-article-name h1 {
	font-size: 23px;
  letter-spacing: 0.5px;
  color: #000;
  margin-bottom: 10px;
}
.tws-article-description--article-number {
	text-align: left;
}
.tws-article-attachments--title {
	text-align: left;
}
.slot--article-attachments .tws-article-attachments tr {
	display: block;
}
.slot--article-attachments .tws-article-attachments tbody, .slot--article-attachments .tws-article-attachments table  {
	max-width: 1000px;
  text-align: left;
}
.fabrikk--border {
	display: none;
}
.slot--article-description .tws-article-description--text-container {
	max-height: none;
}
.tws-article-attachments--title {
	display: none;
}

.tws-article-list--list,
.tws-article-search-page--list {
    background-color: #fff;        /* ensure white background */
    padding: 20px;                 /* add some breathing room */
    border-radius: 12px;           /* subtle rounding to match buttons/cards */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* optional soft shadow */
    overflow: hidden;              /* prevent recommended articles from spilling out */
}

/* Improve spacing of list items */
.tws-article-list--list .tws-list--type-list .media-body,
.tws-article-search-page--list .tws-list--type-list .media-body {
    padding: 15px 10px;            /* more vertical space */
    border-bottom: 1px solid #ebebeb;
}

/* Container (keep latest version) */
.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: none;
  padding: 0px;
}

/* Columns (keep latest properties) */
.column {
  flex: 1;
  height: 1550px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent white */
  padding: 20px;
  border-radius: 0px;
}

/* Product Groups (keep all original styles) */
.product-groups h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  color: #000000;
}
.product-groups h3 {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 5px;
}

.product-groups {
		transition: all 0.4s ease-in-out; /* Ensures smooth in and out */
}

.product-groups:hover {
  background-color: rgba(176, 227, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.product-list {
  overflow-y: auto;
  padding-right: 0px;
  padding-top: 10px;
  flex: 1; /* Keep latest scroll behavior */
}

.product-groups .clickable-item {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 18px;
  text-decoration: none;
  color: #000000;
  font-size: 13px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 15px;
}

.product-groups .clickable-item:hover {
  background-color: rgba(176, 227, 255, 0.6);
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-decoration: underline;
}

.product-groups .clickable-item i {
  margin-right: 10px;
  font-size: 14px;
  color: #d7e1ec;
}

.product-groups .product-image {
  width: 50px; /* Adjust width as needed */
  height: auto;
  border-radius: 5px;
  margin-right: 15px; /* Space between image and text */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Optional shadow for the image */
}

/* Publications (keep all original styles) */
.publications h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  color: #000000;
}
.publications h3 {
  font-size: 15px;
  font-weight: 700;
  color: #000000;
}

.publications-list {
  overflow-y: auto;
  padding-right: 10px;
  padding-top: 10px;
  flex: 1; /* Keep latest scroll behavior */
}

.publications:hover {
  background-color: rgba(176, 227, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.publications {
		transition: all 0.4s ease-in-out; /* Ensures smooth in and out */
}

.publication-item {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 18px;
  text-decoration: none;
  color: #000000;
  font-size: 13px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 15px;
}

.publication-item:hover {
  background-color: rgba(176, 227, 255, 0.6);
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-decoration: underline;
}

.publication-item i {
  margin-right: 10px;
  font-size: 14px;
  color: #d7e1ec;
}

.journal-cover {
  width: 50px; /* Adjust as needed */
  height: auto;
  border-radius: 5px; /* Optional rounded corners */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  margin-right: 10px;
}


/* Image containers (keep latest version) */
.image-container, .full-width-image {
  position: relative;
  width: 100%;
  margin: 0px;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.image-container img, .full-width-image img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: 5px;
  transition: all 0.6s ease-in-out;
  display: block;
}

.image-container img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  cursor: pointer;
  
}

.full-width-image {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
body {
	font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.6);
}
/* Center the container and ensure content spans full width */
body:not(.startpage) .fabrikk--content-wrapper {
    width: 1170px; /* Fixed width */
    margin: 0 auto; /* Center the container */
    padding: 0 15px; /* Optional padding for spacing */
    box-sizing: border-box; /* Include padding in the width */
}

/* Ensure content spans the full width of the container */
body:not(.startpage) .fabrikk--content-wrapper > * {
    width: 100%; /* Make child elements span full width */
    max-width: 100%; /* Prevent overflow */
    text-align: left; /* Align text to the left */
}


/* visited articles fix */
body:not(.startpage) .tws-articles-two{
    width: auto; /* Fixed width */
    margin: 0 auto; /* Center the container */
    padding: 0 15px; /* Optional padding for spacing */
    box-sizing: border-box; /* Include padding in the width */
}

body:not(.startpage) .tws-articles-two > * {
    width: 100%; /* Make child elements span full width */
    max-width: 100%; /* Prevent overflow */
    text-align: left; /* Align text to the left */
}

.footer {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.footer-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Limit length of "Others bought" section */
#tws-related-products, 
.tws-related-products, 
.tws-article-list--related, 
.tws-article-list--others-bought {
  max-height: 500px !important;
  overflow: hidden !important;
  position: relative;
}



/* Reduce the gap between hero image and product section */
.image-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.container,
.product-groups {
  margin-top: -40px !important;
  padding-top: -40px !important;
}

.container,
.publications {
  margin-top: -40px !important;
  padding-top: -40px !important;
}

/* If there's still a small space, pull product section slightly upward */
.container {
  position: relative;
  top: 10px; /* adjust between -10px and -40px as needed */
}

/* ============================= */
/* GLOBAL PAGE STYLING SYSTEM    */
/* ============================= */

/* Container for page content */
.page-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Section titles */
.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #005670;
  text-align: center;
  margin-bottom: 40px;
}

/* ============================= */
/* HERO SECTION                  */
/* ============================= */
.hero {
  width: 100vw;
  position: relative;
  display: flex;
  justify-content: flex-start;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  height:200px;
}

.hero-homepage{
  width: 100vw;
  position: relative;
  display: flex;
  justify-content: flex-start;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  height:300px;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(60%);
  object-fit: cover;
}

.hero-homepage img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(50%);
  object-fit: cover;

}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 1rem;
}

.hero-content-homepage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  padding: 1rem;
}

/* Hero text improvements */
.hero-content h1 {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto 10px;
  color: #fff;
}

.hero-content p {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  color: #e0f0f5;
  margin: 0 auto;
  font-weight: 300;
}

/* Hero text homepage */
.hero-content-homepage h1 {
  font-family: 'PT Serif', serif;
  font-size: 10rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1;
  max-width: 1000px;
  margin: 0 0 10px; /* remove auto centering */
  color: #fff;
  text-align: left; /* align text to the left */
  transform: translateX(-20%);
}

.hero-content-homepage p {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  color: #e0f0f5;
  margin: 0 auto;
  font-weight: 500;
}

/* Adjust hero height responsively */
@media (max-width: 1600px) {
  .hero-homepage {
    height: 250px;
  }
  .hero-content-homepage h1 {
    font-size: 7rem;
  }
}

/* ============================= */
/* CARD-LIKE SECTION             */
/* ============================= */
.content-card {
  background-color: #f9fafc;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 60px;
}

.content-card p {
  margin-bottom: 1.2rem;
}


/* ============================= */
/* CALL TO ACTION (CTA) SECTION  */
/* ============================= */
.cta-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: #005670;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.cta-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #fff;
}

.cta-section a {
  background-color: white;
  color: #005670;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.cta-section a:hover {
  background-color: #e0f0f5;
}

/* ========================================== */
/* FIX BREADCRUMBS (TOP DIRECTORY PATH ISSUE) */
/* ========================================== */

.slot--breadcrumbs {
  display: block;
  width: 100%;
  max-width: 1170px;
  margin: 20px auto;
  padding: 5px 15px;
  background: #fff;
  overflow: visible !important;
  position: relative;
  z-index: 10;
}

.tws-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.tws-breadcrumbs a,
.tws-breadcrumbs span {
  color: #000;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.tws-breadcrumbs a:hover {
  text-decoration: underline;
}

/* Prevent clipping by parent wrappers */
.fabrikk--content-wrapper .slot--breadcrumbs {
  width: calc(100% - 30px);
  margin-left: auto;
  margin-right: auto;
}

/* Service card titles */
.service-title {
  font-size: 1.5rem;
  color: #005670;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Improve readability of list items in cards */
.content-card ul li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Subtle accent for subheadings */
.content-card h3::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 3px;
  background-color: #0a74da;
  margin-right: 10px;
  vertical-align: middle;
}
/* ===================================== */
/* MOBILE RESPONSIVENESS FIX (max-width) */
/* ===================================== */
@media (max-width: 1366px) {

  /* Let all fixed-width containers shrink */
  body:not(.startpage) .fabrikk--content-wrapper,
  body:not(.startpage) .tws-articles-two {
    width: 100% !important;
    padding: 0 10px !important;
  }

  /* Stack columns vertically */
  .container {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .column {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 20px;
  }

  /* Make hero section shorter and text readable */
  .hero {
    height: 140px !important;
  }

  .hero-content h1, .hero-content h2 {
    font-size: 1.5rem !important;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1.5rem;
    padding: 0 10px;
  }

  /* Fix footer alignment */
  .footer-content {
    margin-left: 0 !important;
    max-width: 100% !important;
  }

  /* Keep images fluid */
  img, .image-container img, .full-width-image img {
    max-width: 100%;
    height: auto !important;
  }

  /* Tighter padding for sections */
  .page-section {
    padding: 30px 10px;
  }
      /* Make hero section shorter and text readable */
  .hero-homepage {
    height: 140px !important;
  }

  .hero-content-homepage h1, .hero-content-homepage h2 {
    font-size: 2.5rem !important;
    line-height: 1.3;
  }

  .hero-content-homepage p {
    font-size: 1rem;
    padding: 0 10px;
  }

  /* Prevent hover effects from being too strong on mobile */
  .product-groups:hover, .publications:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.2rem;
  }
  .hero-content h2 {
    font-size: 1rem;
  }
  .hero-content p {
    font-size: 1rem;
    padding: 0 10px;
  }
  .type-card h3 {
    font-size: 1rem;
  }
}
  
.alexo-faq {
  max-width: 800px;
  margin: 50px auto;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background-color: #ffffff;
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.alexo-faq details {
  border-bottom: 1px solid #e0e0e0;
  padding: 18px 0;
  overflow: visible !important; /* important to override Abicart */
}

.alexo-faq summary {
  font-weight: 600;
  font-size: 2.1rem;
  cursor: pointer;
  position: relative;
  padding-right: 35px;
  list-style: none;
  transition: color 0.3s ease;
}

.alexo-faq summary:hover {
  color: #0073e6;
}

.alexo-faq summary::-webkit-details-marker {
  display: none; /* remove default triangle */
}

.alexo-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  font-size: 1.3rem;
  color: #0073e6;
  transition: transform 0.3s ease;
}

.alexo-faq details[open] summary::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.alexo-faq details p {
  margin: 10px 0 0 0;
  color: #555555;
  font-size: 2rem;
  line-height: 1.6;
  padding-left: 5px;
  overflow: visible !important; /* override any hidden overflow */
}

.alexo-faq details:not(:last-child) {
  margin-bottom: 8px;
}





  /* Smaller cards and text 
  .cli
*/
  
/* ABOUT US */
/* Force side-by-side layout (override Abicart defaults) */
.about-section .about-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 60px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  flex-wrap: nowrap !important;
}

.about-section .about-text {
  flex: 1 1 50% !important;
  min-width: 45% !important;
}

.about-section .about-image {
  flex: 1 1 50% !important;
  min-width: 45% !important;
  display: flex !important;
  justify-content: center !important;
  overflow: hidden !important;
  max-height: 380px !important;
  border-radius: 12px !important;
}

.about-section .about-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08) !important;
  transition: transform 0.4s ease !important;
}

.about-section .about-image img:hover {
  transform: scale(1.03);
}

/* Typography (Cytiva-inspired) */
.about-section .about-text h2 {
  font-size: 2.4rem !important;
  font-weight: 600 !important;
  color: #004f71 !important;
  margin-bottom: 20px !important;
  line-height: 1.3 !important;
}

.about-section .about-text p {
  font-size: 1.5rem !important;
  color: #333 !important;
  line-height: 1.8 !important;
  margin-bottom: 18px !important;
  max-width: 600px !important;
}
.about-section .about-text ul li{
  font-size: 1.5rem !important;
  color: #333 !important;
  line-height: 1.8 !important;
  margin-bottom: 18px !important;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  max-width: 600px !important;
}

/* Responsive stacking */
@media (max-width: 1024px) {
  .about-section .about-row {
    flex-direction: column !important;
    text-align: center !important;
  }

  .about-section .about-image {
    max-height: 300px !important;
  }

  .about-section .about-text h2 {
    font-size: 2rem !important;
  }

  .about-section .about-text p {
    font-size: 1.05rem !important;
  }
}

  /* ============================= */
/* ABOUT PAGE LAYOUT FIX */
/* ============================= */

body.about-page .about-section .about-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 60px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  margin: 0 auto !important;
  max-width: 1200px !important;
}

body.about-page .about-section .about-text {
  flex: 1 1 50% !important;
  min-width: 45% !important;
}

body.about-page .about-section .about-image {
  flex: 1 1 50% !important;
  min-width: 45% !important;
  display: flex !important;
  justify-content: center !important;
  overflow: hidden !important;
  border-radius: 14px !important;
  max-height: 420px !important;
}

body.about-page .about-section .about-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  transition: transform 0.4s ease !important;
}

body.about-page .about-section .about-image img:hover {
  transform: scale(1.03);
}

/* TYPOGRAPHY — match Cytiva style */
body.about-page .about-section h2 {
  font-size: 2.4rem !important;
  font-weight: 600 !important;
  color: #004f71 !important;
  margin-bottom: 1rem !important;
  line-height: 1.3 !important;
}

body.about-page .about-section p {
  font-size: 1.2rem !important;
  line-height: 1.9 !important;
  color: #333 !important;
  margin-bottom: 1rem !important;
}

/* SECTION SPACING */
body.about-page .about-section {
  padding: 80px 5% !important;
  background: #fff !important;
}

body.about-page .about-section.alt {
  background: #f8fafb !important;
}

/* Responsive stacking for mobile */
@media (max-width: 1024px) {
  body.about-page .about-section .about-row {
    flex-direction: column !important;
    text-align: center !important;
  }
  body.about-page .about-section .about-text,
  body.about-page .about-section .about-image {
    min-width: 100% !important;
  }
  body.about-page .about-section h2 {
    font-size: 2rem !important;
  }
}



/* lagt till */

/* Full-width background wrapper */
.full-width-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
} 

/* Background colors */
.gray-bg { background-color: #f3f8fc !important;}
.white-bg { background-color: #ffffff; }

/* Inner content centered */
.page-section.about-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  box-sizing: border-box;
}


/* Reverse row for alternating image/text */
.about-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.about-row.reverse-row {
  flex-direction: row-reverse;
}

/* Text and Image */
.about-text {
  flex: 1 1 50%;
  min-width: 45%;
}

.about-image {
  flex: 1 1 50%;
  min-width: 45%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  max-height: 380px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

/* Responsive stacking */
@media (max-width: 1024px) {
  .about-row, .about-row.reverse-row {
    flex-direction: column;
    text-align: center;
  }
  .about-text, .about-image {
    min-width: 100%;
  }
  .about-image {
    max-height: 300px;
  }
}

/* Container */
.type-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  padding: 60px 20px;
  padding-top:10px;
  margin: 0 auto;
  max-width: 1000px;
}

/* Card (the whole card is an <a> element) */
.type-card {
  display: block;               /* anchor as block for full-card click */
  position: relative;
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;        /* no underline on the card link */
  color: inherit;
}

/* small lift on hover for the card */
.type-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

/* bottom overlay using pseudo element (no extra markup) 
.type-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
  transition: background 0.3s;
}*/

/* image */
.type-card img {
  width: 100%;
  height: 100%;
  filter: brightness(40%);
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  object-position: center bottom; /* top part of the image stays visible */
}



.type-card:hover img {
  transform: scale(1.05);
}

/* Heading centered (no jump when wrapped). Use top 50% and translate both axes. */
.type-card h3 {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);     /* centered regardless of line count */
  margin: 0;
  font-size: 2.5rem;
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  width: 86%;
  text-align: center;
  line-height: 1.1;
  transition: transform 0.28s ease, text-shadow 0.28s ease;
}

/* h3 pop on hover: scale while preserving center */
.type-card:hover h3 {
  transform: translate(-50%, -50%) scale(1.08);
  text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
}

/* "button" visual — use a span (or button) inside the anchor. Select by class, not by nested <a> */
.type-card .btn {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #00BFC4;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  color: white;
  text-decoration: none;  /* btn text has no underline */
  display: inline-block;
  transition: background-color 0.22s ease, transform 0.22s ease;
  pointer-events: auto;   /* ensure the button is clickable even though the whole card is a link */
}

.type-card .btn:hover {
  background-color: #009AA0;
  transform: translateX(-50%) translateY(-2px);
}

/* Responsive tweaks */
@media screen and (max-width: 1000px) {
  .type-card { 
    width: 45%; 
    height: 45%;
  }
  .type-card img {
    object-fit: cover;
    object-position: center bottom; /* keeps the bottom visible on smaller screens */
  }
}

@media screen and (max-width: 700px) {
  .type-cards { padding: 30px 16px; gap: 18px; }
  .type-card { width: 45%; height: 45%; }
  .type-card .btn { padding: 7px 14px; font-size: 0.95rem; }
  .type-card img {
    object-position: center bottom; /* keeps the bottom visible on smaller screens */
  }
}

/* Container */
.protein-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
}

/* Category container */
.category-card {
  margin-bottom: 50px;
}

/* Category header */
.category-card h2 {
  font-size: 2.3rem;
  font-weight: 700;
  color: #000; /* professional black */
  margin-bottom: 20px;
  text-align: left; /* aligns nicely with blocks */
}

/* Pill/Block style */
.pill {
  display: flex;               /* flex to center content */
  align-items: center;
  justify-content: center;
  width: 100%;                 /* full width inside category */
  max-width: 300px;            /* optional max width for layout */
  background-color: #00BFC4;   /* teal-ish brand color */
  color: #fff;                  /* text stays white */
  font-size: 1.5rem;           /* slightly larger text */
  font-weight: 600;
  padding: 15px 20px;          /* taller blocks */
  border-radius: 12px;
  margin-bottom: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Hover effect */
.pill:hover {
  background-color: #009AA0;   /* darker shade, still professional */
  color: #fff;                 /* text stays white */
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* Subcategory spacing */
.sub-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: 20px; /* slight indent for subcategories */
}

/* Sub-pills inherit block style but smaller */
.sub-pills .pill {
  max-width: 200px;
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: 10px;
}


/* Responsive tweaks */
@media (max-width: 900px) {
  .protein-categories {
    gap: 30px;
  }
  .category-card h2 {
    font-size: 1.6rem;
  }
  .pill {
    font-size: 0.9rem;
    padding: 7px 14px;
  }
}

@media (max-width: 500px) {
  .category-card {
    padding: 25px 15px;
  }
  .category-card h2 {
    font-size: 1.5rem;
  }
  .pill {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
}

.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  width:100% !important;
}

.peptide-mods-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
}

.peptide-mods-table th, 
.peptide-mods-table td {
  text-align: Center;
  padding: 12px 16px;
}

.peptide-mods-table thead th {
  background-color: #f5f5f5;
  color: #222;
  font-weight: 600;
  font-size: 2rem;
}

.peptide-mods-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.peptide-mods-table tbody tr:hover {
  background-color: #e6f7ff;
}

.quote-btn {
  display: inline-block;
  background-color: #0070f3;
  color: #fff;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.quote-btn:hover {
  background-color: #005ac1;
}

/* Remove any gap above hero on homepage */
body.startpage .hero-homepage {
    margin-top: -20px !important;
    padding-top: -20px !important;
    z-index: 10; /* make sure menu stays on top */
}

.h2-titles h2{
  font-size: 3rem;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  text-align: left;
  font-weight: 700;
  max-width:1000px;
}

.full-width-section .h2-titles {
  max-width: 1000px;
  margin: 0 auto; /* centers it */
}
.h2-titles{
  max-width: 1000px;
  margin: 0 auto;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
/* --- Footer column alignment fix --- */

.fabrikk--footer,
.footer,
footer {
  text-align: center !important;
}

.fabrikk--footer .container,
.footer .container,
footer .container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  display: block !important;
}

.fabrikk--footer .row,
.footer .row,
footer .row {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: center !important;
  display: block !important;
}

.fabrikk--footer [class^="col-"],
.fabrikk--footer [class*=" col-"],
.footer [class^="col-"],
.footer [class*=" col-"],
footer [class^="col-"],
footer [class*=" col-"] {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.footer-content {
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
.alexotech-withdrawal-button {
  display: inline-block;
  margin-top: 40px;
  margin-bottom: 32px;
  padding: 10px 14px;
  border: 1px solid #ffffff;
  border-radius: 4px;
  color: #ffffff !important;
  background-color: #000000;
  text-decoration: none !important;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  box-sizing: border-box;
  text-align: center;
}

.alexotech-withdrawal-main {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
}

.alexotech-withdrawal-sub {
  display: block;
  font-size: 70%;
  font-weight: 400;
  line-height: 1.25;
  margin-top: 2px;
}

.alexotech-withdrawal-button:hover,
.alexotech-withdrawal-button:focus {
  text-decoration: underline !important;
}