@charset "utf-8";

/* --------------------------------------------------------
게시판 목록 스타일 - UXC WEBZINE
* board.css 변수 시스템 사용
----------------------------------------------------------*/

/* ========================================
   여백 및 간격 변수 정의
======================================== */
:root {
    /* 여백 변수 */
    --board-padding-xs: 8px;
    --board-padding-sm: 12px;
    --board-padding-md: 16px;
    --board-padding-lg: 20px;
    --board-padding-xl: 24px;

    /* 간격 변수 */
    --board-gap-xs: 6px;
    --board-gap-sm: 10px;
    --board-gap-md: 12px;
    --board-gap-lg: 16px;
    --board-gap-xl: 20px;
}

.boardListWrap {
    position: relative;
}

/* 웹진형 게시물 목록 */
[data-board="webzine_list"] {
    display: flex;
    flex-direction: column;
    gap: var(--board-gap-md);
    border-top: 3px solid var(--board-gray-200);
}

[data-board="webzine_list"] .cardBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    padding: var(--board-padding-lg) 0;
    border-bottom: 1px solid var(--board-gray-200);
    gap: var(--board-gap-xl);
    text-decoration: none;
    color: inherit;
}

[data-board="webzine_list"] .cardBox:hover .title {
    color: var(--color-prime) !important;
}

[data-board="webzine_list"] .cardBox.active {
    border-left: 3px solid var(--color-prime);
    padding-left: 10px;
}

/* 체크박스 */
[data-board="webzine_list"] .cardBox .titleBox {
    display: flex;
    align-items: flex-start;
    flex: 1;
    gap: var(--board-gap-lg);
    position: relative;
}

[data-board="webzine_list"] .cardBox .titleBox .checkBox {
    position: absolute;
    z-index: 1;
    top: var(--board-padding-xs);
    left: var(--board-padding-xs);
}

[data-board="webzine_list"] .cardBox .titleBox .checkBox .opt {
    display: flex;
    align-items: center;
}

[data-board="webzine_list"] .cardBox .titleBox .checkBox input[type="checkbox"] {
    margin: 0;
}

/* 썸네일 */
[data-board="webzine_list"] .cardBox .titleBox .thumb {
    display: flex;
    position: relative;
    min-width: 140px;
    max-width: 140px;
    overflow: hidden;
    border-radius: var(--board-radius);
    border: 1px solid var(--board-gray-200);
}

[data-board="webzine_list"] .cardBox .titleBox .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

[data-board="webzine_list"] .cardBox:hover .titleBox .thumb img {
    transform: scale(1.05);
}

[data-board="webzine_list"] .cardBox .titleBox .thumb .youtube_ico {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

[data-board="webzine_list"] .cardBox .titleBox .thumb .youtube_ico img {
    width: 40px;
    height: auto;
}

/* 콘텐츠 정보 */
[data-board="webzine_list"] .cardBox .titleBox .contentInfo {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--board-gap-sm);
    justify-content: space-between;
}

[data-board="webzine_list"] .cardBox .titleBox .contentInfo .title {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    color: var(--board-gray-900);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
    gap: 4px;
}

[data-board="webzine_list"] .cardBox .titleBox .contentInfo .title a {
    display: flex;
    flex-direction: column;
    gap: var(--board-gap-xs);
    width: 100%;
}

[data-board="webzine_list"] .cardBox .titleBox .contentInfo .title a strong {
    font-size: 16px;
    font-weight: 600;
    gap: 2px;
}

[data-board="webzine_list"] .cardBox .titleBox .contentInfo .title .bo_current {
    padding: 2px 8px;
    border-radius: var(--board-radius-lg);
    background: var(--color-prime);
    color: var(--board-white);
    font-size: 11px;
    font-weight: 500;
}

[data-board="webzine_list"] .cardBox .titleBox .contentInfo .title .iconBox {
    padding: 2px 6px;
    border-radius: 10px;
    background: var(--board-success);
    color: var(--board-white);
    font-size: 10px;
    font-weight: 600;
}

