@charset "utf-8";

@font-face {
    font-family: 'Eulyoo1945';
    src: url('../../assets/font/Eulyoo1945-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* 게시글 리스트 */
.feeds.list .main-content {
    position: relative;
    gap: 40px;
}

.feeds.list .search-form,
.feeds.detail .search-form {
    max-width: 250px;
    margin-bottom: 32px;
}

.feeds .search-form input {
    padding: 10px 40px;
    font-size: 14px;
}

.feeds .search-form button {
    width: 16px;
    height: 16px;
    padding: 0;
    top: 14px;
    left: 14px;
}

.feeds .search-form a.reset-button {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    padding: 0;
}

.feeds .search-form button img,
.feeds .search-form a.reset-button img {
    width: 100%;
    height: 100%;
}

.feeds .mobile-category-menu {
    display: none;
}

.feeds .left-sidebar ul li {
    margin: 4px 0;
}

.feeds .left-sidebar .menu ul li a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    border-radius: 10px;
    transition: color 0.2s ease-out, background-color 0.2s ease-out;;
}

.feeds .left-sidebar .menu ul li a:hover,
.feeds .left-sidebar .menu ul li a.active {
    background-color: var(--feed-category-background);
    color: var(--feed-category-color);
}

.feeds .left-sidebar .menu ul li a img {
    margin-right: 10px;
    vertical-align: middle;
}

.feeds.list .main-content .content {
    width: calc(100% - 580px);
}

.feeds .left-sidebar {
    width: 250px;
}

.feeds.list .main-content .content h1.pc-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 56px;
    color: var(--text-color);
}

.feeds.list .left-sidebar p.mo-title {
    display: none;
    margin: 64px auto 32px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
}

.feeds.list .main-content .content-title p {
    font-size: 20px;
    font-weight: 500;
}

.feeds.list .latest-feed-wrap .fade-out {
    position: relative;
    height: 180px;
    background: linear-gradient(to top, var(--background-color), transparent);
    bottom: 180px;
}

.feeds.list .latest-feed-wrap .fade-out.hidden {
   display: none;
}

.feeds.list .latest-feed-wrap .fade-out p {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.feeds.list .latest-feed-wrap .fade-out .img-box {
    position: absolute;
    bottom: -30px;
    left: 50%;
    margin-left: -8px;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    animation: bounce 2s infinite;
}

.feeds.list .latest-feed-wrap .fade-out .img-box img:last-child {
    margin-top: -8px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.feeds.list .latest-feed-wrap .fade-in {
    animation: fadeIn 0.8s ease-out;
}

.feeds.list .wise-saying-card {
    width: 100%;
    height: 160px;
    perspective: 1000px;
    cursor: pointer;
}

.feeds.list .wise-saying-card .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.4s;
    transform-style: preserve-3d;
    box-shadow: 0px 0px 12px 0px #00000033;
    border-radius: 24px;
}

.feeds.list .wise-saying-card:hover .card-inner {
    transform: rotateX(8deg);
}

.feeds.list .wise-saying-card.flipped .card-inner {
    transform: rotateX(180deg);
}

.feeds.list .wise-saying-card.no-animation .card-inner {
    transition: none;
}

.feeds.list .wise-saying-card .card-inner .card-face {
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    color: var(--text-color);
}

.feeds.list .wise-saying-card .card-inner .card-face.card-front {
    background: var(--feed-front) no-repeat center center;
    background-size: 100% 100%;
}

.feeds.list .wise-saying-card .card-inner .card-face.card-back {
    background: var(--feed-back) no-repeat center center;
    background-size: 100% 100%;
    transform: rotateX(180deg);
    padding: 0 40px;
}

.feeds.list .wise-saying-card .card-inner .card-face.card-front h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feeds.list .wise-saying-card .card-inner .card-face.card-front p {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
}

.feeds.list .wise-saying-card .card-inner .card-face.card-front p.guide {
    font-size: 12px;
    color: var(--post-category-color);
}

.feeds.list .wise-saying-card .card-inner .card-face.card-back p {
    font-family: 'Eulyoo1945', serif;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    word-break: keep-all;
}

.feeds.list .wise-saying-card .card-inner .card-face.card-back p.author {
    font-size: 14px;
    margin-bottom: 0;
}

.feeds.list .wise-saying-card .card-inner .card-face.card-back .btn-reset {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #3182f6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.feeds.list .wise-saying-card .card-inner .card-face.card-back .btn-reset:hover {
    background-color: #1c6fec;
}

.feeds.list .wise-saying-card .card-inner .closeupImageBorder {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 4px;
    mask-image: -webkit-radial-gradient(white, black);
    background: radial-gradient(circle, var(--secondary-color) 2%, var(--background-color) 16%);
    background-size: 200% 200%;
    background-repeat: no-repeat;
    animation: borderAnimation 6s linear infinite;
    border-radius: 24px;
}

@keyframes borderAnimation {
  0% {
    background-position: 0% 0%;
  }
  35% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  85% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

/* 글작성 */
.feeds.write .main-content {
    gap: 40px;
}

.feeds.write .search-form input {
    padding: 10px 40px;
}

.feeds.write .title-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.feeds.write .title-box h1 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-color);
}

.feeds.write label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 16px;
    margin-top: 32px;
}

.feeds.write .content input,
.feeds.write .content textarea {
    width: 100%;
    height: 48px;
    padding: 16px;
    text-align: left;
    box-sizing: border-box;
    font-size: 14px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-color);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease-out;
}

.feeds.write .content textarea {
    min-height: 150px;
}

.feeds.write input:focus,
.feeds.write textarea:focus {
    border-color: var(--primary-color);
}

.feeds.write textarea {
    height: 154px;
    resize: none;
}

