/* W2W Movie base: fonts, tokens, typography, shared layout */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Barlow:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'W2W Branding';
  src: url('../font/W2WFONTBRANDING-bold.ttf') format('truetype');
  font-display: swap;
}

:root {
  --w2w-color-text: #121110;
  --w2w-color-body: #454444;
  --w2w-color-muted: #a9a9a9;
  --w2w-color-subtle: #696561;
  --w2w-color-brand: #FF8A00;
  --w2w-color-link: #B75200;
  --w2w-color-border: #E0E0E0;
  --w2w-color-surface: #ffffff;
  --w2w-font-heading: 'Be Vietnam Pro', sans-serif;
  --w2w-font-body: 'Barlow', sans-serif;
  --w2w-font-brand: 'W2W Branding', sans-serif;
  --w2w-radius-sm: 8px;
  --w2w-radius-md: 12px;
  --w2w-container: 1200px;
}

.w2w-movie-app,
.w2w-movie-component {
  font-family: var(--w2w-font-body);
  color: var(--w2w-color-body);
}

.w2w-movie-app *,
.w2w-movie-component * {
  box-sizing: border-box;
}

.w2w-movie-app h1,
.w2w-movie-app h2,
.w2w-movie-app h3,
.w2w-movie-app h4,
.w2w-movie-app h5,
.w2w-movie-app h6,
.w2w-movie-component h1,
.w2w-movie-component h2,
.w2w-movie-component h3,
.w2w-movie-component h4,
.w2w-movie-component h5,
.w2w-movie-component h6 {
  font-family: var(--w2w-font-heading);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
  color: var(--w2w-color-body);
}

.w2w-movie-app h1,
.w2w-movie-component h1 {
  font-size: 36px;
  line-height: 50px;
}

.w2w-movie-app h2,
.w2w-movie-component h2 {
  font-size: 32px;
  line-height: 44px;
}

.w2w-movie-app h3,
.w2w-movie-component h3 {
  font-size: 28px;
  line-height: 40px;
}

.w2w-movie-app h4,
.w2w-movie-component h4 {
  font-size: 24px;
  line-height: 36px;
}

.w2w-movie-app h5,
.w2w-movie-component h5 {
  font-size: 18px;
  line-height: 28px;
}

.w2w-movie-app h6,
.w2w-movie-component h6 {
  font-size: 14px;
  line-height: 24px;
}

.w2w-movie-app p,
.w2w-movie-app li,
.w2w-movie-component p,
.w2w-movie-component li {
  font-family: var(--w2w-font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 32px;
  color: var(--w2w-color-body);
}

.w2w-movie-app p,
.w2w-movie-component p {
  margin: 4px 0 16px;
}

.w2w-movie-app a:hover,
.w2w-movie-component a:hover {
  color: var(--w2w-color-brand);
}

.w2w-movie-app .post-title,
.w2w-movie-app .title,
.w2w-movie-component .post-title,
.w2w-movie-component .title {
  font-family: var(--w2w-font-heading);
  letter-spacing: 0;
  color: var(--w2w-color-text);
}

.w2w-movie-app h2.thay-the-h6,
.w2w-movie-component h2.thay-the-h6 {
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
}

.w2w-movie-app h2.thay-the-h5,
.w2w-movie-component h2.thay-the-h5 {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
}

.w2w-movie-app .term-phim-large,
.w2w-movie-component .term-phim-large {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
}

.w2w-movie-app .term-phim-medium,
.w2w-movie-component .term-phim-medium {
  font-size: 15px;
  font-weight: 600;
  line-height: 25px;
}

.w2w-movie-app .term-phim-small,
.w2w-movie-component .term-phim-small {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
}

.w2w-movie-app .term-phim-large a,
.w2w-movie-app .term-phim-medium a,
.w2w-movie-app .term-phim-small a,
.w2w-movie-component .term-phim-large a,
.w2w-movie-component .term-phim-medium a,
.w2w-movie-component .term-phim-small a {
  color: var(--w2w-color-link);
}

.w2w-movie-app .block-title,
.w2w-movie-component .block-title {
  font-family: var(--w2w-font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  text-transform: uppercase;
  color: var(--w2w-color-body);
  position: relative;
  display: inline-block;
  margin: 24px 0 16px;
}

.w2w-movie-app .block-title::after,
.w2w-movie-component .block-title::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 32px;
  height: 4px;
  background-color: var(--w2w-color-brand);
  border-radius: 2px;
}

.w2w-movie-layout {
  width: 100%;
}

.w2w-movie-layout__inner {
  width: min(100%, var(--w2w-container));
  margin: 0 auto;
  padding: 0 16px;
}

.w2w-movie-app .wp-block-image img,
.w2w-movie-component .wp-block-image img {
  border-radius: var(--w2w-radius-md);
  width: 100%;
  height: auto;
  padding: 4px 0 0;
  display: block;
}

.w2w-movie-app .wp-block-image :where(figcaption),
.w2w-movie-component .wp-block-image :where(figcaption) {
  font-size: 15px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .w2w-movie-app h1,
  .w2w-movie-component h1 {
    font-size: 26px;
    line-height: 36px;
  }

  .w2w-movie-app h2,
  .w2w-movie-component h2 {
    font-size: 22px;
    line-height: 32px;
  }

  .w2w-movie-app h3,
  .w2w-movie-component h3 {
    font-size: 20px;
    line-height: 30px;
  }

  .w2w-movie-app h4,
  .w2w-movie-component h4 {
    font-size: 18px;
    line-height: 30px;
  }

  .w2w-movie-app h5,
  .w2w-movie-component h5 {
    font-size: 16px;
    line-height: 26px;
  }

  .w2w-movie-app p,
  .w2w-movie-app li,
  .w2w-movie-component p,
  .w2w-movie-component li {
    font-size: 16px;
    line-height: 26px;
  }

  .w2w-movie-app .block-title,
  .w2w-movie-component .block-title {
    font-size: 16px;
    line-height: 30px;
  }
}
