@charset "utf-8";
/* ==========================================================================
   muktimoon pc.css (HEADER + FOOTER)
   - Scope: >= 992px
   - PC header: benchmark-like layout
   ========================================================================== */

@media (min-width: 992px) {

  .mm-mnav{ display: none !important; }
  /* PC에서는 모바일 로그인 레이어 헬퍼(X/backdrop) 항상 숨김 */
  #aside .mm-loginlayer__bg,
  #aside .mm-loginlayer__close{
    display: none !important;
  }


  /* ------------------------------------------------------------------------
     PC Header layout tokens (pc.css 내부에서만 사용)
     ------------------------------------------------------------------------ */
  .mm-hd{
    position: relative;

    /* common.css의 기본 border-bottom(회색줄) 제거 → PC에서는 메뉴 하단 Primary 라인만 사용 */
    border-bottom: 0;

    --mm-pc-topbar-h: 39px;     /* 상단 유틸 바 높이 */
    --mm-pc-mainbar-h: 86px;    /* 메인 바 높이(로고/메뉴/햄버거) */

    /* 가운데 메뉴가 로고/햄버거 영역을 침범하지 않도록 슬롯 확보 */
    --mm-pc-logo-slot: 280px;
    --mm-pc-tools-slot: 100px;

    --mm-pc-account-reserve: 180px; /* 검색창과 회원가입 간격을 10px로 맞추기 위한 예약 폭(미세조정용) */

    /* 상단 유틸 바는 absolute로 올릴 것이므로 공간 확보 */
    padding-top: var(--mm-pc-topbar-h);
  }

  /* ------------------------------------------------------------------------
     Top utility bar (검색창 + 로그인/회원가입)
     - 기존 #mmSearchPanel을 PC에서는 “항상 표시”로 사용
     ------------------------------------------------------------------------ */
  #mmSearchPanel{
    display: block !important;            /* hidden attribute를 시각적으로 override */
    position: absolute;
    top: 0; left: 0; right: 0;
    height: var(--mm-pc-topbar-h);
    padding: 0;

    border-top: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
  }

  #mmSearchPanel .mm-container{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: var(--mm-pc-account-reserve);
    gap: 10px; /* 회원가입↔로그인 간격과 동일 */
  }

  /* search panel 내부에서 “폼만” 보여주고(popular 등) 나머지는 숨김 */
  #mmSearchPanel .mm-container > :not(.mm-hd__searchform){
    display: none !important;
  }

  /* PC에서는 상단 검색 아이콘 토글 버튼 숨김 */
  #mmSearchToggle{
    display: none !important;
  }

  /* 검색 폼(입력 + 돋보기 버튼) */
  /* 검색 폼: 버튼을 입력창 안으로 겹치기 */
  .mm-hd__searchform{
    position: relative;
    flex: 0 1 520px; /* 필요 시 약간 넓게 */
  }

  .mm-hd__searchform input[type="text"]{
    width: 100%;
    padding-right: 48px; /* 버튼 들어갈 공간 */
  }

  .mm-hd__searchbtn{
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 30px;
    border-radius: 8px;
    border: 0;
    background: #0f172a;  /* 기존 톤 유지 */
    color: #ffffff;
  }

  /* ------------------------------------------------------------------------
     로그인/회원가입 버튼(우측)
     - 기존 .mm-hd__account 블록을 PC 상단바 우측에 “올려 배치”
     ------------------------------------------------------------------------ */
  .mm-hd__account{
    position: absolute;
    top: 0; left: 0; right: 0;
    height: var(--mm-pc-topbar-h);
    background: transparent;
    border: 0;

    /* 빈 영역 클릭이 검색 폼을 막지 않도록 */
    pointer-events: none;
  }

  .mm-hd__account .mm-container{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: auto;
  }

  .mm-account{
    padding: 0;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .mm-account a{
    height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    background: transparent;
    border: 2px solid var(--mm-brand-primary);
    color: var(--mm-brand-primary);
    font-weight: 400;
    text-decoration: none;
  }

  /* (비회원 기준) 2번째 버튼을 Primary 채움(회원가입) */
  .mm-account li:nth-child(2) a{
    background: var(--mm-brand-primary);
    color: #ffffff;
  }

  /* ------------------------------------------------------------------------
     Main bar: 로고(좌) + 메뉴(가운데) + 햄버거(우)
     ------------------------------------------------------------------------ */
  .mm-hd__top{
    height: var(--mm-pc-mainbar-h);
    padding: 0;
    display: flex;
    align-items: center;
    background: #ffffff;

    /* 메뉴 하단 Primary 라인(벤치마킹의 붉은 라인 → Primary 블루) */
    border-bottom: 2px solid var(--mm-brand-primary);
  }

  .mm-hd__row{
    width: 100%;
    justify-content: space-between;
  }

  /* 로고(좌) */
  .mm-hd__logo{
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 3;
    order: 1;
  }

  .mm-hd__logo img{
    height: 70px;
    width: auto;
    max-width: 260px;
  }

  /* 햄버거(우): PC는 벤치마킹처럼 원형 버튼 느낌 */
  .mm-hd__allbtn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--mm-brand-primary);
    color: #ffffff;
    border: 0;

    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 999px;
    box-shadow: var(--mm-shadow-1);

    order: 3;
  }

  .mm-hd__allbtn i{
    line-height: 1;
    font-size: 18px;
  }

  /* ------------------------------------------------------------------------
     1단 메뉴(가운데): .mm-nav를 메인 바 중앙에 overlay 배치
     ------------------------------------------------------------------------ */
  .mm-nav{
    position: absolute;
    top: var(--mm-pc-topbar-h);
    left: 0;
    right: 0;
    height: var(--mm-pc-mainbar-h);
    background: transparent;

    /* 메뉴 영역 외 클릭이 로고/햄버거를 막지 않도록 */
    pointer-events: none;
    z-index: 2;
  }

  .mm-nav .mm-container{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    padding-left: var(--mm-pc-logo-slot);
    padding-right: var(--mm-pc-tools-slot);

    pointer-events: none;
  }

  .mm-nav__primary{
    overflow: visible;
    -webkit-overflow-scrolling: auto;

    justify-content: center;
    gap: 28px;

    pointer-events: auto;
  }

  .mm-nav__link{
    padding: 18px 0;
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
    background: transparent;
  }

  .mm-nav__link:hover,
  .mm-nav__link:focus{
    color: var(--mm-brand-primary);
    background: transparent;
  }

  .mm-nav__item.is-active > .mm-nav__link{
    color: var(--mm-brand-primary);
    background: transparent;
  }

  /* 2단 표시 영역(열릴 때만 노출): 메인 바 아래에서 자연스럽게 밀리도록 */
  #mm-nav-subrow{
    position: relative;
    z-index: 2;
  }

  /* 드로어(PC): 패널 폭만 데스크탑에 맞게 확장 */
  .mm-drawer__panel{
    width: 420px;
    max-width: 420px;
  }

  /* ==========================================================================
     Footer (preserve)
     ========================================================================== */
  .mm-footer__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--mm-space-7);
  }

  .mm-footer__brand {
    flex: 0 0 240px;
  }

  .mm-footer__logo img {
    width: 210px;
  }

  .mm-footer__text {
    flex: 1 1 auto;
    max-width: 860px;
  }

  /* header 뒤 hr로 인해 라인이 2줄로 보이는 현상 제거 */
  #hd + hr{
    display: none !important;
  }

    /* PC 드로어에서도 펼치기 버튼 숨기고(항상 펼침) 2단을 그리드로 */
  .mm-drawer__expander{
    display: none !important;
  }

  .mm-drawer__sub{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;

    border-left: 0;
    padding: 10px 0 0;
    margin-top: 8px;
  }

  .mm-drawer__sub a{
    display: block;
    text-align: center;
    padding: 10px 10px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: #ffffff;
  }

  /* ============================================================
     PC Topbar fixes
     - account overlay가 검색 영역 클릭을 막는 문제 해결
     - search 폭 절반 수준으로 축소
     - search ↔ signup 간격(10px) 확보(겹침 제거)
     - account hover 밑줄 제거
     ============================================================ */

  /* 1) 계정(회원가입/로그인) 오버레이가 빈 영역까지 클릭을 먹지 않도록:
        - 컨테이너는 pointer-events:none
        - 실제 버튼(.mm-account)만 pointer-events:auto */
  .mm-hd__account{ pointer-events: none; }
  .mm-hd__account .mm-container{ pointer-events: none; }
  .mm-hd__account .mm-account,
  .mm-hd__account .mm-account *{ pointer-events: auto; }

  /* 2) 검색 폭: 기존 520px 전후였다면 "절반 수준"으로 */
  .mm-hd__searchform{
    flex: 0 1 260px;   /* 절반 수준(필요하면 240~300 사이에서 조정) */
  }

  /* 3) 검색창이 계정버튼 아래로 들어가 겹치지 않도록,
        검색 패널 컨테이너 우측 예약 폭을 조금 키워서 간격 확보 */
  .mm-hd{
    --mm-pc-account-reserve: 240px; /* 겹침 방지 + 10px 갭 확보용(필요시 10px 단위로 조정) */
  }

  #mmSearchPanel .mm-container{
    padding-right: var(--mm-pc-account-reserve);
    gap: 10px; /* "회원가입↔로그인"과 동일한 간격 톤 */
  }

  /* 4) 회원가입/로그인 hover 밑줄 제거(PC에서만) */
  .mm-account a:hover,
  .mm-account a:focus{
    text-decoration: none !important;
  }

  /* ============================================================
     PC Topbar scale down + consistent gaps
     ============================================================ */

  /* 1) 상단 유틸 전체 톤 다운(높이/여백) */
  .mm-hd{
    --mm-pc-topbar-h: 39px; /* 54 -> 48 */
  }

  #mmSearchPanel{
    height: var(--mm-pc-topbar-h);
  }

  .mm-hd__account{
    height: var(--mm-pc-topbar-h);
  }

  /* 2) 검색 폼/입력/버튼 크기 축소 */
  .mm-hd__searchform{
    flex: 0 1 240px; /* 이전 260 -> 더 작게 */
  }

  .mm-hd__searchform input[type="text"]{
    height: 32px;          /* 36 -> 32 */
    font-size: 13px;
    border-radius: 10px;
    padding-left: 12px;
    padding-right: 42px;   /* 내부 돋보기 공간 */
  }

  .mm-hd__searchbtn{
    width: 32px;
    height: 26px;
    right: 6px;
    border-radius: 8px;
  }

  /* 3) 회원가입/로그인 버튼 크기 축소 + 간격 고정 */
  .mm-account{
    gap: 8px;              /* 10 -> 8 (전체를 더 컴팩트하게) */
  }

  .mm-account a{
    height: 30px;          /* 34 -> 30 */
    padding: 0 10px;       /* 12 -> 10 */
    border-radius: 8px;
    font-size: 13px;
    line-height: 1;
  }

  /* 4) 검색창 ↔ 회원가입 간격을 (회원가입↔로그인)과 동일하게 보이도록:
        - search container의 gap(=8px)과 동일한 여백을 확보하도록 reserve를 조정 */
  #mmSearchPanel .mm-container{
    gap: 8px;
  }

  .mm-hd{
    /* 계정(2버튼) 폭 + 우측 여유 + gap을 고려한 예약 폭
       겹치면 10px 올리고, 너무 벌어지면 10px 내리세요. */
    --mm-pc-account-reserve: 250px;
  }

  /* ============================================================
     PC hover submenu (2depth) - improved
     - gap 최소화(hover 끊김 방지)
     - z-index 보강(클릭 가능)
     - benchmark 느낌(삼각 포인터 + primary panel)
     ============================================================ */

  /* PC에서는 click-subrow 방식(#mm-nav-subrow) 숨김 */
  #mm-nav-subrow{
    display: none !important;
  }

  /* 드롭다운이 다른 레이어에 눌리지 않도록 스택 우선순위 보강 */
  .mm-nav{ z-index: 30; }
  .mm-nav__sub{ z-index: 40; }

  /* 드롭다운 기준점 */
  .mm-nav__item{
    position: relative;
  }

  /* 2단 기본 숨김 (hidden 속성 포함) */
  .mm-nav__sub,
  .mm-nav__sub[hidden]{
    display: none;
  }

  /* 1단 hover 또는 키보드 포커스 진입 시 2단 노출 */
  .mm-nav__item.has-sub:hover > .mm-nav__sub,
  .mm-nav__item.has-sub:focus-within > .mm-nav__sub{
    display: block !important;
  }

  /* 2단 드롭다운 패널: 1단 바로 아래에 "붙여서" gap 제거 */
  .mm-nav__sub{
    position: absolute;
    top: 100%;                 /* 기존 calc(100% + 10px) → gap 제거 */
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;          /* 패널 자체를 아래로 내리되, hover 끊김 방지는 아래 :before로 처리 */

    margin-left: 0;
    list-style: none;

    background: var(--mm-brand-primary);
    border: 0;
    box-shadow: var(--mm-shadow-1);
  }

  /* hover 끊김 방지용 "브릿지" (1단과 패널 사이 빈 공간을 패널이 커버) */
  .mm-nav__sub::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
    background: transparent;
  }

  /* 벤치마킹 느낌: 삼각 포인터 */
  .mm-nav__sub::after{
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--mm-brand-primary);
  }

  .mm-nav__sub li + li{
    margin-top: 1px;
  }

  .mm-nav__sub a{
    display: block;
    padding: 9px 12px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 400;
    white-space: nowrap;
  }

  .mm-nav__sub a:hover,
  .mm-nav__sub a:focus{
    text-decoration: none;
  }

  /* 1단 hover 시 텍스트 강조 */
  .mm-nav__item.has-sub:hover > .mm-nav__link,
  .mm-nav__item.has-sub:focus-within > .mm-nav__link{
    color: var(--mm-brand-primary);
  }

    /* ============================================================
     PC 2depth submenu: more compact + lighter translucent
     ============================================================ */

  /* 패널 폭 약 30% 축소 + 배경 더 연하고 약간 투명 */
  .mm-nav__sub{
    min-width: 125px; /* 기존 220px 대비 약 -30% */
    padding: 1px;

    background: rgba(29, 78, 216, 0.90); /* primary를 아주 연하게 + 투명 */
    border: 1px solid rgba(29, 78, 216, 0.90);
    box-shadow: var(--mm-shadow-1);

    /* 반투명 톤이 예쁘게 보이도록 약한 블러(지원 브라우저에서만) */
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  /* 포인터 삼각형도 동일 톤으로 */
  .mm-nav__sub::after{
    border-bottom-color: rgba(29, 78, 216, 0.90);
  }

  /* 항목 더 컴팩트 */
  .mm-nav__sub a{
    font-size: 12px;    /* 13 -> 조금 더 작게 */
    padding: 8px 10px;    /* 컴팩트 */
    font-weight: 400;     /* 유지 */
    color: #ffffff;       /* 밝은 패널이므로 텍스트는 다크 */
  }

  .mm-nav__sub a:hover,
  .mm-nav__sub a:focus{
    background: rgba(255, 255, 255, 0.10);
  }

    /* ============================================================
     PC Aside layout (container + aside)
     ============================================================ */
  #container_wr{
    display: flex;
    align-items: flex-start;
    gap: 24px;
  }

  #container{
    flex: 1 1 auto;
    min-width: 0; /* flex overflow 방지 */
  }

  /* 벤치마킹: 좌측 사이드 컬럼 느낌(필요시 260~320 사이에서 조정) */
  #aside{
    flex: 0 0 280px;
    order: -1; /* 마크업은 container 다음 aside지만, PC에서는 aside를 좌측으로 */
    min-width: 0;
  }

  /* aside 내부 섹션 간격 통일 */
  #aside > * + *{
    margin-top: 14px;
  }

  /* ============================================================
     Outlogin skin override (PC)
     - scope: #aside 안의 .ol만
     ============================================================ */
  #aside .ol{
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--mm-shadow-1);
    overflow: hidden;
    margin-bottom: 0; /* 기존 style.css의 margin-bottom 제거 */
  }

  /* ---- 로그인 전 (#ol_before) ---- */
  #aside #ol_be_cate{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    padding: 12px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
  }

  #aside #ol_be_cate h2{
    float: none;
    width: auto;
    padding: 0;
    margin: 0;

    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
  }

  #aside #ol_be_cate .join{
    float: none;
    width: auto;
    padding: 0;
    background: transparent;

    font-size: 13px;
    font-weight: 700;
    color: var(--mm-brand-primary);
    text-decoration: none;
  }

  #aside #ol_before form{
    padding: 14px;
  }

  #aside #ol_id,
  #aside #ol_pw{
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #f8fafc;
    padding: 0 12px;
  }

  #aside #ol_submit{
    height: 38px;
    border-radius: 12px;
    border: 0;
    background: var(--mm-brand-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
  }

  #aside .ol_auto_wr{
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  #aside #ol_auto{
    float: none;
    margin-top: 0;
  }

  #aside #ol_svc{
    float: none;
    line-height: 1;
  }

  #aside #ol_svc a{
    border: 1px solid rgba(15, 23, 42, 0.14);
    color: #0f172a;
    border-radius: 10px;
    padding: 6px 8px;
    font-weight: 800;
    text-decoration: none;
    background: #ffffff;
  }

  /* ---- 로그인 후 (#ol_after) ---- */
  #aside #ol_after_hd{
    position: relative;
    height: auto;
    min-height: 72px;

    padding: 14px 14px 12px 64px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }

  #aside #ol_after_hd .profile_img{
    top: 14px;
    left: 14px;
  }

  #aside #ol_after_hd .profile_img img{
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
  }

  #aside #ol_after_hd strong{
    margin: 2px 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
  }

  #aside #ol_after_info{
    height: 28px;
    line-height: 26px;
    border-radius: 10px;
    padding: 0 10px;

    border: 1px solid rgba(15, 23, 42, 0.14);
    color: #0f172a;
    background: #ffffff;
    text-decoration: none;
    font-weight: 800;
  }

  #aside #ol_after_hd .btn_admin{
    height: 28px;
    line-height: 28px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: #ffffff;
  }

  /* 리스트: 아이콘/텍스트 좌, 숫자 우 정렬(벤치마킹 느낌) */
  #aside #ol_after_private{
    margin: 0;
    padding: 8px 0;
    list-style: none;
  }

  #aside #ol_after_private li{
    margin: 0;
    padding: 0;
  }

  #aside #ol_after_private a{
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;
    color: #334155;
    text-decoration: none;
    line-height: 1.2;
  }

  #aside #ol_after_private li + li a{
    border-top: 1px solid rgba(15, 23, 42, 0.06);
  }

  #aside #ol_after_private a i{
    width: 18px;
    margin-right: 0;
    color: rgba(15, 23, 42, 0.45);
  }

  #aside #ol_after_private a strong{
    margin-left: auto;
    float: none;
    max-width: none;

    color: var(--mm-brand-primary);
    font-weight: 700;
    padding: 0;
    background: transparent;
  }

  #aside #ol_after_private a:hover,
  #aside #ol_after_private a:focus{
    background: rgba(15, 23, 42, 0.04);
  }

  /* 로그아웃: 중앙 정렬 버튼형 */
  #aside #ol_after_logout{
    display: block;
    text-align: center;

    padding: 12px 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    color: rgba(15, 23, 42, 0.55);
    text-decoration: none;
    font-weight: 700;
  }

  #aside #ol_after_logout:hover,
  #aside #ol_after_logout:focus{
    color: var(--mm-brand-primary);
    background: rgba(15, 23, 42, 0.03);
  }

    /* ============================================================
     PC: Align #container_wr (container + aside) to header width
     - header .mm-container는 max 1200 + 좌우 gutter 16*2 만큼의 "체감 폭"을 가짐
     - #container_wr도 동일한 폭/거터로 맞춰 aside가 좌측으로 튀어나오지 않게
     ============================================================ */

  #container_wr{
    /* 1200 + (16*2) = 1232 */
    width: 100%;
    max-width: calc(var(--mm-container-max) + (var(--mm-gutter) * 2));
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--mm-gutter);
    padding-right: var(--mm-gutter);
    box-sizing: border-box;
  }

    /* ============================================================
     PC Aside outlogin: overflow fix + spacing + minor typography
     ============================================================ */

  /* 로그인 박스가 상단 라인에 너무 붙지 않게(로그인 전/후 동일) */
  #aside #ol_before,
  #aside #ol_after{
    margin-top: 10px;
  }

  /* width:100% + padding overflow 방지(입력/링크 포함 전체를 border-box로) */
  #aside #ol_before,
  #aside #ol_before * ,
  #aside #ol_after,
  #aside #ol_after *{
    box-sizing: border-box;
  }

  /* 입력이 카드 밖으로 삐져나오지 않도록 안전장치 */
  #aside #ol_id,
  #aside #ol_pw{
    width: 100%;
    max-width: 100%;
  }

  /* ID/PW 찾기: 1px 작게 + weight 400 */
  #aside #ol_svc a{
    font-size: 12px;
    font-weight: 400;
  }

  /* ============================================================
     PC Aside banner (below outlogin)
     ============================================================ */
  #mm-aside-banner{
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--mm-shadow-1);
    overflow: hidden;
  }

  #mm-aside-banner img{
    display: block;
    width: 100%;
    height: auto;
  }

  /* ============================================================
    PC Aside: New posts (below banner) - PC only
  ============================================================ */
  #mm-aside-newposts{
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--mm-shadow-1);
    overflow: hidden;
  }

  #mm-aside-newposts .mm-aside-newposts__head{
    padding: 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: #ffffff;
  }

  #mm-aside-newposts .mm-aside-newposts__title{
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;

    /* 벤치마킹 느낌: 하단 강조 라인 */
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 3px solid #e11d2e;
  }

  #mm-aside-newposts .mm-aside-newposts__list{
    list-style: none;
    margin: 0;
    padding: 10px 14px 14px;
  }

  #mm-aside-newposts .mm-aside-newposts__item{
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 6px 0;
  }

  #mm-aside-newposts .mm-aside-newposts__item + .mm-aside-newposts__item{
    border-top: 1px solid rgba(15, 23, 42, 0.06);
  }

  #mm-aside-newposts .mm-aside-newposts__link{
    flex: 1 1 auto;
    min-width: 0;

    color: #e11d2e;
    text-decoration: none;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    font-weight: 700;
  }

  #mm-aside-newposts .mm-aside-newposts__time{
    flex: 0 0 auto;
    color: #e11d2e;
    font-size: 12px;
    font-weight: 700;
  }

  #mm-aside-newposts .mm-aside-newposts__link:hover,
  #mm-aside-newposts .mm-aside-newposts__link:focus{
    text-decoration: underline;
  }

    /* --- Override: newposts colors (PC) --- */
  #mm-aside-newposts .mm-aside-newposts__link{
    color: #0f172a; /* 제목/텍스트: 검은색 */
  }

  #mm-aside-newposts .mm-aside-newposts__time{
    color: #16a34a; /* 시간: 녹색 */
  }

  /* hover 시에만 강조색(기존 빨강 대신 링크 느낌) */
  #mm-aside-newposts .mm-aside-newposts__link:hover,
  #mm-aside-newposts .mm-aside-newposts__link:focus{
    text-decoration: underline;
  }

  /* ============================================================
    PC Aside: New posts - split label/subject colors
    ============================================================ */

  /* 링크 자체는 기본 텍스트 컬러를 강제하지 않음(각 span이 담당) */
  #mm-aside-newposts .mm-aside-newposts__link{
    color: inherit;
  }

  /* 게시판명: 빨강 */
  #mm-aside-newposts .mm-aside-newposts__label{
    color: #e11d2e;
    font-weight: 700;
  }

  /* 제목: 검정 */
  #mm-aside-newposts .mm-aside-newposts__subject{
    color: #0f172a;
    font-weight: 400;
  }

  /* 시간: 녹색 */
  #mm-aside-newposts .mm-aside-newposts__time{
    color: #16a34a;
    font-weight: 700;
  }

  /* ============================================================
    PC Aside: New posts - remove underline on hover/focus
    ============================================================ */
  #mm-aside-newposts .mm-aside-newposts__link:hover,
  #mm-aside-newposts .mm-aside-newposts__link:focus{
    text-decoration: none !important;
  }

    /* PC: hide mobile bottom widgets */
  #mm-mobile-bottom-widgets{
    display: none !important;
  }

}