.feeds.write .category-select button {
    border: none;
    cursor: pointer;
    background-color: transparent;
    height: 48px;
    line-height: 48px;
    padding: 0 16px;
    color: var(--text-color);
    width: 100%;
    text-align: left;
}

.feeds.write .content button .txt-box img {
    vertical-align: middle;
    margin-right: 8px;
}

.feeds.write .title-box {
    position: relative;
}

.feeds.write .title-box .tempo-box .dropdown {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px 16px;
    cursor: pointer;
}

.feeds.write .title-box .tempo-box .dropdown span {
    color: var(--primary-color);
    font-weight: 500;
}

.feeds.write .title-box .tempo-box .tempo-content {
    position: absolute;
    right: 0;
    top: 0;
    background-color: var(--background-color);
    z-index: 99;
    max-width: 400px;
    width: 100%;
    box-shadow: 0px 2px 10px 0px #99999940;
    border-radius: 10px;
    visibility: hidden;
}

.feeds.write .title-box .tempo-box .dropdown.show ~ .tempo-content {
    visibility: visible;
    top: 56px;
    right: 0;
}

.feeds.write .title-box .tempo-box .dropdown.show ~ .tempo-content::before {
    border-top: 11px solid transparent;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-bottom: 11px solid #99999924;
    content: "";
    position: absolute;
    top: -22px;
    right: 60px;
}

.feeds.write .title-box .tempo-box .dropdown.show ~ .tempo-content::after {
    border-top: 10px solid transparent;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--background-color);
    content: "";
    position: absolute;
    top: -20px;
    right: 61px;
}

.feeds.write .title-box .tempo-box .tempo-content p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
}

.feeds.write .title-box .tempo-box .tempo-content p .close-preview {
    cursor: pointer;
    font-size: 24px;
}

.feeds.write .title-box .tempo-box .tempo-content .tempo-list li a {
    cursor: pointer;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
    font-size: 14px;
    font-weight: 400;
    color: var(--solution-color);
}

.feeds.write .title-box .tempo-box .tempo-content .tempo-list li a span:first-child {
    width: calc(100% - 150px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--intro-color);
}

.feeds.write .title-box .tempo-box .tempo-content .tempo-list li a button {
    outline: none;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--solution-color);
}

.close.autosave_close {
    cursor: pointer;
} 

.feeds.write .title-box .tempo-box .tempo-content .tempo-list li a:hover {
    background-color: var(--hover-background);
}

.feeds.write .category-select .dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.feeds.write .category-select {
    position: relative;
    width: 100%;
}
  
.feeds.write .dropdown-menu {
    position: absolute;
    z-index: 2;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: var(--background-color);
    border-radius: 10px;
    transition: border-color 200ms ease-in, padding 200ms ease-in, max-height 200ms ease-in;
    border: 1px solid transparent;
}

.feeds.write .dropdown-menu::-webkit-scrollbar {
    width: 4px;
}

.feeds.write .dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 16px;
}

.feeds.write .dropdown-menu::-webkit-scrollbar-track {
    background: var(--download-background);
    border-radius: 16px;
}
  
.feeds.write .dropdown.show ~ .dropdown-menu{
    max-height: 280px;
    border: 1px solid var(--border-color);
    overflow-y: auto;
}

.feeds.write .dropdown .arrow-img {
    transition: transform 200ms ease-in;
}

.feeds.write .dropdown.show .arrow-img {
    transform: rotate(-180deg);
}

.feeds.write button.dropdown-option:hover {
    background-color: var(--feed-category-background);
}

.feeds.write label[for="content"] {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feeds.write .preview-box .dropdown {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    padding: 8px 16px;
    cursor: pointer;
}

.feeds.write label[for="content"] .preview-content {
    display: none;
}

.feeds.write label[for="content"] .preview-content {
    display: none;
}

.feeds.write label[for="content"] .dropdown.show ~ .preview-content {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    background-color: var(--background-color);
    z-index: 99;
    max-width: 700px;
    width: 100%;
    box-shadow: 0px 2px 10px 0px #99999940;
    border-radius: 10px;
}

.feeds.write label[for="content"] .preview-content p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
    font-weight: 500;
}

.feeds.write label[for="content"] .preview-content p .close-preview {
    cursor: pointer;
    font-size: 24px;
}

.feeds.write .title-box .tempo-box .tempo-content .tempo-list {
    max-height: 563px;
    overflow-y: auto;
}

.feeds.write label[for="content"] .preview-content #preview {
    padding: 16px;
}

.feeds.write .form-box .buttons {
    display: flex;
    justify-content: center;
    margin-top: 72px;
    gap: 8px;
}

.feeds.write .form-box .buttons button {
    font-size: 18px;
    font-weight: 500;
    padding: 14px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-out;
}

.feeds.write .form-box .buttons button.main-btn {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.feeds.write .form-box .buttons button.main-btn:hover {
    background-color: #630ABB;
}

.feeds.write .form-box .buttons button.secondary-btn:hover {
    background-color: var(--hover-background);
}

.feeds.write .form-box .buttons button.secondary-btn {
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    background-color: var(--background-color);
    transition: background-color 0.2s;
}

.feeds.write .dropdown-box {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 32px;
}

.feeds.write .dropdown-box .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
}

