/* ============================================================
   ONYA Magazine Style - main.css
   Fox-inspired magazine theme: black/white + #db4a37 accent
   Fonts: Oswald (heading), Merriweather (body/nav)
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Merriweather:ital,wght@0,300;0,400;0,700;1,400&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Merriweather', serif;
    --font-nav: 'Merriweather', serif;
    --accent-color: #db4a37;
    --border-color: #000000;
    --content-width: 1230px;
    --narrow-width: 720px;
    --sidebar-spacing: 32px;
    --button-border-radius: 0px;
    --button-height: 48px;
    --input-background: #E0E0E0;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* Global fallback: any anchor not otherwise styled gets color change on hover */
a:not([class]):hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: #000000;
}

p {
    margin: 0 0 1em;
}

figure {
    margin: 0;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

/* ── Focus Visibility ─────────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ── Layout Containers ────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.container--narrow {
    max-width: var(--narrow-width);
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Column helpers */
.col-1-4  { width: 25%; }
.col-1-3  { width: 33.3333%; }
.col-1-2  { width: 50%; }
.col-2-3  { width: 66.6666%; }
.col-3-4  { width: 75%; }
.col-1-1  { width: 100%; }

/* ── Outer Wrapper ────────────────────────────────────────── */
#wi-all {
    position: relative;
}

/* ─────────────────────────────────────────────────────────────
   HEADER
───────────────────────────────────────────────────────────── */

/* Desktop Header - Masthead */
.masthead {
    position: relative;
    z-index: 100;
    background: #ffffff;
}

.masthead--sticky .masthead__wrapper.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #ffffff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid #000;
}

/* Topbar */
.topbar56 {
    border-bottom: 1px solid #000;
}

.topbar56 .container .row {
    height: 40px;
    justify-content: space-between;
    align-items: center;
}

.topbar56__part--left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar56__part--right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.topbar56__date {
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
}

/* Dark mode toggle placeholder (hidden) */
.lamp56 { display: none; }

/* Main Header (Logo area) */
.main_header56 .container {
    padding-top: 14px;
    padding-bottom: 14px;
}

.main_header56 .container .row {
    align-items: center;
}

.header56__search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    color: #000;
    display: flex;
    align-items: center;
}

.header56__search-btn:hover { color: var(--accent-color); }

.logo56 {
    text-align: center;
}

.logo56 a {
    display: inline-block;
}

.logo56 img {
    max-height: 60px;
    width: auto;
    display: inline-block;
}

.header56__social-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.header56__social-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    font-size: 14px;
    border-radius: 50%;
    border: 2px solid #000;
    color: #000;
    transition: background 0.2s, color 0.2s;
}

.header56__social-list a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Nav Bar (header_bottom56) */
.header_bottom56 {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.header_bottom56 .container .row {
    height: 40px;
    justify-content: center;
}

/* Main Navigation */
.mainnav {
    display: flex;
    align-items: center;
}

.mainnav ul.menu {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.mainnav ul.menu > li > a {
    display: block;
    padding: 0 12px;
    font-family: var(--font-nav);
    font-size: 16px;
    text-transform: uppercase;
    color: #000;
    line-height: 40px;
    position: relative;
    transition: color 0.2s;
}

.mainnav ul.menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: calc((100% - 70%) / 2);
    width: 70%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.2s;
}

.mainnav ul.menu > li > a:hover::after,
.mainnav ul.menu > li.current-menu-item > a::after {
    transform: scaleX(1);
}

.mainnav ul.menu > li > a:hover,
.mainnav ul.menu > li.current-menu-item > a {
    color: #000;
}

/* Hamburger */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    padding: 0;
}

.hamburger:hover { color: var(--accent-color); }

/* Mobile Header */
.header_mobile56 {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid #000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
}

.header_mobile56 .container .row {
    height: 54px;
    align-items: center;
    justify-content: space-between;
}

.header_mobile56__height {
    display: none;
    height: 54px;
}

.header_mobile56 .logo56 img {
    height: 24px;
    width: auto;
}

/* ─────────────────────────────────────────────────────────────
   OFFCANVAS MOBILE NAV
───────────────────────────────────────────────────────────── */
.offcanvas56 {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: #ffffff;
    z-index: 1000;
    overflow-y: auto;
    transition: left 0.3s ease;
    padding: 16px 12px;
    border-right: 1px solid #000;
}

