.m-gesi-section {
    padding: 10px 8px var(--spacing-md);
}

.m-gesi-intro {
    margin-bottom: 10px;
    padding: 10px 12px;
    border: 1px solid #d6e3f2;
    border-radius: 6px;
    background: #f8fbff;
}

.m-gesi-intro-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.m-gesi-title {
    font-size: calc(var(--font-size-base) + 1px);
    font-weight: 700;
    color: var(--color-blue);
    line-height: 1.35;
}

.m-gesi-desc {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    color: var(--color-text);
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.m-gesi-search-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.m-gesi-select,
.m-gesi-input,
.m-gesi-btn {
    height: 30px;
    border-radius: 4px;
    font-size: 12px;
}

.m-gesi-select,
.m-gesi-input {
    border: 1px solid #d1d9e2;
    background: #fff;
    color: #333;
}

.m-gesi-select {
    flex: 0 0 18%;
    min-width: 58px;
    padding: 0 4px;
}

.m-gesi-size-select {
    flex: 0 0 auto;
    min-width: 104px;
    margin-left: auto;
    text-align: right;
    text-align-last: right;
}

.m-gesi-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0 8px;
}

.m-gesi-btn {
    flex: 0 0 auto;
    padding: 0 10px;
    border: 1px solid transparent;
    line-height: 28px;
    cursor: pointer;
}