.feeds.write .dropdown-box .title p {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.feeds.write .dropdown-box .title p img {
    width: 20px;
    height: 20px;
    transform: scaleX(-1);
    margin-right: 8px;
    vertical-align: text-top;
}

.feeds.write .dropdown-box .content-box {
    width: 100%;
    overflow: hidden;
    transition: all 0.4s ease-out;
    max-height: 0;
}

.feeds.write .dropdown-box .content-box div {
    width: 100%;
    padding: 24px;
    background: var(--download-background);
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
}

.feeds.write .dropdown-box .content-box div ul {
    list-style-type: disc;
    padding-left: 32px;
    margin-top: 8px;
}

.feeds.write .dropdown-box .dropdown.show ~ .content-box {
    max-height: 1000px;
}

.feeds.write .dropdown-box .dropdown p + img {
    transition: all 0.2s ease-out;
}

.feeds.write .dropdown-box .dropdown.show p + img {
    transform: rotate(-180deg);
}

.feeds.write .upload-container {
    background-color: var(--download-background);
    border: 2px dashed var(--border-color);
    padding: 32px;
    text-align: center;
    position: relative;
    border-radius: 10px;
    transition: background-color 0.2s ease-out, border-color 0.2s ease-out;
}

.feeds.write .upload-container.dragover {
    border-color: var(--secondary-color);
}

.feeds.write .upload-container input[type="file"] {
    display: none;
}

.feeds.write .upload-container .preview {
    display: none;
    margin-bottom: 24px;
    position: relative;
    padding-top: 56.25%;
    border: 1px solid var(--border-color);
}

.feeds.write .upload-container.uploaded .preview {
   display: block;
}

.feeds.write .upload-container .preview img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feeds.write .upload-container .preview .remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    color: var(--secondary-color);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.feeds.write .upload-container .upload-label {
    display: inline-block;
    padding: 8px 20px;
    margin: 0;
    background-color: var(--background-color);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.feeds.write .upload-container .upload-label:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.feeds.write .upload-container .upload-text {
    color: var(--solution-color);
    margin-bottom: 24px;
    font-size: 14px;
}

.feeds.write .upload-container.uploaded .upload-text {
    display: none;
}

.feeds.write span.des-ex {
    font-size: 14px;
    font-weight: 400;
    color: var(--solution-color);
    margin-left: 16px;
}

.ck-editor__editable {
    min-height: 300px;
}

.cke_notifications_area {
    display: none !important;
}

.feeds.write .select-container {
    position: relative;
    display: inline-block;
    width: 240px; 
}

.feeds.write .select-container #time-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--background-color);
    padding: 10px 16px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 10px;
    transition: border-color 0.2s ease-out;
    font-size: 16px;
    cursor: pointer;
}

.feeds.write .select-container .arrow-img {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    pointer-events: none; /* 클릭 방지 */
    transition: transform 0.2s ease-out;
}

.feeds.write .select-container #time-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.feeds.write .select-container:focus-within .arrow-img {
    transform: translateY(-50%) rotate(-180deg); /* 클릭 시 화살표 180도 회전 */
}

.feeds.write .sidebar .sidebar-section {
    background-color: var(--download-background);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 10px;
}

.feeds.write .sidebar .sidebar-section h3 {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing:-1px;
    margin-bottom: 12px;
}

.feeds.write .sidebar .sidebar-section p {
    font-size: 14px;
    font-weight: 400;
    color: var(--post-category-color);
    letter-spacing:-1px;
    margin-bottom: 24px;
}

.feeds.write .sidebar .sidebar-section ul li {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 16px;
}

.feeds.write .sidebar .sidebar-section ul li:last-child {
    margin-bottom: 0;
}

.feeds.write .sidebar .sidebar-section.weekly-popular {
    margin-top: 16px;
}

.feeds.write .sidebar .sidebar-section.weekly-popular ul li a {
    display: block;
    width: 100%;
    transition: color 0.2s ease-out;
}

.feeds.write .sidebar .sidebar-section.weekly-popular ul li a:hover {
    color: var(--secondary-color);
}


/* 글 상세페이지 */
.feeds.detail {
    overflow: visible;
}

.feeds.detail .write-btn-mo {
    display: none;
}

.mobile-moveto-subTitle {
    display: none;
}

.mobile-moveto-subTitle .mobile-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--start-background);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-moveto-subTitle .mobile-btn:hover {
    background-color: var(--hover-background);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.mobile-moveto-subTitle .moveto-content {
    max-height: 0;
    transition: max-height 0.2s ease-out;
    overflow: hidden;
    position: fixed;
    top: auto;
    bottom: 0;
    right: 0;
    z-index: 9999;
    border-radius: 10px 10px 0 0;
    width: 100%;
    background: var(--background-color);
}

.mobile-moveto-subTitle .moveto-content p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 24px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
}

.mobile-moveto-subTitle .moveto-content p .close-list {
    cursor: pointer;
    font-size: 24px;
}

.mobile-moveto-subTitle .moveto-content ul li {
    cursor: pointer;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
    font-size: 14px;
    font-weight: 400;
    color: var(--solution-color);
}

.mobile-moveto-subTitle .moveto-mobile-black {
    visibility: hidden;
    opacity: 0;
    z-index: 9998;
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0;
    top: 0;
    background-color: #00000040;
    transition: all 0.2s ease-out;
}

.mobile-moveto-subTitle .mobile-btn.show ~ .moveto-content {
    max-height: 100vh;
}

.mobile-moveto-subTitle .mobile-btn.show ~ .moveto-mobile-black {
    visibility: visible;
    opacity: 1;
}

.feeds.detail .main-content {
    gap: 40px;
}

.feeds.detail .main-content .content,
.feeds.write .main-content .content {
    width: calc(100% - 580px);
}

.feeds.detail .title-box .category {
    font-size: 14px;
    font-weight: 500;
    color: var(--post-category-color);
    margin-bottom: 8px;
}

.feeds.detail .title-box .category span {
    font-size: 20px;
    vertical-align: baseline;
    margin: 8px;
}

.feeds.detail .title-box {
    margin-bottom: 16px;
}

.feeds.detail .title-box h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
}

.feeds.detail .detail-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    margin-bottom: 24px;
}

