@charset "UTF-8";
.blog-header__title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  margin: 0; }

.blog-header__desc {
  font-size: 16px;
  line-height: 1.45;
  color: #c3bfb9;
  margin: 0; }

/* ------------------------------------------
   CONTEST RESULTS SECTION
   ------------------------------------------ */
.contest-results {
  background: #000;
  contain: layout style;
  scroll-margin-top: 80px; }
  .contest-results__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px; }
  .contest-results__title-wrap {
    flex: 1; }
  .contest-results__btn {
    flex-shrink: 0; }
  .contest-results__gallery {
    display: flex;
    flex-direction: column;
    gap: 40px; }
  .contest-results__featured {
    display: flex;
    flex-direction: column;
    gap: 15px; }
    .contest-results__featured .contest-results__photo-meta {
      justify-content: center; }
  .contest-results__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; }
  .contest-results__item {
    display: flex;
    flex-direction: column;
    gap: 10px; }
  .contest-results__award {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px; }
  .contest-results__award-text {
    font-size: 30px;
    font-weight: 400;
    color: #fafafa;
    white-space: nowrap; }
  .contest-results__link {
    display: block;
    overflow: hidden;
    text-decoration: none; }
    .contest-results__link:hover .contest-results__img {
      transform: scale(1.05); }
  .contest-results__figure {
    position: relative;
    margin: 0;
    width: 100%;
    height: 477px;
    overflow: hidden; }
    .contest-results__figure--featured {
      height: 680px; }
  .contest-results__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease; }
  .contest-results__caption {
    background: #201f1c;
    padding: 30px 40px;
    text-align: left; }
    .contest-results__caption--featured {
      text-align: center; }
  .contest-results__photo-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 13px;
    color: #fafafa;
    letter-spacing: 1px; }
  .contest-results__photo-meta {
    display: flex;
    align-items: center;
    justify-content: inherit;
    gap: 12px;
    margin: 0;
    font-size: 16px;
    color: #ebe8e3;
    letter-spacing: 1px; }
  .contest-results__author {
    font-weight: 500; }
  .contest-results__divider {
    opacity: 0.5; }
  .contest-results__device {
    opacity: 0.75;
    font-weight: 500; }
  .contest-results__empty {
    text-align: center;
    color: #c3bfb9;
    font-size: 16px;
    padding: 60px 20px; }
  .contest-results .button-shutter {
    color: #fafafa; }

/* POTW FancyBox Popup Custom */
.potw-popup {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background: #1a1a1a;
  border-radius: 12px;
  color: #fff;
  text-align: justify; }
  .potw-popup__header {
    display: flex;
    flex-direction: column;
    gap: 8px; }
  .potw-popup__title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: #fafafa; }
  .potw-popup__author {
    font-size: 14px;
    color: #c3bfb9;
    display: flex;
    align-items: center;
    gap: 8px; }
    .potw-popup__author::before {
      content: 'Tác giả:';
      color: #706c66; }
  .potw-popup__quote {
    font-size: 16px;
    font-style: italic;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
    padding: 16px 20px;
    border-left: 3px solid #2cff73;
    background: rgba(44, 255, 115, 0.05); }
  .potw-popup__device {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #2cff73;
    padding: 8px 16px;
    background: rgba(44, 255, 115, 0.1);
    border-radius: 20px;
    width: fit-content; }
    .potw-popup__device::before {
      content: '📱'; }
  .potw-popup__content {
    font-size: 14px;
    line-height: 1.7;
    color: #c3bfb9;
    margin: 0; }
    @media (min-width: 992px) {
      .potw-popup__content {
        max-height: 200px;
        overflow: hidden auto;
        scrollbar-width: thin;
        scrollbar-color: #2cff73 rgba(255, 255, 255, 0.1); }
        .potw-popup__content::-webkit-scrollbar {
          width: 6px; }
        .potw-popup__content::-webkit-scrollbar-track {
          background: rgba(255, 255, 255, 0.1);
          border-radius: 3px; }
        .potw-popup__content::-webkit-scrollbar-thumb {
          background: #2cff73;
          border-radius: 3px; }
          .potw-popup__content::-webkit-scrollbar-thumb:hover {
            background: #24d962; } }

/* ------------------------------------------
   STORY GALLERY SECTION (Masonry)
   ------------------------------------------ */
.story-gallery .story-gallery__header {
  margin-bottom: 40px; }

.story-gallery .story-gallery__container {
  padding: 0 80px; }

.story-gallery .story-gallery__masonry {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  align-items: start; }
  .story-gallery .story-gallery__masonry .story-gallery__column .story-gallery__item:not(:last-child) {
    margin-bottom: 15px; }

.story-gallery .story-gallery__item {
  position: relative;
  background: #201f1c;
  overflow: hidden;
  break-inside: avoid;
  transition: transform 0.3s ease, box-shadow 0.3s ease; }
  .story-gallery .story-gallery__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
  .story-gallery .story-gallery__item:nth-child(5n+1) {
    grid-column: 1; }
  .story-gallery .story-gallery__item:nth-child(5n+2) {
    grid-column: 2; }
  .story-gallery .story-gallery__item:nth-child(5n+3) {
    grid-column: 3; }
  .story-gallery .story-gallery__item:nth-child(5n+4) {
    grid-column: 4; }
  .story-gallery .story-gallery__item:nth-child(5n+5) {
    grid-column: 5; }

.story-gallery .story-gallery__content {
  display: none !important; }

.story-gallery .story-gallery__link {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 15px;
  text-decoration: none;
  cursor: zoom-in; }

.story-gallery .story-gallery__author {
  display: flex;
  align-items: center;
  gap: 10px; }

.story-gallery .story-gallery__author-name {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2; }

.story-gallery .story-gallery__image-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #2a2a2a; }

.story-gallery .story-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  contain: layout style paint; }

.story-gallery .story-gallery__item:hover .story-gallery__image {
  transform: scale(1.05); }

.story-gallery .story-gallery__info {
  text-align: center; }

.story-gallery .story-gallery__title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 8px; }

.story-gallery .story-gallery__meta {
  font-size: 12px;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  margin: 0; }
  .story-gallery .story-gallery__meta strong {
    font-weight: 700; }

.story-gallery .story-gallery__hidden-images {
  display: none;
  position: absolute;
  visibility: hidden;
  pointer-events: none; }

.story-gallery .story-gallery__badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  z-index: 2; }

.story-gallery .story-gallery__image-wrapper {
  position: relative; }

.story-gallery .story-gallery__cta {
  display: flex;
  justify-content: center;
  margin-top: 40px; }
  .story-gallery .story-gallery__cta .button.button-shutter {
    color: #fff; }

.story-gallery .button.button-shutter::before, .story-gallery .button.button-shutter::after {
  background: rgba(255, 255, 255, 0.15); }

/* ------------------------------------------
   FANCYBOX STORY SIDEBAR
   ------------------------------------------ */
.fancybox-story.has-story-sidebar .fancybox-stage {
  right: 380px;
  transition: right 0.3s ease; }

.fancybox-story.has-story-sidebar .fancybox-toolbar {
  right: 380px; }

.fancybox-story.has-story-sidebar .fancybox-navigation .fancybox-button--arrow_right {
  right: 480px; }

.fancybox-story.has-story-sidebar.sidebar-collapsed .fancybox-stage {
  right: 0; }

.fancybox-story.has-story-sidebar.sidebar-collapsed .fancybox-toolbar {
  right: 10px; }

.fancybox-story.has-story-sidebar.sidebar-collapsed .fancybox-navigation .fancybox-button--arrow_right {
  right: 10px; }

.fancybox-story.has-story-sidebar.sidebar-collapsed .story-sidebar {
  transform: translateX(100%); }

.fancybox-story.has-story-sidebar.sidebar-collapsed .story-sidebar__toggle {
  left: -44px; }
  .fancybox-story.has-story-sidebar.sidebar-collapsed .story-sidebar__toggle svg {
    transform: rotate(180deg); }

.story-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100%;
  background: #1a1a1a;
  z-index: 99997;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  will-change: transform;
  contain: layout style; }
  .story-sidebar .story-sidebar__toggle {
    position: absolute;
    left: -44px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 60px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px 0 0 8px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, left 0.3s ease;
    z-index: 10; }
    .story-sidebar .story-sidebar__toggle svg {
      width: 20px;
      height: 20px;
      transition: transform 0.3s ease; }
    .story-sidebar .story-sidebar__toggle:hover {
      background: #2a2a2a; }
  .story-sidebar .story-sidebar__inner {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch; }
  .story-sidebar .story-content {
    padding: 24px;
    color: #fff; }
  .story-sidebar .story-content__header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .story-sidebar .story-content__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px; }
  .story-sidebar .story-content__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2); }
  .story-sidebar .story-content__author-info {
    display: flex;
    flex-direction: column;
    gap: 2px; }
  .story-sidebar .story-content__author-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff; }
  .story-sidebar .story-content__device {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6); }
  .story-sidebar .story-content__title {
    font-family: var(--style-font, inherit);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin: 0; }
  .story-sidebar .story-content__body {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85); }
    .story-sidebar .story-content__body p {
      margin: 0 0 16px; }
      .story-sidebar .story-content__body p:last-child {
        margin-bottom: 0; }
    .story-sidebar .story-content__body img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      margin: 16px 0; }
    .story-sidebar .story-content__body a {
      color: #00a859;
      text-decoration: none; }
      .story-sidebar .story-content__body a:hover {
        text-decoration: underline; }
    .story-sidebar .story-content__body h1, .story-sidebar .story-content__body h2, .story-sidebar .story-content__body h3, .story-sidebar .story-content__body h4, .story-sidebar .story-content__body h5, .story-sidebar .story-content__body h6 {
      color: #fff;
      margin: 24px 0 12px;
      font-weight: 600; }
      .story-sidebar .story-content__body h1:first-child, .story-sidebar .story-content__body h2:first-child, .story-sidebar .story-content__body h3:first-child, .story-sidebar .story-content__body h4:first-child, .story-sidebar .story-content__body h5:first-child, .story-sidebar .story-content__body h6:first-child {
        margin-top: 0; }
    .story-sidebar .story-content__body ul, .story-sidebar .story-content__body ol {
      padding-left: 20px;
      margin: 12px 0; }
    .story-sidebar .story-content__body blockquote {
      border-left: 3px solid #00a859;
      padding-left: 16px;
      margin: 16px 0;
      font-style: italic;
      color: rgba(255, 255, 255, 0.7); }
  .story-sidebar .story-content__footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .story-sidebar .story-content__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #00a859;
    text-decoration: none;
    transition: color 0.2s ease; }
    .story-sidebar .story-content__link:hover {
      color: #00c96b; }
  .story-sidebar .story-sidebar__empty {
    padding: 40px 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px; }

/* Fancybox gallery customization */
.fancybox-caption {
  font-size: 14px;
  text-align: center;
  padding: 15px 20px; }
  .fancybox-caption strong {
    font-weight: 700;
    text-transform: uppercase; }

.fancybox-show-thumbs .fancybox-inner {
  right: 0; }

.fancybox-thumbs {
  background: rgba(0, 0, 0, 0.9);
  left: 0;
  right: auto;
  bottom: 0;
  top: auto;
  width: calc(100% - 380px); }
  .fancybox-thumbs .fancybox-thumbs__list {
    margin: 0 auto; }
    .fancybox-thumbs .fancybox-thumbs__list a::before {
      border-color: #2cff73; }

@media (max-width: 991px) {
  .contest-results__gallery {
    gap: 20px; }
  .contest-results__figure {
    height: 360px; }
    .contest-results__figure--featured {
      height: 480px; }
  .contest-results__award-text {
    font-size: 26px; }
  .contest-results__caption {
    padding: 24px; }
  .contest-results__photo-title {
    font-size: 20px; }
  /* Story Gallery Responsive */
  .story-gallery .story-gallery__container {
    padding: 0 30px; }
  .story-gallery .story-gallery__masonry {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px; }
  .story-gallery .story-gallery__item:nth-child(5n+1), .story-gallery .story-gallery__item:nth-child(5n+2), .story-gallery .story-gallery__item:nth-child(5n+3), .story-gallery .story-gallery__item:nth-child(5n+4), .story-gallery .story-gallery__item:nth-child(5n+5) {
    grid-column: auto; }
  .story-gallery .story-gallery__link {
    padding: 12px;
    gap: 10px; }
  .story-gallery .story-gallery__author-name {
    font-size: 14px; }
  .story-gallery .story-gallery__title {
    font-size: 13px; }
  .story-gallery .story-gallery__meta {
    font-size: 11px; }
  .fancybox-story.has-story-sidebar .fancybox-stage {
    right: 320px; }
  .fancybox-story.has-story-sidebar .fancybox-toolbar {
    right: 330px; }
  .fancybox-story.has-story-sidebar .fancybox-navigation .fancybox-button--arrow_right {
    right: 330px; }
  .story-sidebar {
    width: 320px; }
    .story-sidebar .story-content {
      padding: 20px; }
    .story-sidebar .story-content__title {
      font-size: 18px; }
  .fancybox-thumbs {
    width: 100%;
    top: 45px;
    bottom: auto; } }

@media (max-width: 767px) {
  .contest-results__header {
    gap: 10px; }
  .contest-results__grid {
    grid-template-columns: 1fr; }
  .contest-results__figure {
    height: 280px; }
    .contest-results__figure--featured {
      height: 320px; }
  .contest-results__award {
    gap: 20px; }
  .contest-results__award-icon {
    font-size: 16px; }
  .contest-results__award-text {
    font-size: 22px; }
  .contest-results__caption {
    padding: 20px; }
    .contest-results__caption--featured {
      text-align: left; }
  .contest-results__photo-title {
    font-size: 18px;
    margin-bottom: 8px; }
  .contest-results__photo-meta {
    font-size: 14px;
    flex-wrap: wrap; }
  /* Story Gallery Mobile */
  .story-gallery .story-gallery__container {
    padding: 0 15px; }
  .story-gallery .story-gallery__header {
    margin-bottom: 24px; }
  .story-gallery .story-gallery__masonry {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px; }
  .story-gallery .story-gallery__link {
    padding: 10px;
    gap: 8px; }
  .story-gallery .story-gallery__author-avatar {
    width: 24px;
    height: 24px; }
  .story-gallery .story-gallery__author-name {
    font-size: 12px; }
  .story-gallery .story-gallery__title {
    font-size: 12px;
    margin-bottom: 5px; }
  .story-gallery .story-gallery__meta {
    font-size: 10px; }
  .story-gallery .story-gallery__cta {
    margin-top: 24px; }
  .fancybox-story.fancybox-show-thumbs .fancybox-stage {
    top: 12%; }
  .fancybox-story.has-story-sidebar .fancybox-stage {
    right: 0;
    bottom: 45%; }
  .fancybox-story.has-story-sidebar .fancybox-toolbar {
    right: 10px; }
  .fancybox-story.has-story-sidebar .fancybox-navigation .fancybox-button--arrow_right {
    right: 10px; }
  .fancybox-story.has-story-sidebar.sidebar-collapsed .fancybox-stage {
    bottom: 0; }
  .fancybox-story.has-story-sidebar.sidebar-collapsed .story-sidebar {
    transform: translateY(100%); }
  .fancybox-story.has-story-sidebar.sidebar-collapsed .story-sidebar__toggle {
    top: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 36px;
    border-radius: 8px 8px 0 0; }
    .fancybox-story.has-story-sidebar.sidebar-collapsed .story-sidebar__toggle svg {
      transform: rotate(-90deg); }
  .story-sidebar {
    width: 100%;
    height: 35%;
    top: auto;
    bottom: 0;
    border-radius: 16px 16px 0 0; }
    .story-sidebar .story-content {
      padding: 16px; }
    .story-sidebar .story-content__title {
      font-size: 16px; }
    .story-sidebar .story-content__body {
      font-size: 13px; }
    .story-sidebar .story-sidebar__toggle {
      top: -44px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 36px;
      border-radius: 8px 8px 0 0; }
      .story-sidebar .story-sidebar__toggle svg {
        transform: rotate(90deg); } }
