/* =========================================
   DAN BELEIU — CARGO GLOBAL STYLE
   ========================================= */


/* ---------- GLOBAL ---------- */

html,
body {
  margin: 0;
  padding: 0;

  background: #fff;
  color: #000;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 400;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  opacity: 0.5;
}

img,
video,
iframe {
  max-width: 100%;
  border: 0;
}


/* ---------- MAIN CONTENT WIDTH ---------- */

page,
.page,
.content,
.site-content,
main,
[data-view="page"] {
  width: calc(100% - 60px);
  max-width: 1100px;

  margin-left: auto !important;
  margin-right: auto !important;

  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* ---------- MENU ---------- */

.beleiu-nav {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

  font-size: 11px;
  line-height: 1.35;
  font-weight: 400;

  width: calc(100% - 60px);
  max-width: 1100px;

  margin: 0 auto 18px auto !important;
  padding-top: 20px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  color: #000;
}

.beleiu-logo {
  font-size: 11px;
  font-weight: 400;

  color: #000;
  text-decoration: none;

  white-space: nowrap;
}

.beleiu-menu {
  display: flex;
  align-items: center;

  gap: 24px;
}

.beleiu-menu a {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

  font-size: 11px;
  line-height: 1.35;
  font-weight: 400;

  color: #000;
  text-decoration: none;

  white-space: nowrap;
}

.beleiu-logo:hover,
.beleiu-menu a:hover {
  opacity: 0.45;
}


/* ---------- REMOVE EXTRA SPACE AFTER MENU ---------- */

.beleiu-nav + *,
.beleiu-nav + .page,
.beleiu-nav + .content,
.beleiu-nav + main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* ---------- CARGO PAGE TOP SPACING ---------- */

.page,
.content,
.site-content,
main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* ---------- HEADINGS ---------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

  color: #000;
  font-weight: 400;

  margin-top: 0;
}

h1 {
  font-size: 11px;
  line-height: 1.35;
}

h2 {
  font-size: 9px;
  line-height: 1.35;
}

h3 {
  font-size: 11px;
  line-height: 1.35;
}


/* ---------- TEXT ---------- */

p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

  font-size: 11px;
  line-height: 1.45;
  font-weight: 400;

  margin-top: 0;
}


/* ---------- SECONDARY TEXT ---------- */

small,
.meta,
.credit,
.project-meta {
  font-size: 9px;
  line-height: 1.4;

  color: #000;
  opacity: 0.55;
}


/* ---------- DIVIDERS ---------- */

hr {
  border: 0;
  border-top: 1px solid #d8d8d8;

  margin: 20px 0;
}


/* ---------- IMAGES ---------- */

img {
  display: block;

  width: 100%;
  height: auto;
}


/* ---------- PROJECT TITLES ---------- */

.project-title,
.thumbnail-title,
.caption,
.project-caption {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

  font-size: 11px;
  line-height: 1.3;
  font-weight: 400;

  color: #000;
}


/* ---------- ABOUT / CONTACT / FILM WIDTH ---------- */

.about-page,
.contact-page,
.film-page,
.home-film {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

  font-size: 11px;
  line-height: 1.35;

  color: #000;

  width: calc(100% - 60px);
  max-width: 1100px;

  margin-left: auto !important;
  margin-right: auto !important;
}


/* ---------- SECTION TITLES ---------- */

.about-title,
.contact-title,
.film-title,
.home-film-title {
  font-size: 11px;
  font-weight: 400;

  margin-bottom: 40px;
}


/* ---------- ABOUT ---------- */

.about-grid,
.contact-content {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  width: 100%;
}

.about-heading,
.contact-heading {
  font-size: 9px;
  font-weight: 400;

  margin-bottom: 14px;
}

.about-list,
.contact-entry,
.about-entry {
  border-top: 1px solid #d8d8d8;
}

.about-list,
.contact-entry {
  padding-top: 8px;
}

.about-entry {
  padding: 8px 0 9px 0;
}

.about-entry span,
.contact-entry span {
  display: block;

  font-size: 9px;
  line-height: 1.4;

  margin-top: 3px;

  opacity: 0.55;
}


/* ---------- FILM GRID ---------- */

.film-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 55px 20px;

  width: 100%;
}

.film-item {
  width: 100%;
  min-width: 0;
}

.film-link {
  display: block;

  width: 100%;

  color: #000;
  text-decoration: none;
}

.film-video {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #000;
}

.film-video iframe {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
}

.film-name {
  margin-top: 8px;

  font-size: 11px;
  line-height: 1.3;
}


/* ---------- HOMEPAGE FEATURED FILM ---------- */

.home-film {
  margin-top: 45px;
  margin-bottom: 70px;
}

.home-film-header {
  display: flex;

  justify-content: space-between;
  align-items: center;

  margin-bottom: 18px;
}

.home-film-title,
.home-film-viewall {
  font-size: 11px;
  font-weight: 400;
}

.home-film-viewall {
  color: #000;
  text-decoration: none;
}

.home-film-scroll {
  display: flex;

  gap: 20px;

  width: 100%;

  overflow-x: auto;
  overflow-y: hidden;

  padding-bottom: 12px;

  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
}

.home-film-scroll::-webkit-scrollbar {
  display: none;
}

.home-film-item {
  flex: 0 0 calc((100% - 20px) / 2);
}


/* ---------- REMOVE ROUNDED UI ---------- */

button,
input,
textarea,
select,
img,
video,
iframe {
  border-radius: 0 !important;
  box-shadow: none !important;
}


/* ---------- FORMS ---------- */

button,
input,
textarea,
select {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;

  font-size: 11px;

  color: #000;
}

input,
textarea,
select {
  border: 1px solid #d8d8d8;

  background: #fff;

  padding: 8px;
}


/* ---------- MOBILE ---------- */

@media (max-width: 700px) {

  page,
  .page,
  .content,
  .site-content,
  main,
  [data-view="page"],
  .about-page,
  .contact-page,
  .film-page,
  .home-film,
  .beleiu-nav {
    width: calc(100% - 36px);

    margin-left: auto !important;
    margin-right: auto !important;
  }


  .beleiu-nav {
    padding-top: 16px;
    margin-bottom: 16px !important;
  }


  .beleiu-menu {
    gap: 12px;

    flex-wrap: wrap;
    justify-content: flex-end;
  }


  .beleiu-logo,
  .beleiu-menu a {
    font-size: 10px;
  }


  .about-grid,
  .contact-content,
  .film-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }


  .about-title,
  .contact-title,
  .film-title,
  .home-film-title {
    margin-bottom: 32px;
  }


  .home-film-item {
    flex: 0 0 82%;
  }

}