.feeds.detail .detail-box .profile {
    display: flex;
    align-items: center;
}

.feeds.detail .detail-box .profile .profile-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 12px;
}

.feeds.detail .detail-box .profile .profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feeds.detail .detail-box .profile .profile-txt p {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    white-space: nowrap;
}

.feeds.detail .detail-box .profile .profile-txt span {
   font-size: 12px;
   font-weight: 400;
   color: var(--post-category-color);
}

.feeds.detail .detail-box .profile .profile-txt span:first-child {
    margin-right: 12px;
}

.feeds.detail .detail-box .profile .profile-txt span img {
    vertical-align: text-bottom;
    margin-right: 4px;
}

.feeds.detail .detail-box .func {
    display: flex;
}

.feeds.detail .detail-box .func .share-box,
.feeds.detail .detail-box .func .menu-box {
    position: relative;
    cursor: pointer;
}

.feeds.detail .detail-box .func .share-box .share-content,
.feeds.detail .detail-box .func .menu-box .menu-content {
    content: 'URL이 복사되었습니다.'; 
    position: absolute; 
    top: 40px; 
    padding: 5px 10px; 
    background-color: var(--background-color); 
    border: 1px solid var(--border-color);
    color: var(--text-color); 
    border-radius: 5px; 
    font-size: 12px; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.4s ease, visibility 0.4s ease;
    white-space: nowrap;
    z-index: 999;
}

.feeds.detail .detail-box .func .share-box .share-content::before {
    border-top: 11px solid transparent;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-bottom: 11px solid var(--border-color);
    content: "";
    position: absolute;
    top: -22px;
    right: 30px;
}

.feeds.detail .detail-box .func .menu-box .menu-content::before {
    border-top: 11px solid transparent;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-bottom: 11px solid var(--border-color);
    content: "";
    position: absolute;
    top: -22px;
    right: 8px;
}

.feeds.detail .detail-box .func .share-box .share-content::after {
    border-top: 10px solid transparent;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--background-color);
    content: "";
    position: absolute;
    top: -20px;
    right: 31px;
}

.feeds.detail .detail-box .func .menu-box .menu-content::after {
    border-top: 10px solid transparent;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--background-color);
    content: "";
    position: absolute;
    top: -20px;
    right: 9px;
}

.feeds.detail .detail-box .func .feed-dropdown .img {
    display: block;
    padding: 4px 8px;
}

.feeds.detail .detail-box .func .share-box .share-content {
    display: flex;
    align-items: center;
    gap: 12px;
    right: -24px; 
    padding: 12px;
}

.feeds.detail .detail-box .func .menu-box .menu-content {
    padding: 0;
    right: 0;
    width: 100px;
}

.feeds.detail .detail-box .func .menu-box .menu-content ul li a {
    display: block;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
}

.feeds.detail .detail-box .func .menu-box .menu-content ul li a:hover {
    background-color: var(--hover-background);
}

.feeds.detail .detail-box .func .share-box.show .share-content,
.feeds.detail .detail-box .func .menu-box.show .menu-content {
    opacity: 1;
    visibility: visible;
}

.feeds.detail .detail-box .func .share-box .share-content a {
    display: inline-block;
    width: 32px;
    height: 32px;
}

.feeds.detail .detail-box .func .share-box .share-content #kakaotalk-sharing-btn img {
    width: 100%;
    height: 100%;
}

.feeds.detail .content-box .content-area {
    width: auto;
    max-width: 100%;
    color: var(--main-post-text-color);
}

.feeds.detail .content-box .content-area p {
    line-height: 1.6;
}

.feeds.detail .content-box .content-area h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

.feeds.detail .content-box img {
    max-width: 100%;
    height: auto;
}

.feeds.detail .content-box .summary {
    width: 100%;
    padding: 20px 16px;
    background-color: var(--light-background);
    color: var(--text-color);
    border-radius: 10px;
    margin-bottom: 32px;
}

.feeds.detail .content-box .summary p.title {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    gap: 8px;
    margin-bottom: 16px;
}

.feeds.detail .content-box .summary .sum-content {
    line-height: 1.8;
}

.feeds.detail .count-box {
    display: flex;
    justify-content: space-between;
    padding-bottom: 24px;
    margin-top: 48px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.feeds.detail .count-box div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feeds.detail .count-box span {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--post-category-color );
    font-size: 14px;
}

.feeds.detail .count-box img {
    height: 100%;
}

.feeds.detail .count-box button,
.feeds.detail .count-box .comment-icon {
    width: 24px;
    height: 24px;
    padding: 0;
    outline: none;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feeds.detail .count-box .likes img {
    width: 19px;
    height: 18px;
}

.feeds.detail .count-box .comment-count img {
    width: 19px;
    height: 17px;
}

.feeds.detail .count-box .scraps img {
    width: 16px;
    height: 21px;
}

.feeds.detail .fixed-count-box {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    padding: 18px 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin: 0;
}

.feeds.detail .comment-box {
    margin-bottom: 56px;
} 

.feeds.detail .comment-box h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 24px;
}

.feeds.detail .comment-box h3 span {
    color: var(--primary-color);
}

.feeds.detail .comment-box .write-wrap {
    display: flex;
    gap: 16px;
}

.feeds.detail .comment-box .write-wrap img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.feeds.detail .comment-box .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feeds.detail .comment-box .top .edit {
    position: relative;
    cursor: pointer;
}

.feeds.detail .comment-box .top .edit ul {
    width: 100px;
    position: absolute;
    top: 34px;
    right: 0;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 999;
}

.feeds.detail .comment-box .top .edit ul::before {
    border-top: 11px solid transparent;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-bottom: 11px solid var(--border-color);
    content: "";
    position: absolute;
    top: -22px;
    right: 2px;
}

