/*
  Project: NN Color Archive
  Creator & Publisher: Nahyun Kim
  Copyright: © 2026 neonnuri.com / Nahyun Kim. Unauthorized copying is prohibited.
*/

/* 태블릿 */
@media (max-width: 1050px) {
  .header_brand p,
  .header_instagram {
    display: none;
  }

  .header {
    gap: 22px;
  }

  .nav {
    gap: 20px;
  }

  .hero {
    flex-direction: column;
    align-items: stretch;
  }

  .hero_copy,
  .hero_collage {
    width: 100%;
  }

  .hashtag_list {
    grid-template-columns: repeat(2, 1fr);
  }

  .category_list {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 34px;
  }

  .category_card strong {
    width: 130px;
  }

  .trending_section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mid_ad {
    min-height: 170px;
  }

  .about_signature {
    grid-template-columns: auto 1fr;
  }

  .about_signature > a {
    grid-column: 1 / -1;
    width: 100%;
    aspect-ratio: auto;
    padding: 16px;
    border-radius: 100px;
  }
}

/* 모바일 */
@media (max-width: 700px) {
  .site_intro_logo {
    font-size: clamp(64px, 22vw, 120px);
    gap: clamp(3px, 1.4vw, 10px);
    letter-spacing: 0;
  }

  .header {
    height: 78px;
    justify-content: space-between;
  }

  .logo {
    font-size: 43px;
    letter-spacing: -1px;
  }

  .nav {
    width: 100%;
    left: 0;
    top: 78px;
    z-index: 10;
    position: absolute;
    padding: var(--normal-space);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #000000;
    color: #ffffff;
  }

  .nav.active {
    display: flex;
  }

  .nav > a {
    width: 100%;
    padding: 16px 0;
    display: flex;
    align-items: center;
    border-top: 1px solid #444444;
    font-size: 24px;
  }

  .nav a::after {
    display: none;
  }

  .nav_mobile_actions {
    width: 100%;
    padding-top: var(--normal-space);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .nav_mobile_actions a,
  .nav_mobile_actions button {
    padding: 14px 12px;
    display: block;
    border: 1px solid #ffffff;
    border-radius: 100px;
    background: transparent;
    color: #ffffff;
    font-family: var(--body-font);
    font-size: 10px;
    font-weight: 900;
    text-align: center;
  }

  .header_actions {
    display: none;
  }

  .menu_button {
    width: 32px;
    height: 24px;
    display: block;
    position: relative;
    border: 0;
    background: none;
  }

  .menu_button span {
    width: 100%;
    height: 2px;
    left: 0;
    position: absolute;
    background: #000000;
  }

  .menu_button span:first-child {
    top: 6px;
  }

  .menu_button span:last-child {
    bottom: 6px;
  }

  .hero {
    min-height: 0;
    padding-top: 34px;
  }

  .hero_copy h1 {
    font-size: 72px;
  }

  .hero_collage {
    height: 330px;
  }

  .pinned_post,
  .hashtag_image {
    background: #f0ebe2;
  }

  .pinned_post img,
  .pinned_post video,
  .hashtag_image img {
    object-fit: contain;
  }

  .live_label {
    left: 8px;
    bottom: 10px;
    font-size: 12px;
  }

  .hashtag_feed,
  .contents_section {
    padding: 52px var(--page-side);
  }

  .feed_heading,
  .contents_heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hashtag_buttons {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .hashtag_button {
    flex: 0 0 auto;
  }

  .hashtag_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .hashtag_card_text {
    min-height: 92px;
    padding: 9px;
  }

  .hashtag_card_text h3 {
    font-size: 12px;
  }

  .trending_section {
    padding: 12px var(--page-side) 68px;
    gap: 20px;
  }

  .trending_board {
    min-height: 250px;
    grid-template-columns: 1fr 56px;
    grid-template-rows: auto 1fr;
  }

  .trending_label {
    min-height: 74px;
    padding: 14px;
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--text);
  }

  .trending_label b {
    font-size: 22px;
  }

  .trending_label small {
    display: none;
  }

  .trending_item {
    padding: 18px;
    grid-template-columns: 32px 1fr;
    gap: 10px;
  }

  .trending_item strong {
    white-space: normal;
  }

  .trending_item > i {
    display: none;
  }

  .trending_count {
    grid-column: 2;
    grid-row: 2;
  }

  .category_list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    gap: 30px 14px;
    padding-top: 8px;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .category_card {
    width: auto;
    min-width: 0;
    flex: none;
    scroll-snap-align: none;
  }

  .category_card strong {
    width: 110px;
  }

  .about_signature {
    min-height: 0;
    padding: 42px var(--normal-space);
    display: block;
  }

  .about_signature_mark {
    margin-bottom: 28px;
  }

  .about_signature_copy {
    padding: 24px 0 0;
    border-top: 1px solid #ffffff40;
    border-left: 0;
  }

  .about_signature > a {
    margin-top: 32px;
  }
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer small {
    margin-left: 0;
  }

  .instagram_button {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .instagram_button b {
    display: none;
  }

  .ad_guide_drawer {
    width: 100vw;
    height: 100vh;
    right: 0;
    top: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .contact_close {
    width: 38px;
    height: 38px;
    right: 12px;
    top: 12px;
  }

  .ad_guide_hero {
    min-height: 390px;
    padding: 70px 20px 36px;
  }

  .ad_guide_hero h2 {
    font-size: clamp(52px, 18vw, 76px);
  }

  .ad_guide_hero > b {
    right: -35px;
    font-size: 130px;
  }

  .ad_guide_content {
    padding: 30px 14px;
  }

  .ad_stats {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 42px;
  }

  .ad_stats article {
    min-height: 130px;
    padding: 15px;
    border-right: 1px solid var(--text);
    border-bottom: 1px solid var(--text);
  }

  .ad_stats article:nth-child(2n) {
    border-right: 0;
  }

  .ad_stats article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .ad_stats strong {
    margin: 23px 0 12px;
    font-size: clamp(20px, 6vw, 23px);
  }

  .ad_feature {
    margin: 42px 0;
  }

  .ad_products {
    grid-template-columns: 1fr;
  }

  .ad_products article {
    min-height: 150px;
  }

  .ad_process ol {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
    gap: 8px;
    scroll-snap-type: none;
  }

  .ad_process li {
    width: auto;
    min-height: 118px;
    flex: none;
    scroll-snap-align: none;
  }

  .ad_guide_cta {
    bottom: 10px;
    z-index: 1;
    position: sticky;
    margin-bottom: 10px;
  }
}

@media (max-width: 520px) {
  .hero_collage {
    height: auto;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pinned_post {
    aspect-ratio: 4 / 5;
  }

  .pinned_post img,
  .pinned_post video {
    height: 100%;
    object-fit: contain;
  }

  .live_label {
    position: static;
    justify-self: start;
    margin-top: 2px;
  }
}

@media (hover: none) {
  .pinned_stats,
  .hashtag_image span {
    left: 8px;
    top: auto;
    bottom: 8px;
    padding: 7px 9px;
    opacity: 1;
    border-radius: 100px;
    background: #000000aa;
    font-size: 10px;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site_intro {
    display: none;
  }
}

@media (max-width: 700px) {
  .logo_image {
    width: 52px;
    height: 52px;
    font-size: 0;
    letter-spacing: 0;
  }
}


