.sample-main {
    padding-top: 10px;
}

.sample-section {
    margin-bottom: 38px;
}

.sample-banner-box {
    padding: 18px 0;
}

.sample-rotating-stage {
    min-height: 210px;
    border: 1px solid #e5e7eb;
    background:
        radial-gradient(circle at top right, rgba(255, 240, 180, 0.65), transparent 36%),
        linear-gradient(180deg, #fffef7 0%, #fff8dd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sample-rotating-banner {
    display: block;
    cursor: pointer;
    transition: filter .2s ease, opacity .2s ease;
    max-width: 100%;
}

.sample-rotating-banner:hover {
    filter: brightness(1.04);
    opacity: .96;
}

.sample-rotating-banner img {
    display: block;
    max-width: 100%;
    max-height: 170px;
    width: auto;
    height: auto;
}

@media (max-width: 767px) {
    .sample-rotating-stage {
        min-height: 180px;
        padding: 14px;
    }

    .sample-rotating-banner img {
        max-height: 140px;
    }
}

.sample-latest-board {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 2px solid #222;
    background: #fff;
}

.sample-latest-board li {
    margin: 0;
    border-bottom: 1px solid #e5e5e5;
}

.sample-latest-board li a {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) 64px;
    gap: 16px;
    align-items: center;
    padding: 15px 0;
    text-decoration: none;
    color: #111;
}

.sample-latest-name {
    color: #444;
    font-size: 14px;
    white-space: nowrap;
    padding-left: 2px;
}

.sample-latest-subject {
    min-width: 0;
    display: block;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sample-latest-comment {
    color: #c2410c;
    font-size: 15px;
    font-weight: 700;
    margin-left: 4px;
}

.sample-latest-date {
    color: #777;
    font-size: 14px;
    text-align: right;
    white-space: nowrap;
    padding-right: 2px;
}

.sample-tabs {
    margin-top: 14px;
}

.sample-tab-nav,
.sample-side-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    border: 1px solid #e5e5e5;
    border-bottom: 0;
}

.sample-tab-nav button,
.sample-side-tabs button {
    border: 0;
    border-right: 1px solid #e5e5e5;
    background: #f7f7f7;
    color: #777;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 500;
}

.sample-tab-nav button:last-child,
.sample-side-tabs button:last-child {
    border-right: 0;
}

.sample-tab-nav button.is-active,
.sample-side-tabs button.is-active {
    background: #fff;
    color: #111;
}

.sample-tab-panel,
.sample-side-panel {
    display: none;
}

.sample-tab-panel.is-active,
.sample-side-panel.is-active {
    display: block;
}

.sample-popular-columns,
.sample-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.sample-popular-list,
.sample-side-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sample-popular-list li {
    padding: 7px 0;
}

.sample-popular-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #111;
    font-size: 15px;
    font-weight: 600;
}

.sample-rank {
    width: 24px;
    color: #111;
    font-size: 16px;
    font-weight: 700;
}

.sample-subject {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sample-comment {
    color: #f4511e;
    font-weight: 700;
}

.sample-board-block {
    margin-bottom: 24px;
}

.sample-board-block h5 {
    margin: 0 0 12px;
    color: #111;
    font-size: 16px;
    font-weight: 700;
}

.sample-board-block .lt {
    margin-bottom: 0;
}

.sample-board-block .lt ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Board content images: shrink to fit without distorting the original ratio */
.board-view .board-view-file-conts #bo_v_img img,
.board-view .board-view-con img,
.board-view .bo_v_con img,
.board-view .view-content img,
.board-view .tx-content-container img,
.board-view .se2_outputarea img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    image-rendering: auto;
}

.sample-board-block .lt li {
    padding: 6px 0;
    border-bottom: 0;
}

.sample-board-block .lt a {
    color: #111;
    text-decoration: none;
    font-size: 15px;
}

.sample-side {
    display: grid;
    gap: 28px;
}

.sample-side-box {
    border: 1px solid #e5e5e5;
    background: #fff;
    padding: 12px;
}

.sample-talk-box a {
    display: block;
    color: #111;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.sample-side-list li {
    border-top: 1px solid #f0f0f0;
}

.sample-side-list li:first-child {
    border-top: 0;
}

.sample-side-list a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    text-decoration: none;
    color: #111;
    font-size: 15px;
}

.sample-side-subject {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sample-side-meta {
    color: #999;
    font-size: 14px;
}

.sample-empty {
    margin: 0;
    padding: 20px 0;
    color: #888;
    text-align: center;
}

.sample-side .poll,
.sample-side #ol_before {
    margin-bottom: 0;
}

.board-view {
    font-size: 17px;
}

.board-view .board-view-con,
.board-view .board-view-con p,
.board-view .board-view-con span,
.board-view .board-view-con div,
.board-view .board-view-con li,
.board-view .board-view-con a {
    color: #000 !important;
}

@media (max-width: 991px) {
    .sample-latest-board li a {
        grid-template-columns: 100px minmax(0, 1fr) 52px;
        gap: 10px;
        padding: 12px 0;
    }

    .sample-latest-subject {
        font-size: 15px;
    }

    .sample-popular-columns,
    .sample-two-column {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.header-title .brand-title-logo {
    display: flex;
    align-items: center;
    min-width: 280px;
    text-decoration: none;
}

.header-title .brand-title-text {
    display: inline-block;
    font-size: 31px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    color: #8fb800;
    text-shadow: 2px 2px 5px rgba(110, 110, 110, 0.78);
    white-space: nowrap;
}

.header-title .header-title-btn .title-btn .title-btn-in {
    background: #b6e209;
    color: #1f2a10;
}

.header-title .header-title-btn .title-btn .title-btn-in .title-btn-text,
.header-title .header-title-btn .title-btn .title-btn-in i {
    color: #1f2a10;
}

.header-title .header-title-btn .title-btn .title-btn-in.title-btn-navy {
    background: #d4ee66;
}

.page-title-wrap {
    background: #6f9300;
}

.header-title .header-title-search .eyoom-form .input input {
    border-color: #8fb800;
}

.header-title .header-title-search .eyoom-form .input input:focus {
    border-color: #6f9300 !important;
    box-shadow: 0 0 0 0.08rem rgba(143, 184, 0, 0.18);
}

.header-title .header-title-search .eyoom-form .input-button .button {
    background-color: #6f9300;
}

.navbar-nav > li > .nav-link.active,
.navbar-nav > li > .nav-link:hover,
.navbar-nav .dropdown-menu li a.active,
.navbar-nav .dropdown-menu li a:hover,
.navbar-nav .dropdown-menu > ul > .mega-menu-col ul > li:hover > a,
.navbar-nav .dropdown-menu > ul > li:hover > a,
.sidebar-left .navbar-nav > li > .nav-link.active {
    color: #8fb800;
}

.headline-short h1:after,
.headline-short h2:after,
.headline-short h3:after,
.headline-short h4:after,
.headline-short h5:after,
.headline-short h6:after {
    background: #8fb800;
}

.ol-before #ol_submit,
.ol-before .btn-e-dark {
    background: #6f9300;
    border-color: #6f9300;
    color: #fff;
}

.ol-before #ol_submit:hover,
.ol-before .btn-e-dark:hover {
    background: #5f7f00;
    border-color: #5f7f00;
}

@media (max-width: 991px) {
    .header-title .brand-title-logo {
        min-width: auto;
    }

    .header-title .brand-title-text {
        font-size: 22px;
        letter-spacing: 0.05em;
    }
}