.feeds.detail .comment-box .top .edit ul::after {
    border-top: 10px solid transparent;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--background-color);
    content: "";
    position: absolute;
    top: -20px;
    right: 3px;
}

.feeds.detail .comment-box .top .edit ul li {
    padding: 5px 10px;
    color: var(--text-color);
    font-size: 14px;
    white-space: nowrap;
    text-align: center;
}

.feeds.detail .comment-box .top .edit ul li:hover {
    background: var(--hover-background);
}

.feeds.detail .comment-box .top .edit.show ul {
    opacity: 1;
    visibility: visible;
}

.feeds.detail .comment-box .write-box {
    width: calc(100% - 46px);
    padding: 16px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.feeds.detail .comment-box .write-box .comment-textarea.main {
    position: relative;
}

.feeds.detail .comment-box .write-box .comment-textarea.main.empty:before {
    content: '글을 보고 어떤 생각이 드셨나요? 댓글을 자유롭게 남겨보세요!';
    color: #aaa;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none; /* placeholder 텍스트 클릭이 불가능하게 */
  }

.feeds.detail .comment-box .write-box .comment-textarea {
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    min-height: 64px;
    font-size: 16px;
    color: var(--text-color);
    background-color: var(--background-color);
}

.feeds.detail .comment-box .write-box .comment-textarea a {
    color: var(--secondary-color);
    font-weight: 600;
}

.feeds.detail .comment-box .write-box .func {
    position: relative;
    display: flex;
    align-items: flex-end;
}

.feeds.detail .comment-box .write-box .func .emoticon-box {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: none;
    background: none;
    outline: none;
    margin-right: auto;
    cursor: pointer;
    color: var(--post-category-color);
    padding: 8.5px 14px;
}

.feeds.detail .comment-box .write-box .func .emoticon-box img {
    width: 19px;
    height: 19px;
}

.feeds.detail .comment-box .write-box .func .emoji-list {
    position: absolute;
    left: 0;
    top: 48px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    display: none;
    z-index: 99;
}

.feeds.detail .comment-box .write-box .func .emoji-list.active {
    display: block;
}

.feeds.detail .comment-box .write-box .func .emoji-list .tab-buttons {
    display: flex;
    max-width: 320px;
    width: 100%;
}

.feeds.detail .comment-box .write-box .func .emoji-list .tab-button {
    flex: 1;
    padding: 12px;
    background: var(--download-background);
    color: var(--text-color);
    border: none;
    cursor: pointer;
    text-align: center;
}

.feeds.detail .comment-box .write-box .func .emoji-list .tab-button.active {
    background: var(--background-color);
    border-bottom: 2px solid #007bff;
}

.feeds.detail .comment-box .write-box .func .emoji-list .tab-contents {
    max-width: 320px;
    width: 100%;
    padding: 10px;
    height: 320px;
    overflow-y: auto;
}

.feeds.detail .comment-box .write-box .func .emoji-list .tab-content {
    display: none;
}

.feeds.detail .comment-box .write-box .func .emoji-list .tab-content.active {
    display: block;
}

.feeds.detail .comment-box .write-box .func .emoji-list .tab-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feeds.detail .comment-box .write-box .func .emoji-list .tab-content ul li {
    width: calc((100% / 3) - 8px);
    text-align: center;
}

.feeds.detail .comment-box .write-box .func .emoji-list .tab-content .emoji {
    max-width: 50px;
    max-height: 50px;
    width: 50px;
    height: 50px;
    object-fit: contain;
    cursor: pointer;
}

.feeds.detail .comment-box .write-box .func .char-count {
    color: var(--solution-color);
    margin-right: 10px;
}

.feeds.detail .comment-box .write-box .func .write-btn {
    border: none;
    background-color: var(--secondary-color);
    padding: 10px 24px 11px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.feeds.detail .comment-box .write-box .func .close-btn {
    border: none;
    background-color: var(--light-background);
    padding: 10px 16px 11px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 400;
    color: #999999;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    margin-right: 8px;
}

.feeds.detail .comment-box .write-box .func .write-btn:hover {
    background-color: #630ABB;
}

.feeds.detail .comment-box .top.comment-top,
.feeds.detail .comment-box .reply-form {
    margin-top: 24px;
}

.feeds.detail .comment-box .comment-username,
.feeds.detail .comment-box .reply-username {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

.feeds.detail .comment-box .comment-username img,
.feeds.detail .comment-box .reply-username img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.feeds.detail .comment-box .comment-text,
.feeds.detail .comment-box .reply-text {
    margin-top: 4px;
    padding-left: 40px;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
}

.feeds.detail .comment-box .comment-text img,
.feeds.detail .comment-box .reply-text img {
    width: 150px;
    height: 150px;
}

.feeds.detail .comment-box .comment-username span.writer, 
.feeds.detail .comment-box .reply-username span.writer {
    font-size: 10px;
    font-weight: 400;
    padding: 2px 6px;
    color: #333333;
    background-color: #E3C6FF;
    border-radius: 6px;
    margin-left: -4px;
}

.feeds.detail .comment-box .details {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 40px;
    font-size: 12px;
    font-weight: 400;
    color: var(--post-category-color);
    margin-top: 8px;
}

.feeds.detail .comment-box .details .counts,
.feeds.detail .comment-box .details .counts-reply {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.feeds.detail .comment-box .details .count-btn,
.feeds.detail .comment-box .details .count-btn-reply {
    outline: none;
    padding: 0;
}

.feeds.detail .count-btn .stroke,
.feeds.detail .count-btn-reply .stroke {
    display: block;
}

.feeds.detail .count-btn .fill,
.feeds.detail .count-btn-reply .fill {
    display: none;
}

.feeds.detail .count-btn.clicked .fill,
.feeds.detail .count-btn-reply.clicked .fill {
    display: block;
}

.feeds.detail .count-btn.clicked .stroke,
.feeds.detail .count-btn-reply.clicked .stroke {
    display: none;
}

.feeds.detail .comment-box .details button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 12px;
    color: var(--post-category-color);
}

.feeds.detail .comment-box .reply-box {
    padding-left: 40px;
}

.feeds.detail .comment-box .reply-box .reply-item {
    background-color: var(--download-background);
    padding: 20px;
    margin-top: 12px;
    border-radius: 10px;
}

.feeds.detail .comment-box .reply-form {
    display: none;
    padding-left: 40px;
}

.feeds.detail .comment-box .reply-form .write-wrap {
    background-color: var(--download-background);
    padding: 20px;
    border-radius: 10px;
}

.feeds.detail .comment-box .reply-form.active {
    display: block;
}

.feeds.detail #url-copy-btn,
.pc-feed-navbar #url-copy-btn {
    position: relative;
}

.feeds.detail #url-copy-btn::before, 
.pc-feed-navbar #url-copy-btn::before {
    content: 'URL이 복사되었습니다.'; 
    position: absolute; 
    top: 32px; 
    right: -10px; 
    padding: 5px 10px; 
    background-color: #333; 
    color: #fff; 
    border-radius: 5px; 
    font-size: 14px; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.5s ease, visibility 0.5s ease;
    white-space: nowrap;
    z-index: 999;
}

.feeds.detail #url-copy-btn.show-alert::before,
.pc-feed-navbar #url-copy-btn.show-alert::before {
    opacity: 1;
    visibility: visible;
}

