@charset "utf-8";

/* View */
.view-wrap {
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 12px;
}

.view-wrap .img-photo i { background: rgb(245, 245, 245); padding: 16px; border-radius: 50%; width: 80px; height: 80px; text-align: center; color: rgb(143, 143, 143); font-size: 40px; display: inline-block; }
.view-wrap .img-photo img { border-radius: 50%; width: 80px !important; height: 80px !important; display:inline-block; }
.view-wrap .img-resize img { max-width:100%; height:auto; }
.view-wrap .no-attach { border-bottom:0px; }
.view-wrap .view-cnt { letter-spacing:0; }

.view-wrap h1,
.view-wrap h1.board-view-title {
    font-size: 22px;
    font-weight: 700;
    margin: 10px 0 12px;
    line-height: 1.48;
    display: block;
    white-space: normal !important;
    word-break: break-word !important;
    overflow: visible !important;
    text-overflow: clip !important;
    padding: 6px 0;
    background: transparent !important;
    background-color: transparent !important;
    color: rgb(59, 62, 67);
    letter-spacing: -0.5px;
}
.view-wrap h1 span.talker-photo { margin-bottom:10px; margin-right:10px; }
.view-head {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.view-head .panel-heading {
    background-color: var(--op-surface-muted, #f8fafc);
    border: 0;
    padding: 10px 14px;
}

.view-head .panel-heading .text-muted {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #64748b;
    font-size: 13px !important;
}

.view-head .panel-heading .text-muted .pull-right {
    margin-left: auto;
    float: none !important;
}

.view-head .sp {
    display: none;
}

.view-head .list-group-item {
    padding: 7px 15px;
    border-style: dotted;
    font-size: 13.5px !important;
    line-height: 1.6;
}
.view-tag { margin:10px 0px; padding:0px; color:#888; }
.view-tag a { color:#888; }
.view-tag a:hover { color:crimson; }
.view-cnt { margin-top:4px; }
.view-img img { display:block; max-width:100%; margin:0 auto 15px; border:0; height:auto; }
.view-content {
	font-family: var(--op-font-sans, inherit);
	font-size: var(--op-content-font-size, 15px);
	line-height: var(--op-content-line-height, 1.75);
	letter-spacing: var(--op-content-letter-spacing, -0.015em);
	color: var(--op-text, #333333);
	padding-bottom: 20px;
	word-break: break-word;
	overflow-wrap: break-word;
}
.view-content img { width:auto; height:auto; max-width:100%; }
.view-content p { padding:0; margin:0 0 0.8em 0; line-height:inherit; font-size:inherit; }
.view-content p:last-child { margin-bottom:0; }
.view-good-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 25px 0 15px;
    text-align: center;
}
.view-good-box span {
    margin: 0;
    width: auto;
    height: auto;
    display: inline-flex;
}
.view-good-box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    height: 44px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}
.view-good-box a i {
    font-size: 16px;
}
.view-good-box a b {
    font-size: 14px;
    font-weight: 700;
}
.view-good-box .view-good a:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}
.view-good-box .view-nogood a:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
    box-shadow: 0 2px 8px rgba(71, 85, 105, 0.15);
}
.view-author .auth-photo { width:160px; padding-right:15px; }
.view-icon { margin-bottom:10px; }
.view-icon img { width:34px; border-radius:50%; margin-bottom:5px; }
.view-comment { margin: 0px; padding: 0px 0px 5px; text-transform: capitalize; overflow: hidden; border-bottom: 1px solid rgb(51, 51, 51); display: inline-block; position: relative; }

/* Padding */
.view-padding { padding-left:12px; padding-right:12px; }
.is-mobile .view-padding { padding-left:12px; padding-right:12px; }
.view-author-none { height:1px; border-top:1px solid #eee; margin:12px 0px 20px; }

/* Comment */
.comment-media { margin:10px 0px; }
.comment-media .photo i { background: rgb(245, 245, 245); padding: 15px; border-radius: 50%; width: 64px; height: 64px; text-align: center; color: rgb(143, 143, 143); font-size: 30px; display: inline-block; }
.comment-media .photo img { border-radius: 50%; width: 64px !important; height: 64px !important; display:inline-block; }
.view-mobile .comment-media .photo i { padding: 10px; width: 54px; height: 54px; }
.view-mobile .comment-media .photo img { width: 54px !important; height: 54px !important; }

.comment-media .media { border-top:1px solid #eee; margin:7px 0px; padding:7px 0px 0px; }
.comment-media :first-child.media { border-top:0px; margin-top:0px; padding-top:0px; }
.comment-media h5 { margin:2px 0px; line-height: 22px; }
.comment-media .media-heading b { font-size: 13.5px; font-weight: 700; }
.comment-media .media .media-body { padding-left:0px; }
.comment-media .media .media-info { margin-left:10px; }
.comment-media .media .media-content {
	font-family: var(--op-font-sans, inherit);
	font-size: var(--op-comment-font-size, 14px);
	line-height: var(--op-comment-line-height, 1.65);
	letter-spacing: -0.01em;
	color: var(--op-text, #333333);
	margin-top: 8px;
	word-break: break-word;
	overflow-wrap: break-word;
}
.comment-media .media .media-content p {
	margin: 0 0 0.5em 0;
	line-height: inherit;
	font-size: inherit;
}
.comment-media .media .media-content p:last-child {
	margin-bottom: 0;
}
.comment-box textarea#wr_content {
	font-family: var(--op-font-sans, inherit);
	font-size: var(--op-comment-font-size, 14px);
	line-height: var(--op-comment-line-height, 1.65);
}
.comment-media .media-heading .pull-right.font-11,
.comment-media .media .pull-right.font-11 {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px !important;
}
.comment-media .media-heading .pull-right a,
.comment-media .media .pull-right.font-11 a {
	display: inline-flex;
	align-items: center;
	text-decoration: none !important;
	vertical-align: middle;
}
.comment-media .media-heading .pull-right a span,
.comment-media .media .pull-right.font-11 a span {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 12px !important;
	line-height: 1.3 !important;
	padding: 2.5px 7px !important;
	border-radius: 4px !important;
	border: 1px solid #e2e8f0 !important;
	background-color: #f8fafc !important;
	color: #64748b !important;
	margin-left: 0 !important;
	font-weight: 500 !important;
	transition: all 0.15s ease !important;
}
.comment-media .media-heading .pull-right a:hover span,
.comment-media .media .pull-right.font-11 a:hover span {
	background-color: #f1f5f9 !important;
	border-color: #cbd5e1 !important;
	color: #1e293b !important;
}
.comment-media .media .media-btn {	margin-left:0px; }
.comment-media .cmt-good-btn { text-align:right; padding-right:1px; }
.comment-media .cmt-good, .comment-media .cmt-nogood { display:inline-block; width:74px; height:20px; margin-top:10px; padding-right:10px; margin-right:-1px; font:bold 11px verdana; text-align:right; letter-spacing:-1px; line-height:19px; cursor:pointer; }
.comment-media .cmt-good { background: url('../../img/cmt_good.gif') no-repeat left center; color:#f4695b; }
.comment-media .cmt-nogood { background: url('../../img/cmt_nogood.gif') no-repeat left center; color:#888; }

.comment-form { padding-top:10px; }
.comment-box { border:1px solid #ddd; padding:12px 12px 0px; margin-bottom:15px; background:#fbfbfb; }
.comment-content { display:table; width:100%; table-layout:fixed; }
.comment-content .comment-cell { display:table-cell; padding:0px; text-align:center; vertical-align:middle; }
.comment-content .comment-cell.comment-submit { width:80px; height:100%; background:#fafafa; border:1px solid #ccc; border-left:0px; cursor:pointer; font-size: 14px !important; font-weight: 700; letter-spacing: -0.01em; }
.comment-btn .cursor { margin-left:12px; color:#787878; }

#wr_content { resize:none; }
#bo_vc_opt ol {	margin:0;padding:0;list-style:none;zoom:1; }
#bo_vc_opt ol:after { display:block;visibility:hidden;clear:both;content:""; }
#bo_vc_opt ol li { float:left;margin:0; }
#bo_vc_send_sns ul { margin:0;padding:0;list-style:none;zoom:1; }
#bo_vc_send_sns ul:after { display:block;visibility:hidden;clear:both;content:""; }
#bo_vc_send_sns ul li {	float:left;margin:0 20px 0 0; }
#bo_vc_send_sns input {	margin:0 0 0 5px; }

@media all and (max-width: 768px) {
    .view-wrap,
    .view-wrap.view-mobile {
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }

    .view-wrap h1,
    .view-wrap h1.board-view-title,
    .responsive .view-wrap h1 {
        text-overflow: clip !important;
        overflow: visible !important;
        white-space: normal !important;
        word-break: break-word !important;
        line-height: 1.48 !important;
        font-size: 19px !important;
        margin: 10px 0 12px !important;
        padding: 4px 0 !important;
        background: transparent !important;
        background-color: transparent !important;
    }

    .view-wrap h1 .photo,
    .responsive .view-wrap h1 .photo {
        display: none;
    }
}

@media all and (max-width:480px) {
	.responsive .view-author .auth-photo { float:none; width:100%; padding-right:0px; }
	.responsive .view-icon .pull-right { float:none !important; }
}

/* ==========================================================================
   추가: 네티즌 별점 평가 블록, 액션 버튼 및 본문 요소 (view.skin.php 인라인 이관)
   ========================================================================== */
.netizenGrade dl:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}
.netizenGrade dl.fst {
    border: medium none;
}
.netizenGrade dl {
    border-top: 1px solid #f4f4f4;
    clear: both;
}
.netizenGrade {
    margin: 10px 0;
    border-radius: 8px;
    background-color: var(--op-surface-muted, #e9e8e7);
}
.netizenGrade .c dt {
    float: left;
    padding: 6px 0 8px 10px;
    width: 100px;
    font-size: 15px;
    font-weight: 700;
}
.netizenGrade .c dd {
    float: left;
    width: 145px;
}
.star_big {
    display: block;
    height: 32px;
    overflow: hidden;
    width: 155px;
    font: italic 700 24px/29px Arial;
    letter-spacing: -1px;
    vertical-align: top;
}
.star_big.pink, .star_mid.pink, .star_small.pink, .pink {
    color: #f65d70;
}
.star_big .pink .pt2 {
    background: url(/images/common/img_star_r1.png) no-repeat scroll 0 0 transparent;
}
.star_big .pt1, .star_big .pt2 {
    display: block;
    float: left;
    height: 31px;
    overflow: hidden;
    text-indent: -1000em;
    width: 100px;
}
.star_big .pt1 {
    background: url(/images/common/img_gstar_b.png) no-repeat scroll 0 0 transparent;
    margin-top: 3px;
}
.hot_icon_1, .hot_icon_2, .hot_icon_3 {
    color: red;
}
.netizenGrade .star_big em {
    float: left;
    margin-left: 5px;
}
.star_big em {
    display: block;
    font-style: italic;
    padding-right: 2px;
    text-align: right;
}

.view-wrap table {
    width: 100% !important;
    table-layout: auto !important;
}

/* ==========================================================================
   본문 액션 버튼 및 레이아웃 요소 (모던 반응형 그리드 & 토큰 연동)
   ========================================================================== */
.view-action-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    margin: 10px 0;
}

/* Action buttons base reset */
.view-action-btns a.title_btn,
.view-action-btns a.title_btn:link,
.view-action-btns a.title_btn:visited,
.view-action-btns button.title_btn,
.view-action-btns .title_btn {
    text-decoration: none !important;
}

/* Secondary Action Buttons (기본: 클린 화이트/뉴트럴 카드 서피스) */
.title_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    min-width: 100px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    margin: 0;
}

.title_btn:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.title_btn:active {
    transform: translateY(1px);
}

.title_btn i {
    margin-right: 6px;
    font-size: 13.5px;
    line-height: 1;
}

/* Sub-action Icon Point Colors (아이콘에만 시맨틱 포인트 컬러 적용) */
.title_btn.view_btn_gopost i.fa-building-o {
    color: #2563eb; /* Royal Blue - 업소정보보기 */
}

.title_btn.view_btn_gopost i.fa-comments-o {
    color: #059669; /* Emerald Green - 업소후기보기 */
}

.title_btn.view_btn_write i,
.title_btn.view_btn_gopost i.fa-pencil-square-o {
    color: #6366f1; /* Indigo - 업소후기작성 */
}

.title_btn.view_btn_coupon i {
    color: #0284c7; /* Sky Blue - 쿠폰바로가기 */
}

/* Primary CTA: Call Button (단독 풀솔리드 웜 코랄/오렌지 강조) */
.title_btn.view_btn_call {
    min-width: 140px;
    gap: 6px;
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    background-color: #ea580c;
    border-color: #d94e07;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.28);
}

.title_btn.view_btn_call i {
    color: #ffffff !important;
    font-size: 15px;
    margin-right: 2px;
}

.title_btn.view_btn_call:hover {
    background: #c2410c;
    background-color: #c2410c;
    border-color: #9a3412;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}

.title_btn.btn-call {
    line-height: 1.2em;
}

/* Secondary utility jump buttons (댓글바로가기 / 본문상단으로) */
.view-action-btns a.title_btn.view_btn_dn,
.view-action-btns a.title_btn.view_btn_up,
.view-action-btns button.title_btn.view_btn_dn,
.view-action-btns button.title_btn.view_btn_up,
.view-action-btns .title_btn.view_btn_dn,
.view-action-btns .title_btn.view_btn_up,
.title_btn.view_btn_dn,
.title_btn.view_btn_up {
    background-color: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
    color: #64748b !important;
    font-size: 12.5px !important;
    font-weight: 500;
    box-shadow: none;
}

.title_btn.view_btn_dn i,
.title_btn.view_btn_up i {
    color: #94a3b8;
}

.view-action-btns a.title_btn.view_btn_dn:hover,
.view-action-btns a.title_btn.view_btn_up:hover,
.view-action-btns button.title_btn.view_btn_dn:hover,
.view-action-btns button.title_btn.view_btn_up:hover,
.view-action-btns .title_btn.view_btn_dn:hover,
.view-action-btns .title_btn.view_btn_up:hover,
.title_btn.view_btn_dn:hover,
.title_btn.view_btn_up:hover {
    background-color: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    border-style: solid !important;
    color: #1e293b !important;
}

.title_btn.view_btn_dn:hover i,
.title_btn.view_btn_up:hover i {
    color: #475569;
}

.title_btn.disabled,
.title_btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(0.6);
}

.title_btn.view_btn_coupon {
    background-color: #ffffff;
    border-color: #e2e8f0;
    color: #334155;
}

.title_btn.view_btn_coupon:hover {
    background-color: #f0f9ff;
    border-color: #bae6fd;
    color: #0369a1;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
}

.view_btn_up,
.view_btn_dn,
.view_btn_gopost,
.view_btn_coupon,
.view_btn_call {
    font-size: 13px !important;
}

.view-content td {
    width: 100% !important;
}

@media all and (max-width: 768px) {
    .view-content {
        padding: 10px 0 20px !important;
    }

    .view-action-btns {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        padding: 8px 0;
        margin: 8px 0;
    }

    .title_btn {
        width: 100% !important;
        min-width: 0 !important;
        height: 42px;
        font-size: 13px;
        padding: 0 8px;
        border-radius: 8px;
    }

    .title_btn.view_btn_call {
        grid-column: span 2;
        height: 46px;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.3px;
    }

    .title_btn.view_btn_dn,
    .title_btn.view_btn_up {
        height: 38px;
    }

    .title_btn.full-span {
        grid-column: span 2;
    }
}

/* ==========================================================================
   통합 히어로 프로필 카드 (상호/지역/신뢰지표 + 액션버튼 일체화)
   ========================================================================== */
.company-hero-card {
    background: var(--op-surface, #ffffff);
    border: 1px solid var(--op-border, #e2e8f0);
    border-radius: 12px;
    padding: 14px 16px 12px;
    margin: 10px 0 16px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.company-hero-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.company-hero-card__title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.company-hero-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--op-text-primary, #0f172a);
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.4;
}

.company-hero-card__badge {
    display: inline-block;
    padding: 2.5px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff !important;
    background-color: var(--op-biz-default, #10b981);
    border-radius: 4px;
    letter-spacing: -0.01em;
    line-height: 1.35;
    vertical-align: middle;
}

.company-hero-card__name {
    font-size: 17px;
    font-weight: 800;
    color: var(--op-text-primary, #0f172a);
    letter-spacing: -0.4px;
}

.company-hero-card__region {
    font-size: 13px;
    font-weight: 600;
    color: var(--op-text-muted, #64748b);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.company-hero-card__meta {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 12.5px;
    color: var(--op-text-secondary, #475569);
}

.company-hero-card__stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.company-hero-card__divider {
    color: var(--op-border, #cbd5e1);
    font-weight: 700;
    font-size: 12px;
    user-select: none;
}

.company-hero-card .company-event-tag {
    display: inline-block;
    padding: 1.5px 6px;
    font-size: 11px;
    font-weight: 600;
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 4px;
    letter-spacing: -0.01em;
    line-height: 1.35;
    vertical-align: middle;
}

.company-hero-card__divider-line {
    height: 1px;
    background-color: #f1f5f9;
    margin: 10px 0 10px 0;
}

.company-hero-card .view-action-btns {
    padding: 0;
    margin: 0;
}

@media (max-width: 768px) {
    .company-hero-card {
        padding: 12px 12px 10px;
        margin: 8px 0 14px 0;
        border-radius: 10px;
    }
    .company-hero-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .company-hero-card__title {
        font-size: 14px;
        gap: 6px;
    }
    .company-hero-card__name {
        font-size: 16px;
    }
    .company-hero-card__region {
        font-size: 12.5px;
    }
    .company-hero-card__meta {
        font-size: 12px;
        gap: 4px 8px;
    }
    .company-hero-card__divider-line {
        margin: 8px 0 8px 0;
    }
}

/* ==========================================================================
   다크모드 서피스 대응 (op-review view)
   ========================================================================== */
html.theme-dark .view-head,
body.theme-dark .view-head,
body[data-theme="dark"] .view-head {
    border-color: #2e2e3a !important;
    background-color: #1a1a22 !important;
}

html.theme-dark .view-head .panel-heading,
body.theme-dark .view-head .panel-heading,
body[data-theme="dark"] .view-head .panel-heading {
    background-color: #1e1e26 !important;
    border-color: #2e2e3a !important;
}

html.theme-dark .view-head .panel-heading .text-muted,
body.theme-dark .view-head .panel-heading .text-muted,
body[data-theme="dark"] .view-head .panel-heading .text-muted {
    color: #94a3b8 !important;
}

html.theme-dark .view-good-box a,
body.theme-dark .view-good-box a,
body[data-theme="dark"] .view-good-box a {
    background: #1e1e24 !important;
    border-color: #2e2e3a !important;
    color: #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

html.theme-dark .view-good-box .view-good a:hover,
body.theme-dark .view-good-box .view-good a:hover,
body[data-theme="dark"] .view-good-box .view-good a:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: #ef4444 !important;
    color: #f87171 !important;
}

html.theme-dark .view-good-box .view-nogood a:hover,
body.theme-dark .view-good-box .view-nogood a:hover,
body[data-theme="dark"] .view-good-box .view-nogood a:hover {
    background: rgba(148, 163, 184, 0.15) !important;
    border-color: #64748b !important;
    color: #94a3b8 !important;
}

html.theme-dark .view-action-btns a.title_btn,
html.theme-dark .view-action-btns button.title_btn,
html.theme-dark .title_btn,
body.theme-dark .title_btn,
body[data-theme="dark"] .title_btn {
    background-color: #24242e !important;
    border-color: #3b3b48 !important;
    color: #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

html.theme-dark .view-action-btns a.title_btn:hover,
html.theme-dark .view-action-btns button.title_btn:hover,
html.theme-dark .title_btn:hover,
body.theme-dark .title_btn:hover,
body[data-theme="dark"] .title_btn:hover {
    background-color: #2e2e3a !important;
    border-color: #4f4f5f !important;
    color: #ffffff !important;
}

/* Dark mode icon accents */
html.theme-dark .title_btn.view_btn_gopost i.fa-building-o,
body.theme-dark .title_btn.view_btn_gopost i.fa-building-o,
body[data-theme="dark"] .title_btn.view_btn_gopost i.fa-building-o {
    color: #60a5fa !important; /* Royal Blue Light */
}

html.theme-dark .title_btn.view_btn_gopost i.fa-comments-o,
body.theme-dark .title_btn.view_btn_gopost i.fa-comments-o,
body[data-theme="dark"] .title_btn.view_btn_gopost i.fa-comments-o {
    color: #34d399 !important; /* Emerald Light */
}

html.theme-dark .title_btn.view_btn_write i,
html.theme-dark .title_btn.view_btn_gopost i.fa-pencil-square-o,
body.theme-dark .title_btn.view_btn_write i,
body.theme-dark .title_btn.view_btn_gopost i.fa-pencil-square-o,
body[data-theme="dark"] .title_btn.view_btn_write i,
body[data-theme="dark"] .title_btn.view_btn_gopost i.fa-pencil-square-o {
    color: #818cf8 !important; /* Indigo Light */
}

html.theme-dark .title_btn.view_btn_coupon i,
body.theme-dark .title_btn.view_btn_coupon i,
body[data-theme="dark"] .title_btn.view_btn_coupon i {
    color: #38bdf8 !important; /* Sky Blue Light */
}

html.theme-dark .title_btn.view_btn_coupon:hover,
body.theme-dark .title_btn.view_btn_coupon:hover,
body[data-theme="dark"] .title_btn.view_btn_coupon:hover {
    background-color: #1a2a3a !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

/* Primary Call button in dark mode */
html.theme-dark .title_btn.view_btn_call,
body.theme-dark .title_btn.view_btn_call,
body[data-theme="dark"] .title_btn.view_btn_call {
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%) !important;
    background-color: #c2410c !important;
    border-color: #ea580c !important;
    color: #ffffff !important;
}

html.theme-dark .title_btn.view_btn_call i,
body.theme-dark .title_btn.view_btn_call i,
body[data-theme="dark"] .title_btn.view_btn_call i {
    color: #ffffff !important;
}

html.theme-dark .title_btn.view_btn_call:hover,
body.theme-dark .title_btn.view_btn_call:hover,
body[data-theme="dark"] .title_btn.view_btn_call:hover {
    background: #ea580c !important;
    border-color: #f97316 !important;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4) !important;
}

/* Jump button in dark mode */
html.theme-dark .title_btn.view_btn_dn,
html.theme-dark .title_btn.view_btn_up,
body.theme-dark .title_btn.view_btn_dn,
body.theme-dark .title_btn.view_btn_up,
body[data-theme="dark"] .title_btn.view_btn_dn,
body[data-theme="dark"] .title_btn.view_btn_up {
    background-color: #1a1a24 !important;
    border: 1px dashed #38384a !important;
    color: #94a3b8 !important;
}

html.theme-dark .title_btn.view_btn_dn i,
html.theme-dark .title_btn.view_btn_up i,
body.theme-dark .title_btn.view_btn_dn i,
body.theme-dark .title_btn.view_btn_up i,
body[data-theme="dark"] .title_btn.view_btn_dn i,
body[data-theme="dark"] .title_btn.view_btn_up i {
    color: #64748b !important;
}

html.theme-dark .title_btn.view_btn_dn:hover,
html.theme-dark .title_btn.view_btn_up:hover,
body.theme-dark .title_btn.view_btn_dn:hover,
body.theme-dark .title_btn.view_btn_up:hover,
body[data-theme="dark"] .title_btn.view_btn_dn:hover,
body[data-theme="dark"] .title_btn.view_btn_up:hover {
    background-color: #242432 !important;
    border-color: #64748b !important;
    border-style: solid !important;
    color: #f1f5f9 !important;
}

/* Dark mode for company hero card */
html.theme-dark .company-hero-card,
body.theme-dark .company-hero-card,
body[data-theme="dark"] .company-hero-card {
    background: #181822 !important;
    border-color: #2d2d3c !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
}

html.theme-dark .company-hero-card__title,
html.theme-dark .company-hero-card__name,
body.theme-dark .company-hero-card__title,
body.theme-dark .company-hero-card__name,
body[data-theme="dark"] .company-hero-card__title,
body[data-theme="dark"] .company-hero-card__name {
    color: #f1f5f9 !important;
}

html.theme-dark .company-hero-card__region,
body.theme-dark .company-hero-card__region,
body[data-theme="dark"] .company-hero-card__region {
    color: #94a3b8 !important;
}

html.theme-dark .company-hero-card__meta,
body.theme-dark .company-hero-card__meta,
body[data-theme="dark"] .company-hero-card__meta {
    color: #94a3b8 !important;
}

html.theme-dark .company-hero-card__divider-line,
body.theme-dark .company-hero-card__divider-line,
body[data-theme="dark"] .company-hero-card__divider-line {
    background-color: #2a2a38 !important;
}

html.theme-dark .company-hero-card .company-event-tag,
body.theme-dark .company-hero-card .company-event-tag,
body[data-theme="dark"] .company-hero-card .company-event-tag {
    background: #3f1515 !important;
    border-color: #7f1d1d !important;
    color: #fca5a5 !important;
}

/* 별점/네티즌 평가 블록 다크모드 */
html.theme-dark .netizenGrade,
body.theme-dark .netizenGrade {
    background-color: #1e1e24 !important;
}
html.theme-dark .netizenGrade dl,
body.theme-dark .netizenGrade dl {
    border-top-color: #2e2e3a !important;
}
html.theme-dark .netizenGrade .c dt,
body.theme-dark .netizenGrade .c dt {
    color: #e2e8f0 !important;
}

/* ==========================================================================
   하단 목록/수정/이전/다음 캡슐 버튼 바 (.view-wrap .view-btn)
   ========================================================================== */
.view-wrap .view-btn,
.view-btn {
    margin: 20px 0 28px !important;
}
.view-wrap .view-btn .btn-group,
.view-btn .btn-group {
    display: inline-flex !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}
.view-wrap .view-btn .btn-group > .btn,
.view-btn .btn-group > .btn,
.view-wrap .view-btn .btn,
.view-btn .btn {
    float: none !important;
    margin: 0 !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    padding: 6px 14px !important;
    height: 36px !important;
    line-height: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    text-shadow: none !important;
    transition: all 0.15s ease !important;
}
.view-wrap .view-btn .btn i,
.view-btn .btn i {
    font-size: 13px !important;
    color: inherit !important;
    margin-right: 2px !important;
}
.view-wrap .view-btn .btn:hover,
.view-btn .btn:hover,
.view-wrap .view-btn .btn:focus,
.view-btn .btn:focus,
.view-wrap .view-btn .btn:active,
.view-btn .btn:active {
    background: #f1f5f9 !important;
    background-color: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    text-shadow: none !important;
}

/* 관리자 삭제/수정 등 경고 버튼 대응 (btn-darkred) */
.view-wrap .view-btn .btn.btn-darkred,
.view-btn .btn.btn-darkred {
    background: #fef2f2 !important;
    background-color: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
}
.view-wrap .view-btn .btn.btn-darkred:hover,
.view-btn .btn.btn-darkred:hover {
    background: #fee2e2 !important;
    background-color: #fee2e2 !important;
    border-color: #f87171 !important;
    color: #b91c1c !important;
}

/* Dark Mode */
html.theme-dark .view-wrap .view-btn .btn,
body.theme-dark .view-wrap .view-btn .btn,
html.theme-dark .view-btn .btn,
body.theme-dark .view-btn .btn,
body[data-theme="dark"] .view-wrap .view-btn .btn,
body[data-theme="dark"] .view-btn .btn {
    background: #18181d !important;
    background-color: #18181d !important;
    border-color: #272730 !important;
    color: #cbd5e1 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
html.theme-dark .view-wrap .view-btn .btn:hover,
body.theme-dark .view-wrap .view-btn .btn:hover,
html.theme-dark .view-btn .btn:hover,
body.theme-dark .view-btn .btn:hover,
body[data-theme="dark"] .view-wrap .view-btn .btn:hover,
body[data-theme="dark"] .view-btn .btn:hover {
    background: #252530 !important;
    background-color: #252530 !important;
    border-color: #3f3f4e !important;
    color: #f1f5f9 !important;
}

html.theme-dark .view-wrap .view-btn .btn.btn-darkred,
body.theme-dark .view-wrap .view-btn .btn.btn-darkred,
body[data-theme="dark"] .view-wrap .view-btn .btn.btn-darkred {
    background: rgba(239, 68, 68, 0.15) !important;
    background-color: rgba(239, 68, 68, 0.15) !important;
    border-color: #7f1d1d !important;
    color: #f87171 !important;
}
html.theme-dark .view-wrap .view-btn .btn.btn-darkred:hover,
body.theme-dark .view-wrap .view-btn .btn.btn-darkred:hover,
body[data-theme="dark"] .view-wrap .view-btn .btn.btn-darkred:hover {
    background: rgba(239, 68, 68, 0.25) !important;
    background-color: rgba(239, 68, 68, 0.25) !important;
    border-color: #ef4444 !important;
    color: #fca5a5 !important;
}

@media (max-width: 768px) {
    .view-wrap .view-btn,
    .view-btn {
        text-align: center !important;
        margin: 15px 0 20px !important;
    }
    .view-wrap .view-btn .btn-group,
    .view-btn .btn-group {
        justify-content: center !important;
        gap: 4px !important;
    }
    .view-wrap .view-btn .btn,
    .view-btn .btn {
        padding: 5px 10px !important;
        font-size: 12.5px !important;
        height: 34px !important;
    }
}

/* Company Review Mini-Cluster Box */
.company-review-cluster-box {
    margin: 20px 0 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.company-review-cluster-box .cluster-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 12px;
}

.company-review-cluster-box .cluster-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-review-cluster-box .cluster-more-link {
    font-size: 12.5px;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.company-review-cluster-box .cluster-more-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.company-review-cluster-box .cluster-review-list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.company-review-cluster-box .cluster-rev-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f8fafc;
    text-decoration: none;
    color: #334155;
    font-size: 13.5px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.company-review-cluster-box .cluster-rev-item:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.company-review-cluster-box .cluster-rev-subj {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    flex: 1;
    margin-right: 12px;
}

.company-review-cluster-box .cluster-rev-date {
    font-size: 11.5px;
    color: #94a3b8;
    white-space: nowrap;
}

.company-review-cluster-box .cluster-store-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 10px 14px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 13px;
}

.company-review-cluster-box .cluster-store-label {
    color: #64748b;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.company-review-cluster-box .cluster-store-link {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.company-review-cluster-box .cluster-store-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Dark Mode Support */
html.theme-dark .company-review-cluster-box,
body.theme-dark .company-review-cluster-box,
body[data-theme="dark"] .company-review-cluster-box {
    background: #1e1e28 !important;
    border-color: #2d2d3d !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
}

html.theme-dark .company-review-cluster-box .cluster-head,
body.theme-dark .company-review-cluster-box .cluster-head,
body[data-theme="dark"] .company-review-cluster-box .cluster-head {
    border-color: #2d2d3d !important;
}

html.theme-dark .company-review-cluster-box .cluster-title,
body.theme-dark .company-review-cluster-box .cluster-title,
body[data-theme="dark"] .company-review-cluster-box .cluster-title {
    color: #f1f5f9 !important;
}

html.theme-dark .company-review-cluster-box .cluster-more-link,
body.theme-dark .company-review-cluster-box .cluster-more-link,
body[data-theme="dark"] .company-review-cluster-box .cluster-more-link {
    color: #60a5fa !important;
}

html.theme-dark .company-review-cluster-box .cluster-rev-item,
body.theme-dark .company-review-cluster-box .cluster-rev-item,
body[data-theme="dark"] .company-review-cluster-box .cluster-rev-item {
    background: #252535 !important;
    color: #cbd5e1 !important;
}

html.theme-dark .company-review-cluster-box .cluster-rev-item:hover,
body.theme-dark .company-review-cluster-box .cluster-rev-item:hover,
body[data-theme="dark"] .company-review-cluster-box .cluster-rev-item:hover {
    background: #2e3048 !important;
    color: #93c5fd !important;
}

html.theme-dark .company-review-cluster-box .cluster-rev-date,
body.theme-dark .company-review-cluster-box .cluster-rev-date,
body[data-theme="dark"] .company-review-cluster-box .cluster-rev-date {
    color: #64748b !important;
}

html.theme-dark .company-review-cluster-box .cluster-store-bar,
body.theme-dark .company-review-cluster-box .cluster-store-bar,
body[data-theme="dark"] .company-review-cluster-box .cluster-store-bar {
    background: #252535 !important;
}

html.theme-dark .company-review-cluster-box .cluster-store-label,
body.theme-dark .company-review-cluster-box .cluster-store-label,
body[data-theme="dark"] .company-review-cluster-box .cluster-store-label {
    color: #94a3b8 !important;
}

html.theme-dark .company-review-cluster-box .cluster-store-link,
body.theme-dark .company-review-cluster-box .cluster-store-link,
body[data-theme="dark"] .company-review-cluster-box .cluster-store-link {
    color: #e2e8f0 !important;
}

html.theme-dark .company-review-cluster-box .cluster-store-link:hover,
body.theme-dark .company-review-cluster-box .cluster-store-link:hover,
body[data-theme="dark"] .company-review-cluster-box .cluster-store-link:hover {
    color: #60a5fa !important;
}