.offcanvas56.is-open {
    left: 0;
}

.offcanvas56__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.offcanvas56__overlay.is-open {
    display: block;
}

.offcanvas56__close {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.offcanvas56__close button {
    font-size: 22px;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.offcanvasnav56 {
    font-family: var(--font-nav);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.offcanvasnav56 li {
    border-top: 1px solid #000;
}

.offcanvasnav56 li:first-child {
    border-top: none;
}

.offcanvasnav56 a {
    display: block;
    padding: 0;
    line-height: 36px;
    color: #000;
}

.offcanvasnav56 a:hover,
.offcanvasnav56 li.active > a {
    color: #000;
    background-color: #f0f0f0;
    padding-left: 8px;
}

/* ─────────────────────────────────────────────────────────────
   MAIN CONTENT AREA
───────────────────────────────────────────────────────────── */
#wi-main {
    padding-top: 20px;
    padding-bottom: 30px;
}

/* ─────────────────────────────────────────────────────────────
   BREADCRUMB
───────────────────────────────────────────────────────────── */
.breadcrumb56 {
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 16px;
}

.breadcrumb56 nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.breadcrumb56 a {
    color: #666;
}

.breadcrumb56 a:hover { color: var(--accent-color); }

.breadcrumb56__sep {
    color: #999;
}

.breadcrumb56__current {
    color: #000;
    font-weight: 700;
}

/* ─────────────────────────────────────────────────────────────
   SECTION HEADINGS (Category section titles)
───────────────────────────────────────────────────────────── */
.section56__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 2px solid #000;
    padding-top: 8px;
    margin-bottom: 20px;
}

.section56__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #000;
}

.section56__viewall {
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    white-space: nowrap;
}

.section56__viewall:hover { color: var(--accent-color); }

.builder56 {
    padding-top: 20px;
    padding-bottom: 30px;
}

.builder56__section + .builder56__section {
    margin-top: 40px;
}

/* ─────────────────────────────────────────────────────────────
   POST CARDS (blog56 grid/list)
───────────────────────────────────────────────────────────── */
.blog56--grid {
    display: grid;
    column-gap: 20px;
    row-gap: 40px;
}

.blog56--grid--4cols { grid-template-columns: repeat(4, 1fr); }
.blog56--grid--3cols { grid-template-columns: repeat(3, 1fr); }
.blog56--grid--5cols { grid-template-columns: repeat(5, 1fr); }
.blog56--grid--2cols { grid-template-columns: repeat(2, 1fr); }
.blog56--grid--1col  { grid-template-columns: 1fr; }

.post56 {
    border-radius: 0;
    position: relative;
}

/* Thumbnail */
.thumbnail56 {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.thumbnail56__link {
    display: block;
}

.thumbnail56__img-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
}

.thumbnail56__img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.thumbnail56__link:hover .thumbnail56__img-wrap img {
    transform: scale(1.04);
}