.feeds.detail .to-list {
    text-align: right;
    margin: 32px 0;
}

.feeds.detail .to-list a {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid var(--solution-color);
    color: var(--text-color);
    border-radius: 8px;
}

.feeds.detail .banner-ad-middle {
    position: relative;
    width: 100%;
}

.feeds.detail .banner-ad-middle a {
    display: block;
    width: 100%;
    height: auto;
}

.feeds.detail .banner-ad-middle a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.feeds.detail .banner-ad-middle a.mo {
    display: none;
}

.feeds.detail .category-recommend {
    color: var(--text-color);
    padding: 40px 0 24px;
    margin-top: 40px;
    font-size: 24px;
    font-weight: 600;
    border-top: 1px solid var(--border-color);
}

.feeds.detail .feed-box {
    display: flex;
    gap: 40px;
}

.feeds.detail .feed-box .relatedFeed-item .detail-box {
    display: block;
    border-bottom: none;
    padding: 0;
    margin-bottom: 0;
}

.feeds.detail .comment-box .comments-list .comment-item.hidden,
.feeds.detail .comment-box .reply-box .reply-item.hidden {
    display: none;
}

.feeds.detail .comment-box .comments-list .show-more-comments-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    width: 100%;
    margin-top: 32px;
    padding: 12px 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.feeds.detail .comment-box .reply-box .show-more-replies-btn {
    background-color: transparent;
    border: none;
    margin-top: 16px;
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    border-radius: 10px;
    font-weight: 500;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.feeds.detail .comment-box .comments-list .show-more-comments-btn:hover,
.feeds.detail .comment-box .reply-box .show-more-replies-btn:hover {
    background-color: var(--hover-background);
}

.feeds.detail .sidebar {
    position: sticky;
    top: 20px;
    height: max-content;
}

.feeds.detail .sidebar .author-info .main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feeds.detail .sidebar .author-info .main img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    object-fit: cover;
}

.feeds.detail .sidebar .author-info .main .main-info {
    width: calc(100% - 120px);
}

.feeds.detail .sidebar .author-info .main .main-info p {
    color: var(--text-color);
    font-size: 12px;
    font-weight: 400;
}

.feeds.detail .sidebar .author-info .main .main-info p span {
    font-weight: 500;
    margin-left: 4px;
}

