:root {
  --nav-link-light: #bbbbbb;
}

html {
  font-size: 16px;
}

body {
  font-size: 16px;
  font-family: 'Roboto', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  background: #fff;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

/* Header: full width, matching homepage */
.container_1 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin-bottom: 0 !important;
  padding: 0;
  margin-top: 10px;
  font-size: 16px;
}

/* Nav within header, matching homepage */
.header-nav {
  display: flex;
  justify-content: center;
  gap: 100px;
  width: 100%;
  padding: 0;
  margin: 0;
}

.header-nav .nav-link {
  font-size: 1.15em;
  letter-spacing: 1px;
  color: var(--nav-link-light) !important;
  text-decoration: none;
  margin-right: 0;
  transition: color 0.2s;
}

.header-nav .nav-link:hover,
.header-nav .nav-link:focus {
  color: #000 !important;
}

/* ---- Wrapper to match work.html ---- */
.lines-lens-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* ---- Flex rows for lines and lens ---- */
.lines-row, .lens-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 48px;
}

.lines_container,
.lens_container {
  flex: 1 1 0;
  text-align: left;
  width: 100%;
  justify-self: start;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Images align with h2 bottom */
.lines_image,
.lens_image {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.lines_image img,
.lens_image img {
  max-width: 440px;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-top: calc(8px + 8px + 1.5px + 18px + 10px);
  /* Adjust as needed for your visual alignment */
}

/* Lists inside lines/lens */
.lines_list, .lens_list {
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

/* Make ALL links look like normal text inside .lines_list and .lens_list */
.lines_list a,
.lens_list a {
  color: inherit !important;
  text-decoration: none !important;
  font: inherit;
  display: block;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
.lines_list a:hover,
.lens_list a:hover {
  color: #000;
  text-decoration: underline;
}

.lines_list p,
.lens_list p {
  margin: 0;
  padding: 0;
}

/* Titles and text styling */
h2 {
  display: inline-block;
  color: #000;
  border: 1.5px solid #000;
  border-radius: 24px;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 18px 8px 18px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  font-family: 'Roboto', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  text-transform: uppercase;
  box-shadow: none;
  text-align: left;
  line-height: normal;
  /* No width, so border only wraps text! */
}

h3 {
  font-weight: 300;
  font-size: 1rem;
  margin: 0 0 0.1em 0;
  padding-left: 18px;
  line-height: 1.2;
  font-style: italic;
  color: #494949;
  text-align: left;
}

.medium {
  margin-bottom: 1rem;
}

/* Footer styles */
.footer-container {
  width: 100%;
  padding: 0 0 24px 0;
  text-align: center;
  margin-top: 24px;
}

.footer-line {
  border: none;
  border-top: 1.5px solid #bbb;
  margin: 0 0 12px 0;
  width: 100%;
}

.footer-copy {
  font-size: 0.90rem;
  color: #666;
  margin: 0;
}




/* Responsive grid for mobile */
/* mobile: */
@media (max-width: 480px) {
  
  .header-nav {gap: 15px;}
  .header-nav .nav-link {
    font-size: 10px;}


  .lines-lens-wrapper {
    padding: 1rem 1rem 1rem;
  }
  .lines-row, .lens-row {
    flex-direction: column !important;
    gap: 14px;
    margin-bottom: 40px;
  }
  
  .lines_list,.lens_list {padding: 0;}

  .lines_image, .lens_image {
    justify-content: center;
    margin-bottom: 14px;
  }

  .lines_image img, .lens_image img {
    max-width: 70vw;
    width: 100%;
    margin-top: 0;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 15px; padding: 4px 12px 4px 12px; }
  h3 { font-size: 14px; }
  h4 { font-size: 12px; }
  p  { font-size: 10px; }

  .lines_list a,
  .lens_list a {font-size:11px;
  }
}



@media (min-width: 481px) and (max-width: 1024px) {

  .header-nav {gap: 60px;}

  
  .lines-lens-wrapper {
    padding: 5rem 5rem 5rem;
  }
  .lines-row, .lens-row {
    flex-direction: column !important;
    gap: 24px;
    margin-bottom: 60px;
  }
  .lines_image, .lens_image {
    justify-content: center;
    margin-bottom: 14px;
  }
  .lines_image img, .lens_image img {
    max-width: 65vw;
    width: 100%;
    margin-top: 0;
  }

  h1{font-size: 75px;}
  h2{font-size: 28px; border-radius: 40px;}
  h3{font-size: 24px;}
  p{font-size: 20px;}
  
}