[data-board="webzine_list"] .cardBox .titleBox .contentInfo .desc {
    display: block;
    color: var(--board-gray-500);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    overflow: hidden;
    word-break: break-word;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

[data-board="webzine_list"] .cardBox .titleBox .contentInfo .add {
    display: flex;
    align-items: center;
    gap: var(--board-gap-xs);
    color: var(--board-gray-500);
    font-size: 13px;
    margin-top: auto;
}

[data-board="webzine_list"] .cardBox .titleBox .contentInfo .add i {
    font-size: 16px;
}

/* 정보 박스 */
[data-board="webzine_list"] .cardBox .infoBox {
    display: flex;
    align-items: flex-end;
    gap: var(--board-gap-md);
    min-width: 120px;
}

[data-board="webzine_list"] .cardBox .infoBox .labelBox {
    padding: 4px 12px;
    border: 1px solid var(--board-gray-200);
    border-radius: 16px;
    background: var(--board-gray-100);
    color: var(--board-gray-700);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

[data-board="webzine_list"] .cardBox .infoBox .info {}

[data-board="webzine_list"] .cardBox .infoBox .info dl {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

[data-board="webzine_list"] .cardBox .infoBox .info dl dt {
    color: var(--board-gray-500);
    font-size: 16px;
}

[data-board="webzine_list"] .cardBox .infoBox .info dl dd {
    color: var(--board-gray-600);
    font-size: 13px;
    margin: 0;
}

[data-board="webzine_list"] .cardBox .infoBox .info dl dd.color-pr {
    color: var(--color-prime);
    font-weight: 600;
}

/* 빈 목록 */
[data-board="webzine_list"] .cardBox.empty {
    justify-content: center;
    color: var(--board-gray-500);
    font-size: 16px;
    font-weight: 500;
    border-style: dashed;
}

/* 추가 버튼 스타일 */
.boardListWrap .admBtn .buttonWrap button.warning {
    border-color: var(--board-danger);
    color: var(--board-danger);
}

.boardListWrap .admBtn .buttonWrap button.warning:hover {
    background: var(--board-danger);
    color: var(--board-white);
}

.boardListWrap .admBtn .buttonWrap button.prime {
    border-color: var(--color-prime);
    color: var(--color-prime);
}

.boardListWrap .admBtn .buttonWrap button.prime:hover {
    background: var(--color-prime);
    color: var(--board-white);
}

.card_desc_premium {
    font-size: 14px !important;
    color: #000000 !important;
    margin-bottom: 5px !important;
    height: inherit !important;
    line-height: 1.5;
    overflow: hidden;
}


/* --------------------------------------------------------
반응형 디자인
----------------------------------------------------------*/
@media (max-width: 1024px) {
    .boardListWrap {}

    .boardListWrap .admBtn {
        flex-direction: column;
        gap: var(--board-gap-lg);
        align-items: stretch;
    }

    .boardListWrap .admBtn .levelWrap {
        justify-content: center;
    }

    [data-board="webzine_list"] .cardBox .infoBox .info {
        gap: var(--board-gap-xs);
    }

    [data-board="webzine_list"] .cardBox .titleBox .thumb {
        min-width: 120px;
        max-width: 120px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .boardListWrap {}

    .boardListWrap .toolBox {
        gap: var(--board-gap-lg);
        align-items: stretch;
        text-align: center;
    }

    .boardListWrap .toolBox .tools {
        justify-content: center;
        flex-wrap: wrap;
    }

    .boardListWrap .catagory ul {
        justify-content: center;
    }

    [data-board="webzine_list"] .cardBox {
        flex-direction: column;
        align-items: stretch;
        gap: var(--board-gap-lg);
        padding: var(--board-padding-md) 0;
    }

    [data-board="webzine_list"] .cardBox .titleBox {
        gap: var(--board-gap-md);
        flex-direction: column;
    }

    [data-board="webzine_list"] .cardBox .titleBox .thumb {
        min-width: 100%;
        max-width: 100%;
        height: 200px;
    }

    [data-board="webzine_list"] .cardBox .infoBox {
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        min-width: auto;
    }

    [data-board="webzine_list"] .cardBox .infoBox .info {
        flex-direction: row;
        align-items: center;
        gap: var(--board-gap-md);
    }

    #searchPop .modalBox {
        width: 95%;
        margin: var(--board-padding-lg);
    }

    #searchPop .searchForm {
        flex-direction: column;
        gap: var(--board-gap-md);
    }

    #searchPop .searchForm select,
    #searchPop .searchForm input {
        width: 100%;
    }

    #searchPop .buttonWrap {
        flex-direction: column;
    }

    #searchPop .buttonWrap button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .boardListWrap {}

    .boardListWrap .admBtn {
        padding: var(--board-padding-sm);
    }

    .boardListWrap .toolBox {
        padding: var(--board-padding-sm);
    }

    [data-board="webzine_list"] .cardBox {
        padding: var(--board-padding-sm) 0;
    }

    [data-board="webzine_list"] .cardBox .titleBox .contentInfo .title {
        font-size: 15px;
    }

    [data-board="webzine_list"] .cardBox .titleBox .thumb {
        height: 180px;
    }

    [data-board="webzine_list"] .cardBox .infoBox .info {
        gap: var(--board-gap-xs);
        align-items: flex-start;
    }
}