.feeds.detail .sidebar .author-info .main .main-info p.name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feeds.detail .sidebar .author-info .main .url {
    width: 40px;
    height: 40px;
    align-self: flex-start;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.feeds.detail .sidebar .author-info .main .url:hover {
    background-color: var(--hover-background);
}

.feeds.detail .sidebar .author-info .main .url a {
    display: block;
    width: 100%;
    height: 100%;
}

.feeds.detail .sidebar .author-info .main .url a img {
    width: 100%;
    height: 100%;
}

.feeds.detail .sidebar .author-info .detail {
    margin: 12px 0 16px;
}

.feeds.detail .sidebar .author-info .detail p {
    font-size: 14px;
    font-weight: 400;
    color: var(--intro-color);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 3줄로 제한 */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
}

.feeds.detail .author-info button {
    padding: 10px 30px;
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.feeds.detail .author-info button.follow {
    background-color: var(--secondary-color);
    color: #ffffff;
    width: calc(100% - 96.3px);
    margin-right: 4px;
}

.feeds.detail .author-info button:hover {
    background-color: var(--hover-background);
}

.feeds.detail .author-info button.follow:hover {
    background-color: #630ABB;
}

.feeds.detail .author-info button.follow.following {
    background-color: var(--light-background);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.feeds.detail .author-info button.follow.following:hover {
    background-color: var(--light-background);
}

.feeds.detail .author-otherFeed {
    margin-top: 32px;
    padding: 16px;
    border-radius: 10px;
    background-color: var(--download-background);
}

.feeds.detail .author-otherFeed p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.feeds.detail .author-otherFeed p a {
    color: var(--solution-color);
    font-size: 12px;
    font-weight: 400;
}

.feeds.detail .author-otherFeed p a img {
    transform: rotate(-90deg);
    margin-bottom: -3px;
}

.feeds.detail .author-otherFeed ul li {
    color: var(--intro-color);
}

.feeds.detail .author-otherFeed ul li a {
    line-height: 2;
    font-size: 14px;
    font-weight: 400;
    color: var(--intro-color);
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
}

.feeds.detail .sidebar .moveto-subTitle {
    margin-top: 32px;
    padding: 0 16px;
}

.feeds.detail .sidebar .moveto-subTitle p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.feeds.detail .sidebar .moveto-subTitle ul li {
    line-height: 36px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s;
    color: var(--intro-color);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.feeds.detail .sidebar .moveto-subTitle ul li:hover {
    color: var(--primary-color);
}

.feeds.detail .mobile-author-wrap {
    display: none;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.feeds.detail .mobile-author-wrap .author-info .main .top {
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 260px);
}

.feeds.detail .mobile-author-wrap .author-info .main img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    object-fit: cover;
}

.feeds.detail .mobile-author-wrap .main-info {
    max-width: calc(100% - 118px);
    width: 100%;
}

.feeds.detail .mobile-author-wrap .author-info p.name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feeds.detail .mobile-author-wrap .author-info p {
    color: var(--text-color);
    font-size: 12px;
    font-weight: 400;
}

.feeds.detail .mobile-author-wrap .author-info .follower span {
    font-weight: 500;
    margin-left: 4px;
}

.feeds.detail .mobile-author-wrap .author-info {
    position: relative;
}

.feeds.detail .mobile-author-wrap .author-info .main .url {
    width: 36px;
    height: 36px;
    align-self: flex-start;
    margin-left: auto;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.feeds.detail .mobile-author-wrap .author-info .main .url:hover {
    background-color: var(--hover-background);
}

.feeds.detail .mobile-author-wrap .author-info .main .url a {
    display: block;
    width: 100%;
    height: 100%;
}

.feeds.detail .mobile-author-wrap .author-info .main .url a img {
    width: 100%;
    height: 100%;
}

.feeds.detail .mobile-author-wrap .author-info .main .detail {
    margin: 12px 0 24px;
    width: 100%;
}

.feeds.detail .mobile-author-wrap .author-info .main .detail p {
    font-size: 14px;
    font-weight: 400;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
}

.feeds.detail .mobile-author-wrap .author-info .button-box {
    width: 240px;
    position: absolute;
    top: 8px;
    right: 0;
}

/* 자사몰피드 상세 - 사이드 네비게이션 바 */
.pc-feed-navbar {
    position: sticky;
    top: 0;
    padding-right: 40px;
    padding-top: 80px;
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.pc-feed-navbar ul {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.pc-feed-navbar ul li {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0px 0px 4px 0px #00000040;
    background: var(--feed-nav-background);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.pc-feed-navbar ul li:hover {
    background: var(--hover-background);
}

.pc-feed-navbar ul li span.count {
    position: absolute;
    top: -10px;
    right: -14px;
    padding: 4px;
    border-radius: 4px;
    font-size: 12px;
    background: #E3C6FF;
    min-width: 20px;
    text-align: center;
}

.pc-feed-navbar ul li button {
    width: 100%;
    height: 100%;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
}

.pc-feed-navbar ul li button img {
    width: 20px;
    height: 20px;
}

.pc-feed-navbar ul li .share-content {
    display: none;
    position: absolute;
    align-items: center;
    gap: 12px;
    left: 50px; 
    padding: 12px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.pc-feed-navbar ul li .share-content a {
    display: inline-block;
    width: 32px;
    height: 32px;
}

.pc-feed-navbar ul li .share-content a img {
    width: 100%;
    height: 100%;
}

.pc-feed-navbar ul li .dropdown {
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pc-feed-navbar ul li .dropdown.show ~ .share-content {
    display: flex;
}

/* 프로그레스바의 스타일 */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--secondary-color); /* 프로그레스바 색상 */
    z-index: 998; /* 항상 화면 위에 표시되도록 */
}

@media (max-width: 1440px) {
    .feeds.list .sidebar,
    .feeds.detail .sidebar,
    .feeds.write .sidebar {
        display: none;
    }
    .feeds.list .main-content .content,
    .feeds.detail .main-content .content,
    .feeds.write .main-content .content  {
        width: calc(100% - 290px);
    }
    .feeds.detail .mobile-author-wrap {
        display: block;
    }
    .feeds.write .form-box .buttons button {
        font-size: 16px;
    }
    .mobile-moveto-subTitle {
        display: block;
    }
}

@media (max-width: 800px) {
    .progress-bar {
        z-index: 998;
    }
    .feeds.list, 
    .feeds.detail {
        padding: 0 20px 200px;
    }
    .feeds.write {
        padding: 32px 20px 200px;
    }
    .feeds .left-sidebar {
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
    }
    .feeds.list .main-content .content,
    .feeds.detail .main-content .content,
    .feeds.write .main-content .content {
        width: 100%;
    }
    .feeds .mobile-category-menu {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        cursor: pointer;
    }
    .feeds .mobile-category-menu::before {
        display: block;
        content: "";
        position: absolute;
        bottom: 0;
        left: -20px;
        width: calc(100% + 40px);
        height: 1px;
        background-color: var(--border-color);
    }
    .feeds .mobile-category-menu span {
        font-size: 16px;
        font-weight: 500;
        color: var(--text-color);
    }
    .feeds .mobile-category-menu img {
        transition: all 0.2s ease-out;
    }
    .feeds .mobile-category-menu.show img {
        transform: rotate(-180deg);
    }
    .feeds .left-sidebar ul {
        overflow: hidden;
        transition: all 0.2s ease-out;
        max-height: 0;
        opacity: 0;
    }
    .feeds .mobile-category-menu.show ~ ul {
        padding: 20px 0;
        max-height: 800px;
        opacity: 1;
    }
    .feeds.list .main-content .content h1.pc-title {
        display: none;
    }
    
    .feeds.list .left-sidebar p.mo-title {
        display: block;
    }

    .feeds.list .search-form {
        max-width: 100%;
    }

    .feeds.detail .search-form,
    .feeds.write .search-form {
        margin-top: 16px;
        margin-bottom: 0;
        max-width: 100%;
    }

    .feeds.list .wise-saying-card {
        height: 250px;
    }

    .feeds.list .wise-saying-card .card-inner .card-face.card-front {
        background: var(--mobile-feed-front) no-repeat center center;
        background-size: 100% 100%;
    }
    
    .feeds.list .wise-saying-card .card-inner .card-face.card-back {
        background: var(--mobile-feed-back) no-repeat center center;
        background-size: 100% 100%;
        transform: rotateX(180deg);
    }

    .feeds.detail .mobile-author-wrap .author-info .main .top {
        width: 100%;
    }

    .feeds.detail .mobile-author-wrap .author-info .button-box {
        position: static;
        margin-top: 24px;
        width: 100%;
    }

    .feeds.detail .author-info button.follow {
        width: calc(100% - 128.3px);
    }

    .feeds.detail .author-info button {
        padding: 10px 46px;
    }

    .feeds.detail .comment-box .write-box {
        width: 100%;
    }
    .feeds.detail .comment-box .write-wrap .user-icon {
        display: none;
    }

    .feeds.detail .comment-box .write-box .func .write-btn,
    .feeds.detail .comment-box .write-box .func .close-btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .feeds.detail .mo-remove {
        display: none;
    }

    .feeds.detail .feed-box {
        flex-direction: column;
    }
    
    .feeds.detail .main-content .feed-box .feed-item {
        border: none;
        border-radius: 0;
        width: 100%;
    }
        
    .feeds.detail .main-content .feed-box .feed-item .img-box {
        border-radius: 20px;
        margin-bottom: 16px;
    }

    .feeds.detail .main-content .feed-box .feed-item p.title {
        margin-bottom: 8px;
    }

    .feeds.detail .main-content .feed-box .feed-item .txt-box {
        padding: 0;
    }

    .feeds.detail .main-content .feed-box .feed-item .txt-box .detail-box {
        display: block;
        border-bottom: none;
        padding: 0;
        margin-bottom: 0;
    }

    .feeds.detail .main-content .feed-box .feed-item p.author {
        margin-top: 8px;
        margin-right: 0;
    }

    .feeds.write .title-box h1 {
        font-size: 20px;
    }

    .feeds.write .form-box .buttons button {
        padding: 10px 24px;
    }
    .feeds.write span.des-ex {
        display: block;
        margin-left: 0;
        margin-top: 8px;
    }
    .feeds.write .upload-container {
        padding: 0;
        border: none;
        background: none;
    }
    .feeds.write .upload-container .upload-label {
        width: 100%;
        padding: 10px 20px;
    }
    .feeds.write .upload-text {
        display: none;
    }
    .feeds.write .select-container {
        width: 100%;
    }
    .feeds.write .title-box .tempo-box .tempo-content {
        position: fixed;
        bottom: 0;
        right: 0;
        top: auto;
        max-width: 100%;
        max-height: 0;
        transition: all 0.2s ease-out;
        z-index: 9999;
        border-radius: 10px 10px 0 0;
        overflow: hidden;
    }

    .feeds.write .title-box .tempo-box .dropdown.show ~ .tempo-content {
        max-height: 100vh;
        top: auto;
    }
    
    .feeds.write .title-box .tempo-box .tempo-mobile-black {
        visibility: hidden;
        opacity: 0;
        z-index: 9998;
        position: fixed;
        width: 100vw;
        height: 100vh;
        left: 0;
        top: 0;
        background-color: #00000040;
        transition: all 0.2s ease-out;
    }
    
    .feeds.write .title-box .tempo-box .dropdown.show ~ .tempo-mobile-black {
        visibility: visible;
        opacity: 1;
    }

    .feeds.write label[for="content"] .dropdown.show ~ .preview-content {
        max-width: 100%;
        height: 100%;
        position: fixed;
        z-index: 9999;
        border-radius: 0;
    }
    .feeds.write label[for="content"] .preview-content #preview {
        height: calc(100% - 55px) !important;
    }
    .feeds.write .title-box .tempo-box .dropdown.show ~ .tempo-content::before,
    .feeds.write .title-box .tempo-box .dropdown.show ~ .tempo-content::after {
        display: none;
    }
    .feeds.write .left-sidebar {
        display: none;
    }
    .feeds.detail .comment-box .reply-box,
    .feeds.detail .comment-box .reply-form {
        padding-left: 0;
    }
    .feeds.detail .fixed-count-box {
        display: flex;
    }
    .feeds.detail .fixed-count-box.show {
        opacity: 1;
        visibility: visible;
        display: flex;
        transform: translateY(0);
    }
    
    .feeds.detail .fixed-count-box.hide {
        transform: translateY(100%);
    }
    
    .feeds.detail .count-box.fixed-count-box.intersect {
        display: none;
    }
    
    .mobile-btn.upper {
        transform: translateY(-64px);
    }
    
    .mobile-btn.upper.intersect {
        transform: translateY(0);
    }

    .feeds.detail .banner-ad-middle a.pc {
        display: none;
    }

    .feeds.detail .banner-ad-middle a.mo {
        display: block;
    }
    .feeds.detail .comment-box .details {
        gap: 4px;
    }
    .feeds.detail .comment-box .write-box .func .emoticon-box {
        padding: 2px;
    }
    .pc-feed-navbar {
        display: none;
    }
}