.m-gesi-btn-primary {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.m-gesi-btn-ghost {
    background: #fff;
    color: #333;
    border-color: #d1d9e2;
}

.m-gesi-table-wrap {
    border: 1px solid #d8e0e8;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

.m-gesi-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.m-gesi-table thead th {
    background: #f1f3f6;
    color: #333;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 9px 4px;
    border-bottom: 1px solid #d8e0e8;
}

.m-gesi-table td {
    color: #333;
    font-size: 12px;
    text-align: center;
    padding: 10px 4px;
    border-bottom: 1px solid #e4e8ed;
    line-height: 1.25;
}

.m-gesi-table tbody tr:last-child td {
    border-bottom: none;
}

.m-gesi-col-no {
    width: 12%;
}

.m-gesi-col-title {
    width: 45%;
}

.m-gesi-col-author {
    width: 18%;
}

.m-gesi-col-hit {
    width: 9%;
}

.m-gesi-col-date {
    width: 16%;
}

.m-gesi-table td.m-gesi-title-cell {
    text-align: left !important;
    padding-left: 0 !important;
    word-break: break-word;
}

.m-gesi-title-cell a {
    color: #333;
    text-decoration: none;
}

.m-gesi-title-link {
    display: inline;
    word-break: break-word;
}

.m-gesi-editable-mark {
    color: #0066cc;
    font-weight: 600;
}

.m-gesi-title-cell a:hover,
.m-gesi-title-cell a:focus-visible {
    text-decoration: underline;
}

.m-gesi-empty-row {
    color: #666;
    padding: 22px 8px !important;
}

.m-gesi-attach-mark {
    margin-left: 4px;
    color: #6b7785;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
}

.m-gesi-comment-toggle {
    margin-left: 4px;
    padding: 0;
    border: none;
    background: transparent;
    color: #0066cc;
    font-size: 11px;
    line-height: 1.2;
    text-decoration: underline;
    cursor: pointer;
}

.m-gesi-comment-cell {
    padding: 10px 8px 10px calc(12% + 4px) !important;
    background: #f7f9fc;
    text-align: left !important;
}

.m-gesi-pagination-wrap {
    margin-top: 12px;
}

.m-gesi-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.m-gesi-page-btn {
    display: inline-block;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: #333;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.m-gesi-page-btn.is-active {
    background: #ffc64c;
    color: #fff;
    font-weight: 700;
}

.m-gesi-write-wrap {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

.m-gesi-write-btn {
    display: inline-block;
    min-width: 72px;
    height: 33px;
    padding: 0 14px;
    border: 1px solid #0066cc;
    border-radius: 4px;
    background: #0066cc;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 31px;
    text-align: center;
    cursor: pointer;
}

.m-gesi-btn:active,
.m-gesi-page-btn:active,
.m-gesi-write-btn:active {
    opacity: 0.88;
}

.m-gesi-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 600px) and (max-width: 1400px) {
    .m-gesi-section {
        padding: 12px 12px var(--spacing-lg);
    }

    .m-gesi-select,
    .m-gesi-input,
    .m-gesi-btn {
        font-size: 13px;
    }

    .m-gesi-table thead th,
    .m-gesi-table td {
        font-size: 13px;
    }
}

/* detail: m_gesi_view */
.m-gesi-view-section {
    padding: 12px 10px var(--spacing-lg);
}

.m-gesi-view-title-wrap {
    margin-bottom: 10px;
}

.m-gesi-view-title {
    font-size: calc(var(--font-size-base) + 1px);
    font-weight: 700;
    color: var(--color-blue);
    line-height: 1.35;
}

.m-gesi-view-card {
    border: 1px solid #d8e0e8;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.m-gesi-view-header {
    padding: 14px 12px;
    border-bottom: 1px solid #e4e8ed;
}

.m-gesi-view-subject {
    margin: 0;
    font-size: 15px;
    color: #232a31;
    line-height: 1.45;
}

.m-gesi-view-meta {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    color: #586473;
    font-size: 12px;
}

.m-gesi-view-content {
    padding: 14px 12px;
    color: #333;
    font-size: 13px;
    line-height: 1.7;
    word-break: break-word;
}

.m-gesi-view-content p,
.m-gesi-view-content ul,
.m-gesi-view-content ol,
.m-gesi-view-content blockquote,
.m-gesi-view-content pre {
    margin: 0 0 12px;
}

.m-gesi-view-content :last-child {
    margin-bottom: 0;
}

.m-gesi-view-content a {
    color: #0066cc;
    text-decoration: underline;
}

.m-gesi-view-attach {
    padding: 12px;
    border-bottom: 1px solid #e4e8ed;
    background: #f9fbfd;
}

.m-gesi-view-attach-link {
    color: #0066cc;
    font-size: 13px;
    text-decoration: underline;
}

.m-gesi-view-attach-image {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    border: 1px solid #dfe6ee;
    border-radius: 6px;
    background: #fff;
}

.m-gesi-view-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.m-gesi-view-btn {
    min-width: 72px;
    height: 34px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.m-gesi-view-btn-ghost {
    border-color: #d1d9e2;
    background: #fff;
    color: #333;
}

.m-gesi-view-btn-primary {
    border-color: #0066cc;
    background: #0066cc;
    color: #fff;
}

.m-gesi-view-btn:active {
    opacity: 0.88;
}

.m-gesi-comment-section {
    margin-top: 20px;
    border-top: 2px solid #2f3640;
    padding-top: 14px;
}

.m-gesi-comment-heading {
    margin: 0 0 10px;
    color: #2b3440;
    font-size: 15px;
    font-weight: 700;
}

.m-gesi-comment-form {
    border: 1px solid #d8e0e8;
    border-radius: 8px;
    background: #fff;
    padding: 10px;
}

.m-gesi-comment-textarea {
    width: 100%;
    min-height: 92px;
    border: 1px solid #d1d9e2;
    border-radius: 6px;
    padding: 10px;
    color: #333;
    font-size: 13px;
    line-height: 1.55;
    resize: vertical;
    box-sizing: border-box;
}

.m-gesi-comment-submit-row {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.m-gesi-comment-file {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
}

.m-gesi-comment-submit-btn {
    flex: 0 0 auto;
    min-width: 84px;
    height: 34px;
    border: 1px solid #17a2b8;
    border-radius: 4px;
    background: #17a2b8;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.m-gesi-comment-list-wrap {
    margin-top: 12px;
}

.m-gesi-comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.m-gesi-comment-item {
    border-top: 1px solid #e4e8ed;
    padding: 10px 2px;
}

.m-gesi-comment-item:first-child {
    border-top: none;
}

.m-gesi-comment-head {
    margin-bottom: 4px;
    text-align: right;
}

.m-gesi-comment-delete {
    padding: 0;
    border: none;
    background: transparent;
    color: #697788;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.m-gesi-comment-body {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
}

.m-gesi-comment-image-link {
    display: inline-block;
    margin-bottom: 6px;
}

.m-gesi-comment-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 220px;
    border: 1px solid #d8e0e8;
    border-radius: 6px;
    background: #fff;
}

.m-gesi-comment-file-link {
    display: inline-block;
    margin-bottom: 6px;
    color: #0066cc;
    font-size: 12px;
    text-decoration: underline;
}

.m-gesi-comment-text {
    color: #243041;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
}

.m-gesi-comment-meta {
    margin-top: 4px;
    color: #778394;
    font-size: 11px;
}

.m-gesi-comment-body .m-gesi-comment-image-link,
.m-gesi-comment-body .m-gesi-comment-file-link,
.m-gesi-comment-body .m-gesi-comment-text,
.m-gesi-comment-body .m-gesi-comment-meta {
    display: block;
}

.m-gesi-comment-empty {
    color: #6e7a89;
    font-size: 12px;
    line-height: 1.45;
    padding: 6px 0;
}

/* write: m_gesi_write */
.m-gesi-write-section {
    padding: 12px 10px var(--spacing-lg);
}

.m-gesi-write-title-wrap {
    margin-bottom: 10px;
}

.m-gesi-write-title {
    font-size: calc(var(--font-size-base) + 1px);
    font-weight: 700;
    color: var(--color-blue);
    line-height: 1.35;
}

.m-gesi-write-desc {
    margin-top: 4px;
    color: var(--color-dark-gray);
    font-size: 12px;
    line-height: 1.4;
}

.m-gesi-write-error-box {
    margin-bottom: 10px;
    border: 1px solid #f0b6b6;
    border-radius: 6px;
    background: #fff4f4;
    padding: 10px 12px;
}

.m-gesi-write-error-box p {
    margin: 0;
    color: #a73030;
    font-size: 12px;
    line-height: 1.5;
}

.m-gesi-write-error-box p + p {
    margin-top: 6px;
}

.m-gesi-write-form {
    border: 1px solid #d8e0e8;
    border-radius: 8px;
    background: #fff;
    padding: 14px 12px;
}

.m-gesi-write-field + .m-gesi-write-field {
    margin-top: 12px;
}

.m-gesi-write-field label {
    display: block;
    margin-bottom: 6px;
    color: #333;
    font-size: 12px;
    font-weight: 600;
}

.m-gesi-write-field input,
.m-gesi-write-field textarea {
    width: 100%;
    border: 1px solid #d1d9e2;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 13px;
    box-sizing: border-box;
}

.m-gesi-write-field input {
    height: 36px;
    padding: 0 10px;
}

.m-gesi-write-field input[type="file"] {
    height: auto;
    padding: 6px 0;
    border: none;
    border-radius: 0;
}

.m-gesi-write-field textarea {
    min-height: 260px;
    padding: 10px;
    line-height: 1.55;
    resize: vertical;
}

.m-gesi-write-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.m-gesi-write-btn {
    min-width: 72px;
    height: 34px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 600;
    line-height: 32px;
    text-align: center;
    box-sizing: border-box;
    text-decoration: none;
}

.m-gesi-write-btn-ghost {
    border-color: #d1d9e2;
    background: #fff;
    color: #333;
}

.m-gesi-write-btn-primary {
    border-color: #0066cc;
    background: #0066cc;
    color: #fff;
    cursor: pointer;
}

.m-gesi-write-btn-danger {
    border-color: #4f5863;
    background: #4f5863;
    color: #fff;
    cursor: pointer;
}

.m-gesi-write-btn:active {
    opacity: 0.88;
}

.m-gesi-delete-layer[hidden] {
    display: none !important;
}

.m-gesi-delete-layer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(12, 15, 20, 0.56);
}

.m-gesi-delete-dialog {
    width: min(360px, 100%);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
    padding: 18px 16px 14px;
}

.m-gesi-delete-title {
    margin: 0;
    color: #1f2730;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.m-gesi-delete-desc {
    margin: 8px 0 0;
    color: #5d6875;
    font-size: 13px;
    line-height: 1.45;
}

.m-gesi-delete-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.m-gesi-delete-btn {
    min-width: 68px;
    height: 34px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.m-gesi-delete-btn-ghost {
    border-color: #cfd7df;
    background: #fff;
    color: #33404d;
}

.m-gesi-delete-btn-danger {
    border-color: #4f5863;
    background: #4f5863;
    color: #fff;
}

@media (min-width: 600px) and (max-width: 1400px) {
    .m-gesi-view-section {
        padding: 14px 14px var(--spacing-lg);
    }

    .m-gesi-view-subject {
        font-size: 16px;
    }

    .m-gesi-view-content {
        font-size: 14px;
    }

    .m-gesi-write-section {
        padding: 14px 14px var(--spacing-lg);
    }

    .m-gesi-write-form {
        padding: 16px 14px;
    }
}

/* detail: m_gesi_view (typea-like) */
.m-gesi-view-like-section {
    padding: 22px 14px 56px;
    background: #fff;
}

.m-gesi-typea-wrap {
    max-width: 1120px;
    margin: 0 auto;
}

.m-gesi-typea-title-area {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #edf0f4;
    padding: 2px 10px 18px;
}

.m-gesi-typea-title {
    margin: 0;
    color: #101417;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.m-gesi-typea-title-img {
    display: block;
    width: min(280px, 34vw);
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.m-gesi-typea-content-wrap {
    max-width: 980px;
    margin: 28px auto 0;
}

.m-gesi-main-card {
    border: 1px solid #eceff3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.m-gesi-main-card-head {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #eceff3;
}

.m-gesi-main-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.m-gesi-main-subject {
    margin: 0;
    color: #222930;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    word-break: break-word;
}

.m-gesi-main-top-btns {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.m-gesi-top-btn {
    min-width: 72px;
    height: 34px;
    padding: 0 14px;
    border: 0.5px solid #111;
    border-radius: 4px;
    background: #fff;
    color: #111;
    font-size: 14px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
}

.m-gesi-top-btn-list {
    background: #6b7279;
    color: #fff;
}

.m-gesi-main-meta {
    margin-top: 14px;
    color: #666e76;
    font-size: 14px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.m-gesi-main-attach-wrap {
    padding: 16px 24px;
    border-bottom: 1px solid #eceff3;
    background: #f8fafc;
}

.m-gesi-main-attach-link {
    color: #0066cc;
    text-decoration: underline;
    font-size: 14px;
}

.m-gesi-main-attach-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 400px;
    margin-top: 10px;
    border: 1px solid #dbe1e8;
    border-radius: 6px;
    background: #fff;
}

.m-gesi-main-body {
    padding: 24px;
    color: #2a3139;
    font-size: 15px;
    line-height: 1.85;
    word-break: break-word;
}

.m-gesi-main-body p,
.m-gesi-main-body ul,
.m-gesi-main-body ol,
.m-gesi-main-body blockquote,
.m-gesi-main-body pre {
    margin: 0 0 14px;
}

.m-gesi-main-body :last-child {
    margin-bottom: 0;
}

.m-gesi-main-body a {
    color: #0066cc;
    text-decoration: underline;
}

.m-gesi-main-body img {
    max-width: 100%;
    height: auto;
}

.m-gesi-image-viewer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(12, 18, 28, 0.86);
    cursor: zoom-out;
}

.m-gesi-image-viewer[hidden] {
    display: none !important;
}

.m-gesi-image-viewer-img {
    display: block;
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
    background: #fff;
    cursor: default;
    touch-action: none;
    transform-origin: center center;
}

.m-gesi-prev-next-card {
    margin-top: 16px;
    border: 1px solid #eceff3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.m-gesi-prev-next-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
}

.m-gesi-prev-next-row + .m-gesi-prev-next-row {
    border-top: 1px solid #eceff3;
}

.m-gesi-prev-next-label {
    color: #666e76;
    font-size: 14px;
    white-space: nowrap;
}

.m-gesi-prev-next-link {
    color: #222930;
    font-size: 15px;
    text-decoration: none;
    word-break: break-word;
}

.m-gesi-prev-next-link:hover,
.m-gesi-prev-next-link:focus-visible {
    text-decoration: underline;
}

.m-gesi-prev-next-empty {
    padding: 16px 24px;
    color: #7f8893;
    font-size: 14px;
}

.m-gesi-bottom-btns {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.m-gesi-bottom-btn {
    min-width: 72px;
    height: 34px;
    padding: 0 14px;
    border: 0.5px solid #111;
    border-radius: 4px;
    background: #fff;
    color: #111;
    font-size: 14px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
}

.m-gesi-bottom-btn-list {
    background: #6b7279;
    color: #fff;
}

.m-gesi-comment-block {
    margin-top: 34px;
    border-top: 2px solid #202832;
    padding-top: 14px;
}

.m-gesi-comment-block-title {
    margin: 0 0 12px;
    color: #151c23;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
}

.m-gesi-comment-block .m-gesi-comment-list-wrap {
    margin-top: 0;
}

.m-gesi-comment-block .m-gesi-comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.m-gesi-comment-block .m-gesi-comment-item {
    border-top: 1px solid #e4e8ed;
    padding: 12px 6px;
}

.m-gesi-comment-block .m-gesi-comment-head {
    margin-bottom: 4px;
    text-align: right;
}

.m-gesi-comment-block .m-gesi-comment-delete {
    border: none;
    background: transparent;
    color: #515b67;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
}

.m-gesi-comment-block .m-gesi-comment-body {
    margin-left: 0;
    padding-left: 0;
}

.m-gesi-comment-block .m-gesi-comment-image {
    max-height: 220px;
    border-radius: 4px;
}

.m-gesi-comment-block .m-gesi-comment-file-link {
    font-size: 13px;
}

.m-gesi-comment-block .m-gesi-comment-text {
    color: #11161b;
    font-size: 14px;
    line-height: 1.6;
}

.m-gesi-comment-block .m-gesi-comment-meta {
    margin-top: 5px;
    color: #929ba6;
    font-size: 12px;
}

.m-gesi-comment-block .m-gesi-comment-empty {
    color: #687381;
    font-size: 14px;
    padding: 10px 0;
}

.m-gesi-opinion-layer[hidden] {
    display: none !important;
}

.m-gesi-opinion-layer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 5vh 12px 20px;
    background: rgba(15, 18, 22, 0.56);
}

.m-gesi-opinion-dialog {
    width: min(920px, 100%);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.m-gesi-opinion-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid #e8edf2;
    background: #f5f7f9;
}

.m-gesi-opinion-head strong {
    color: #222930;
    font-size: 16px;
    font-weight: 700;
}

.m-gesi-opinion-close {
    min-width: 58px;
    height: 30px;
    border: 1px solid #cfd7df;
    border-radius: 4px;
    background: #fff;
    color: #33404d;
    font-size: 13px;
    cursor: pointer;
}

.m-gesi-opinion-body {
    padding: 16px;
}

.m-gesi-opinion-origin {
    margin-bottom: 12px;
    border: 1px solid #e8edf2;
    border-radius: 6px;
    background: #f8fafc;
    padding: 10px 12px;
}

.m-gesi-opinion-origin strong {
    display: block;
    margin-bottom: 5px;
    color: #475260;
    font-size: 13px;
}

.m-gesi-opinion-origin div {
    color: #1f2730;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.m-gesi-opinion-field + .m-gesi-opinion-field {
    margin-top: 10px;
}

.m-gesi-opinion-field label {
    display: block;
    margin-bottom: 6px;
    color: #28313a;
    font-size: 13px;
    font-weight: 600;
}

.m-gesi-opinion-field textarea {
    width: 100%;
    min-height: 190px;
    border: 1px solid #cfd7df;
    border-radius: 5px;
    padding: 10px 12px;
    color: #1f2730;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    box-sizing: border-box;
}

.m-gesi-opinion-field input[type="file"] {
    display: block;
    width: 100%;
    border: 1px solid #e2e8ee;
    border-radius: 5px;
    background: #fff;
    padding: 7px 10px;
    color: #2a3139;
    font-size: 13px;
    box-sizing: border-box;
}

.m-gesi-opinion-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.m-gesi-opinion-cancel,
.m-gesi-opinion-submit {
    min-width: 74px;
    height: 34px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.m-gesi-opinion-cancel {
    border-color: #5f6872;
    background: #5f6872;
    color: #fff;
}

.m-gesi-opinion-submit {
    border-color: #17a2b8;
    background: #17a2b8;
    color: #fff;
}

@media (max-width: 980px) {
    .m-gesi-view-like-section {
        padding: 18px 10px 40px;
    }

    .m-gesi-typea-title-area {
        padding: 2px 6px 14px;
    }

    .m-gesi-typea-title {
        font-size: 34px;
    }

    .m-gesi-typea-title-img {
        width: min(220px, 44vw);
    }

    .m-gesi-typea-content-wrap {
        margin-top: 18px;
    }

    .m-gesi-main-card-head,
    .m-gesi-main-body,
    .m-gesi-prev-next-row,
    .m-gesi-prev-next-empty,
    .m-gesi-main-attach-wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .m-gesi-main-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .m-gesi-main-top-btns {
        width: 100%;
    }

    .m-gesi-top-btn {
        flex: 0 0 auto;
    }

    .m-gesi-main-subject {
        font-size: 28px;
    }

    .m-gesi-comment-block-title {
        font-size: 22px;
    }
}

@media (max-width: 640px) {
    .m-gesi-typea-title {
        font-size: 28px;
    }

    .m-gesi-typea-title-img {
        width: min(174px, 48vw);
    }

    .m-gesi-main-card-head {
        padding-top: 16px;
        padding-bottom: 12px;
    }

    .m-gesi-main-meta {
        font-size: 12px;
        gap: 4px 10px;
    }

    .m-gesi-main-subject {
        font-size: 22px;
    }

    .m-gesi-main-body {
        font-size: 14px;
        line-height: 1.72;
    }

    .m-gesi-prev-next-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .m-gesi-prev-next-link {
        font-size: 14px;
    }

    .m-gesi-bottom-btns {
        margin-top: 24px;
    }

    .m-gesi-top-btn,
    .m-gesi-bottom-btn,
    .m-gesi-opinion-cancel,
    .m-gesi-opinion-submit,
    .m-gesi-delete-btn {
        height: 32px;
        font-size: 13px;
        line-height: 30px;
    }

    .m-gesi-comment-block {
        margin-top: 26px;
    }

    .m-gesi-comment-block-title {
        font-size: 20px;
    }

    .m-gesi-opinion-layer {
        padding-top: 24px;
    }
}