/* Fix for Radio/Checkbox Inputs inheriting global styles */
.boardWrite input[type="radio"],
.boardWrite input[type="checkbox"] {
    width: auto !important;
    height: auto !important;
    margin: 0 4px;
    vertical-align: middle;
}

/* Landing Header Styles */
.landing-header {
    position: relative;
    width: 100%;
    height: 350px;
    /* PC Fixed Height */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    margin-top: 10px;
    /* Added margin top */
    border-radius: 0;
    /* Reset border radius */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.landing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Darker overlay */
    backdrop-filter: blur(2px);
    /* Add blur filter for better text visibility */
    z-index: 1;
}

.landing-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    top: 30px;
}

.boardViewWrap .boardViewBody .viewContent .viewContentBox .viewContText .content img {
    width: 100%;
    max-width: 100% !important;
    height: auto;
}

/* PC only: center board view body for officer detail */
@media (min-width: 1025px) {
    .boardViewWrap[data-board="uxc_view"] .boardViewBody {
        width: 80%;
        margin: 0 auto;
    }
}

.site-title {
    position: absolute;
    top: 20px;
    /* Adjusted positioning */
    right: 20px;
    font-size: 29px;
    /* Increased 20% */
    font-weight: 800;
    color: #ff4d4d;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 3;
    /* Ensure it's above content */
}

.landing-content .main-message {
    margin-bottom: 10px;
    /* Reduced margin */
}