/* Category fancy label */
.meta56__category--fancy {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta56__category--fancy a {
    color: #000;
}

.meta56__category--fancy a:hover {
    color: var(--accent-color);
}

/* Post title */
.title56 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.title56 a {
    color: #000;
}

.title56 a:hover {
    text-decoration: underline;
    color: #000;
}

/* Excerpt */
.excerpt56 {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Meta (date/author/category) */
.meta56 {
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.meta56__item {
    display: inline;
}

.meta56__item + .meta56__item::before {
    content: ' · ';
    color: #999;
}

.meta56__item a {
    color: #666;
}

.meta56__item a:hover { color: var(--accent-color); }

/* Post separator */
.post56__sep__line {
    border-top: 1px solid #000;
    margin-top: 20px;
}

/* Component spacing */
.component56 + .component56 {
    margin-top: 8px;
}

/* Post text area */
.post56__text {
    padding: 0;
}

/* ─────────────────────────────────────────────────────────────
   HOMEPAGE - Editorial Group (top section)
───────────────────────────────────────────────────────────── */
.row56--group {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    column-gap: 40px;
    align-items: stretch; /* stretch all three columns to the same height */
}

.row56__col--left,
.row56__col--right {
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden; /* prevent content from spilling beyond fixed column height */
}

.row56__col--left .blog56--list-sidebar,
.row56__col--right .blog56--list-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.row56__col--center {
    display: flex;
    flex-direction: column;
    overflow: hidden; /* prevent content from spilling beyond fixed column height */
}

.row56__col--center .post56--featured {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1; /* fill the full height of the center column */
    overflow: hidden;
}

.row56__col--center .post56--featured .post56__text {
    flex: 0 0 auto;
}

/* Push separator line to the bottom of the center column, eliminating bottom whitespace */
.row56__col--center .post56--featured .post56__sep__line {
    margin-top: auto;
}

/* Center featured: image fills remaining flex height, no fixed aspect ratio */
.row56__col--center .post56--featured .thumbnail56 {
    flex: 1;
    min-height: 0;
    margin-bottom: 0;
}

.row56__col--center .post56--featured .thumbnail56__link {
    display: block;
    height: 100%;
}

.row56__col--center .post56--featured .thumbnail56__img-wrap {
    height: 100%;
    padding-bottom: 0;
}

.post56--featured .title56 {
    font-size: 32px;
    margin-top: 10px;
}

/* Sidebar-style list posts */
.blog56--list-sidebar .post56 {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
    border-bottom: 1px solid #000;
}

.blog56--list-sidebar .post56:last-child {
    border-bottom: none;
}

.blog56--list-sidebar .thumbnail56__img-wrap {
    padding-bottom: 60%;
    margin-bottom: 8px;
}

.blog56--list-sidebar .title56 {
    font-size: 15px;
}

.blog56--list-sidebar .excerpt56 {
    font-size: 13px;
}

/* Vertical separator between group columns */
.row56__sep {
    border-right: 1px solid #000;
}

/* ─────────────────────────────────────────────────────────────
   HOMEPAGE - H1
───────────────────────────────────────────────────────────── */
.home56__h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────────
   TITLEBAR (category page header)
───────────────────────────────────────────────────────────── */
.titlebar56 {
    text-align: center;
    padding: 20px 0 24px;
    border-bottom: 1px solid #000;
    margin-bottom: 32px;
}

.titlebar56__browse {
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 8px;
}

.titlebar56__title {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
    color: #000;
}

/* ─────────────────────────────────────────────────────────────
   PAGINATION
───────────────────────────────────────────────────────────── */
.pagination56 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 40px;
    padding-bottom: 10px;
}

.pagination56 .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 2px solid #000;
    border-radius: 0;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.pagination56 .page-numbers:hover,
.pagination56 .page-numbers.current {
    background: #000;
    color: #ffffff;
}

.pagination56 .page-numbers.dots {
    border: none;
    cursor: default;
    pointer-events: none;
}

.pagination56 .page-numbers.dots:hover {
    background: none;
    color: #000;
}

/* ─────────────────────────────────────────────────────────────
   SINGLE ARTICLE (blog-detail)
───────────────────────────────────────────────────────────── */
.single56 {
    padding-bottom: 40px;
}

.single56__outer {
    margin-bottom: 0;
}

.single56__header {
    text-align: center;
    padding: 24px 0 20px;
    max-width: 800px;
    margin: 0 auto;
}

.single56__header .meta56 {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.single56__title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    /* text-transform: uppercase; */
    letter-spacing: -2px;
    line-height: 1.05;
    color: #000;
    margin-bottom: 20px;
}

/* Thumbnail full width */
.single56__thumbnail {
    width: 100%;
    margin-bottom: 32px;
}

.single56__thumbnail img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

/* Body / content area */
.single56__body {
    max-width: var(--narrow-width);
    margin: 0 auto;
}

.single56__content {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.75;
    color: #111;
}

.single56__content p {
    margin-bottom: 1.4em;
}

.single56__content h2 {
    font-size: 28px;
    margin: 1.8em 0 0.6em;
    /* text-transform: uppercase; */
}

.single56__content h3 {
    font-size: 22px;
    margin: 1.5em 0 0.5em;
    /* text-transform: uppercase; */
}

.single56__content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.single56__content a:hover {
    text-decoration: none;
}

.single56__content img {
    max-width: 100%;
    height: auto;
    margin: 1.5em auto;
}

.single56__content strong {
    font-weight: 700;
}

.single56__content blockquote {
    border-left: 4px solid #000;
    padding-left: 20px;
    margin: 1.5em 0;
    font-style: italic;
    color: #444;
}

/* Article meta info below H1 */
.single56__meta-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    flex-wrap: wrap;
}

.single56__meta-row a {
    color: #666;
}

.single56__meta-row a:hover { color: var(--accent-color); }

/* Filed under */
.terms56 {
    max-width: var(--narrow-width);
    margin: 24px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.terms56__label {
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

.terms56 a {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 24px;
    border: 1px solid #000;
    padding: 0 8px;
    color: #111;
    background: #fff;
    transition: background 0.2s, color 0.2s;
}

.terms56 a:hover {
    color: #fff;
    background: #000;
    border-color: #000;
}

/* Author box */
.authorbox56 {
    max-width: var(--narrow-width);
    margin: 32px auto 0;
    padding-top: 16px;
    border-top: 1px solid #000;
}

.authorbox56__name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.authorbox56__name a {
    color: #000;
}

.authorbox56__name a:hover { color: var(--accent-color); }

/* ─────────────────────────────────────────────────────────────
   FAQ SECTION
───────────────────────────────────────────────────────────── */
.faq56 {
    max-width: var(--narrow-width);
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 2px solid #000;
}

.faq56__title {
    font-family: var(--font-heading);
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.faq56__item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ddd;
}

.faq56__item:last-child {
    border-bottom: none;
}

.faq56__question {
    font-family: var(--font-heading);
    font-size: 20px;
    /* text-transform: uppercase; */
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.faq56__answer {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: #333;
}

/* ─────────────────────────────────────────────────────────────
   RELATED / LATEST FROM BLOG SECTION
───────────────────────────────────────────────────────────── */
.single56__heading {
    font-family: var(--font-heading);
    font-weight: 300;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    padding-top: 32px;
    padding-bottom: 16px;
    border-top: 1px solid #000;
    margin-top: 40px;
}

.single56__heading span {
    display: inline-block;
    border-top: none;
}

/* ─────────────────────────────────────────────────────────────
   STATIC PAGE (page.blade.php)
───────────────────────────────────────────────────────────── */
.page56 {
    max-width: 860px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.page56__header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #000;
}

.page56__title {
    font-family: var(--font-heading);
    font-size: 48px;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.page56__content {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: #111;
}

.page56__content h2 {
    font-size: 26px;
    text-transform: uppercase;
    margin: 1.6em 0 0.5em;
    border-bottom: 1px solid #000;
    padding-bottom: 8px;
}

.page56__content p {
    margin-bottom: 1.2em;
}

.page56__content a {
    color: var(--accent-color);
    text-decoration: underline;
}

.page56__content a:hover { text-decoration: none; }

/* ─────────────────────────────────────────────────────────────
   404 PAGE
───────────────────────────────────────────────────────────── */
.page404 {
    text-align: center;
    padding: 60px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.page404__code {
    font-family: var(--font-heading);
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    letter-spacing: -5px;
}

.page404__title {
    font-family: var(--font-heading);
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.page404__desc {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 12px;
}

.page404__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--button-height);
    padding: 0 28px;
    background: #000;
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #000;
    margin-top: 24px;
    transition: background 0.2s, color 0.2s;
}

.page404__btn:hover {
    background: #fff;
    color: #000;
}

.page404__btn:active {
    background: #222;
    color: #fff;
    border-color: #222;
}

.page404__categories {
    margin-top: 48px;
    text-align: left;
}

.page404__categories-title {
    font-family: var(--font-heading);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #000;
    color: #fff;
    padding: 4px 0;
    text-align: center;
    margin-bottom: 16px;
}

.page404__categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.page404__categories-list a {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid #000;
    padding: 4px 12px;
    color: #000;
    transition: background 0.2s, color 0.2s;
}

.page404__categories-list a:hover {
    background: #000;
    color: #fff;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #000;
    margin-top: 40px;
}

/* Footer Sidebar (4 col) */
.footer_sidebar56 {
    padding: 32px 0 24px;
    border-bottom: 1px solid #000;
}

.footer_sidebar56 .row {
    align-items: flex-start;
    gap: 0;
}

.footer56__col {
    padding-left: 20px;
    padding-right: 20px;
}

.footer56__col:not(:last-child) {
    border-right: 1px solid #e0e0e0;
}

.footer56__col__inner {
    padding: 0 0 16px;
}

/* Widget title (black bg, white text) */
.widget-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 4px 0;
    margin-bottom: 12px;
}

/* Recent posts widget */
.widget-recent-posts ol {
    list-style: decimal;
    padding-left: 20px;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.5;
}

.widget-recent-posts li {
    padding: 6px 0;
    border-bottom: 1px dotted #ddd;
}

.widget-recent-posts li:last-child { border-bottom: none; }

.widget-recent-posts a {
    color: #000;
}

.widget-recent-posts a:hover { color: var(--accent-color); }

/* Categories widget */
.widget-categories ul {
    font-family: var(--font-body);
    font-size: 13px;
}

.widget-categories li {
    padding: 5px 0;
    border-bottom: 1px dotted #ddd;
}

.widget-categories li:last-child { border-bottom: none; }

.widget-categories a {
    color: #000;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.widget-categories a:hover { color: var(--accent-color); }

/* Nav widget (supports) */
.widget-nav ul {
    font-family: var(--font-body);
    font-size: 13px;
}

.widget-nav li {
    padding: 5px 0;
    border-bottom: 1px dotted #ddd;
}

.widget-nav li:last-child { border-bottom: none; }

.widget-nav a {
    color: #000;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.widget-nav a:hover { color: var(--accent-color); }

/* Footer Bottom */
.footer_bottom56 {
    text-align: center;
    padding: 24px 20px;
}

.footer56__logo {
    margin-bottom: 12px;
}

.footer56__logo img {
    max-height: 40px;
    width: auto;
    display: inline-block;
}

.footer56__copyright {
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 8px;
}

.footer56__nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.footer56__nav a {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
}

.footer56__nav a:hover { color: var(--accent-color); }

/* ─────────────────────────────────────────────────────────────
   SCROLL TO TOP
───────────────────────────────────────────────────────────── */
.scrollup56 {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, background 0.2s, color 0.2s;
    border-radius: 0;
    text-decoration: none;
}

.scrollup56.visible {
    opacity: 1;
    pointer-events: auto;
}

.scrollup56:hover {
    background: #000;
    color: #fff;
}

/* ─────────────────────────────────────────────────────────────
   READ MORE BUTTON
───────────────────────────────────────────────────────────── */
.btn56 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    margin-top: 8px;
}

.btn56:hover {
    background: #000;
    color: #fff;
}

.btn56:active {
    background: #333;
    color: #fff;
}

.btn56:disabled,
.btn56[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .blog56--grid--4cols { grid-template-columns: repeat(2, 1fr); }
    .blog56--grid--5cols { grid-template-columns: repeat(3, 1fr); }
    .blog56--grid--3cols { grid-template-columns: repeat(2, 1fr); }

    .row56--group {
        grid-template-columns: 1fr 2fr;
        column-gap: 24px;
    }

    .row56__col--right {
        display: none;
    }

    .titlebar56__title {
        font-size: 42px;
    }

    .single56__title {
        font-size: 40px;
    }

    .col-1-4 { width: 50%; }
}

@media (max-width: 768px) {
    .masthead { display: none; }
    .header_mobile56 { display: flex; }
    .header_mobile56__height { display: block; }

    .blog56--grid--4cols { grid-template-columns: repeat(2, 1fr); }
    .blog56--grid--5cols { grid-template-columns: repeat(2, 1fr); }
    .blog56--grid--3cols { grid-template-columns: 1fr; }
    .blog56--grid--2cols { grid-template-columns: 1fr; }

    .row56--group {
        display: block;
    }

    .row56__col--left,
    .row56__col--right {
        display: none;
    }

    .row56__col--center {
        margin-bottom: 0;
    }

    .titlebar56__title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .single56__title {
        font-size: 30px;
        letter-spacing: -1px;
    }

    .section56__title {
        font-size: 1.6rem;
    }

    .footer_sidebar56 .row {
        flex-direction: column;
    }

    .footer56__col {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .col-1-4,
    .col-1-3,
    .col-2-3 { width: 100%; }

    .page404__code { font-size: 80px; }
    .page404__title { font-size: 28px; }
}

@media (max-width: 480px) {
    .blog56--grid--4cols,
    .blog56--grid--5cols { grid-template-columns: 1fr; }

    .mainnav { display: none; }
}
/* 详情页table */
table{
    border-collapse: collapse;
}
table thead th{
    background-color: #e8e8e8;
    word-break: break-all;
    padding:5px 10px;
    border: 1px solid #bfbfbf;
}
table tbody td{
    border:1px solid #ccc;
    /* word-break: break-all; */
    padding:5px 10px;
}