/*
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
*/

html{
    font-family: Chilanka;
    color: #8ac8ce;
    background-color: black;
    font-size: 5.4vh;
    line-height: 8.1vh;
    text-align: center;
}

body {
    margin: 20px;
}

hr {
    border: 3px solid #8ac8cf;
}

.display-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px 32px;
}

/* --- Desktop: 3 columns, Shorts auto-sized to its fixed width --- */
.grid {
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  align-items: start;
}

.video-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555;
}

/* 16:9 — fluid width */
.embed-landscape {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid #000;
  border-radius: 4px;
  overflow: hidden;
}

/* 9:16 — fixed width on desktop, fluid on mobile */
.embed-portrait {
  position: relative;
  width: 240px;
  aspect-ratio: 9 / 16;
  background: #000;
  border: 1px solid #000;
  border-radius: 4px;
  overflow: hidden;
}

.embed-landscape iframe,
.embed-portrait iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Tablet: 2 columns, Shorts drops to second row centered --- */
@media (max-width: 960px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .video-card:last-child {
    grid-column: 1 / -1;
    align-items: center;
  }

  .embed-portrait {
    width: 260px;
  }
}

/* --- Mobile: single column stack, all videos full width --- */
@media (max-width: 600px) {
  body {
    padding: 24px 16px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-card:last-child {
    grid-column: auto;
    align-items: flex-start;
  }

  .embed-portrait {
    width: 100%;
    max-width: 320px;
  }
}

a:link {
    background-color: black;
    color: #8ac8cf;
}

a:visited {
    background-color: black;
    color: #8ac8cf;
}

a:focus {
    background-color: #753730;
    color: #8ac8cf;
}

a:hover {
    background-color: #8ac8cf;
    color: black;
}

a:active {
    background-color: #8ac8cf;
    color: #753730;
}

figcaption {
    text-align: center;
    color:#8ac8cf;
}

header {
    min-height: 9vh;
    line-height: 9vh;
    font-size:6.7vh;
}

.chilanka-regular {
    font-family: "Chilanka", system-ui;
    font-weight: 400;
    font-style: normal;
}

.largelogo {
    height: 40vh;
}

.smalllogo {
    position: absolute;
    left: 20px;
    height: 9vh;
}

.floatleft {
    float: left;
}

.floatright {
    float: right;
}

.svgaudio {
    height: 100px;
}

.svgbody {
    height: 50px;
}

.svgheader {
    height: 110px;
}

.textcenter {
    text-align: center;
}

.textleft {
    text-align: left;
}

.textright {
    text-align: right;
}

  