.landing-content .main-message h3 {
    font-size: 26px;
    /* Increased 20% */
    font-weight: 500;
    color: #f0f0f0;
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.landing-content .main-message h2 {
    font-size: 34px;
    /* Increased 20% */
    font-weight: 700;
    color: #f0f0f0;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 5px;
}

.landing-content .main-message h2 .highlight {
    display: inline-block;
}

.landing-content .contact-info {
    margin-bottom: 0px;
    /* Reduced margin */
}

.landing-content .contact-info h1 {
    font-size: 46px;
    /* Increased 20% */
    font-weight: 800;
    color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.landing-content .contact-info h1 i {
    font-size: 40px;
    /* Increased */
    color: #ffce54;
}

.landing-content .contact-info .btn-call {
    display: inline-block;
    padding: 5px 15px;
    width: 110px;
    text-align: center;
    background: #ff4d4d;
    color: #fff;
    font-size: 18px;
    /* Increased 20% */
    font-weight: 600;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* 3D effect */
    transition: transform 0.2s, box-shadow 0.2s;
    vertical-align: middle;
    margin-left: 10px;
}

.landing-content .contact-info .btn-call:hover {
    background: #ff3333;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.landing-content .divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
    margin: 10px auto;
    /* Reduced margin */
    width: 80%;
    /* Adjusted width */
}

.landing-content .notice-message h2 {
    font-size: 29px;
    /* Increased 20% */
    font-weight: 600;
    color: #ffce54;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.landing-content .notice-message .empty-notice {
    color: #e0e0e0;
    font-weight: 400;
    font-size: 19px;
    /* Increased */
}

/* Animation Keyframes */
@keyframes seq-shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    75% {
        transform: rotate(5deg);
    }
}

@keyframes seq-pop {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes seq-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Apply Animations */
.landing-content .contact-info h1 i {
    animation: seq-shake 2s infinite;
}

.landing-content .main-message h2 .highlight {
    display: inline-block;
    animation: seq-pop 2s infinite;
}

.landing-content .notice-message h2 {
    animation: seq-blink 3s infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .landing-header {
        height: 350px;
        min-height: 300px;
        margin-top: 0;
        border-radius: 0;
        padding: 20px 20px 0px;
        flex-direction: column;
        background-position: center;
    }

    /* Prevent word splitting on mobile */
    .site-title,
    .landing-content .main-message h3,
    .landing-content .main-message h2,
    .landing-content .contact-info h1,
    .landing-content .notice-message h2 {
        word-break: keep-all;
        /* Keep words together for CJK */
        word-wrap: break-word;
    }

    .site-title {
        position: static;
        text-align: center;
        margin-bottom: 10px;
        font-size: 24px;
    }

    .landing-content .main-message h3 {
        font-size: 19px;
        /* Maintaining readability */
    }

    .landing-content .main-message h2 {
        font-size: 24px;
        /* Maintaining readability */
    }

    .landing-content .contact-info h1 {
        font-size: 29px;
        flex-direction: column;
        gap: 5px;
        display: flex;
    }

    .landing-content .contact-info h1 i {
        font-size: 38px;
    }

    .landing-content .notice-message h2 {
        font-size: 24px;
    }
}

/* Shop Category Tag in Titles */
.shop_cat_tag_wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    vertical-align: middle;
    margin-right: 4px;
}

.shop_cat_tag_icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop_cat_tag_icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.shop_cat_tag_text {
    font-size: 0.9em;
    color: #555;
    font-weight: 600;
}

/* Refined Shop Category Icon Style */
.shop_name .shop_cat_tag_wrap {
    display: none !important;
}

/* Ensure old tags are hidden if any cached */
.shop_icon i[class*='icon-'] {
    display: block;
    width: 70%;
    height: 70%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1);
    /* Make it white to match the circular background Contrast */
}

/* User Request: Mobile UI Refinements (2025-01-05) */

.boardListWrap {
    background: #f8f9fa;
    padding: 0;
}

.industry-nav {
    margin-top: 0;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.boardListWrap .catagory {
    margin: 0;
    padding-bottom: 10px;
    margin-top: 0 !important;
}

.industry-link.active .industry-icon,
.industry-link:hover .industry-icon {
    /* Absolute path as requested */
    background-image: url(../img/bg_active.png);
    transform: translateY(0px) !important;
}

@media (max-width: 768px) {
    .industry-nav {
        overflow: hidden;
        padding-bottom: 0;
        padding-top: 10px;
    }
}

/* Footer Toggle Styles */
.footer-toggle-btn {
    width: 100%;
    background: #f8f9fa;
    border: none;
    border-top: 1px solid #eee;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    color: #888;
    transition: background 0.2s;
    margin-top: 20px;
}

.footer-toggle-btn:hover {
    background: #e9ecef;
}

.footer-toggle-btn i {
    font-size: 24px;
    transition: transform 0.3s;
}

.footer-toggle-btn.active i {
    transform: rotate(180deg);
}

.footerSectionWrap {
    display: none;
    /* Hidden by default */
}

/* Hide SettingView Button (Global Header) for this board only */
.settingview {
    display: none !important;
}

/* Infinite Scroll: Hide pagination */
.pagination {
    display: none !important;
}

/* Loader polish */
#ias_loader {
    clear: both;
    margin-top: 20px;
}

/* Placeholder 스타일 수정
input::placeholder, 
textarea::placeholder {
    color: red !important;
    opacity: 0.8;
}
*/
