/* CanvaSans */
@font-face {
  font-family: 'CanvaSans';
  src: url('./fonts/CanvaSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'CanvaSans';
  src: url('./fonts/CanvaSans-RegularItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'CanvaSans';
  src: url('./fonts/CanvaSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'CanvaSans';
  src: url('./fonts/CanvaSans-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'CanvaSans';
  src: url('./fonts/CanvaSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'CanvaSans';
  src: url('./fonts/CanvaSans-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
}

/* Kollektif */
@font-face {
  font-family: 'Kollektif';
  src: url('./fonts/Kollektif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Kollektif';
  src: url('./fonts/KollektifItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Kollektif';
  src: url('./fonts/KollektifBold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Kollektif';
  src: url('./fonts/KollektifBoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
}

/* Norwester (assume only one weight/style) */
@font-face {
  font-family: 'Norwester';
  src: url('./fonts/Norwester.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* Base Layout */
body {
  margin: 0;
  font-family: 'CanvaSans', sans-serif;
  background-color: #1B7895;
}

.container {
  display: flex;
  flex-wrap: wrap;
  height: auto;
}

.top-container {
  display: flex;
  flex-wrap: wrap;
  min-height: 30vh;
  margin-bottom: 1.6rem;

}

.top-space {
  display: flex;
  flex-wrap: wrap;
  min-height: 2vh;
  margin-bottom: 1rem;

}

.left {
    flex: 1 1 50%;
    padding: 1rem;
    box-sizing: border-box;
    font-family: 'Kollektif', sans-serif;
    
  }
  
  .right {
    flex: 1 1 50%;
    padding: 1rem;
    box-sizing: border-box;
    font-family: 'Kollektif', sans-serif;
  }

  .viewer-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* Keeps a clean document-like shape */
    background: white; /* prevents dark edges showing */
    border-radius: 8px;
    overflow: hidden;
  }
  
  #newsletter-viewer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  .client-list {
    margin: 0 auto;
    max-width: 800px;
    padding: 0rem;
    padding-left: 8rem;
    font-family: sans-serif;
    column-count: 2;
    overflow: visible; /* Let long content visually overflow */
    position: relative;
    z-index: 1;
  }

  .client-entry {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    break-inside: avoid;
    text-decoration: none; /* In case link styles apply */
    color: #000;           /* Default color for non-links */
    display: block;
  }
  
  .link-entry {
    cursor: pointer;
  }
  
  .link-entry:hover {
    color: #ff9532;

  }
  

    @media screen and (max-width: 1200px) {
      .top-container {
        display: flex;
        flex-wrap: wrap;
        min-height: 30vh;
        margin-bottom: 0;
      }
      
      .top-space {
        display: flex;
        flex-wrap: wrap;
        min-height: 0;
        margin-bottom: 0;
      }
      
      .page-container {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
        height: auto; /* Let content determine height */
      }
    .client-list {
      margin: auto;
      padding-left: 2rem;
    }
  }

