:root {
    --bg: #ffffff;
    --text: #171717;
    --muted: #5f5f5f;
    --line: #e4e4e7;
    --accent: #0a66ff;
    --container: 1520px;
    --space-1: 0.35rem;
    --space-2: 0.6rem;
    --space-3: 0.85rem;
    --space-4: 1.2rem;
    --space-5: 1.8rem;
    --radius-card: 14px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
    line-height: 1.45;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid rgba(10, 102, 255, 0.45);
    outline-offset: 2px;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin-inline: auto;
}

@media (min-width: 1200px) {
    .container {
        width: min(var(--container), calc(100% - 10rem));
    }
}

.site-header {
    border-bottom: 1px solid #ececf0;
    position: sticky;
    top: 0;
    background: #4a4642;
    backdrop-filter: blur(10px);
    z-index: 30;
    transition: box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.site-header.scrolled {
    border-bottom-color: #5a5551;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    background: #4a4642;
}

.brand-row {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    gap: 0.5rem;
}

.brand-name {
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
}

.brand-logo {
    display: block;
    height: 34px;
    width: auto;
}

/*.site-header .brand-logo {*/
/*    filter: brightness(0) saturate(100%) invert(82%) sepia(18%) saturate(839%) hue-rotate(174deg) brightness(102%) contrast(96%);*/
/*}*/

.main-nav {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    align-items: center;
}

.menu-toggle {
    display: none;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.menu-toggle-icon {
    width: 16px;
    height: 2px;
    background: currentColor;
    position: relative;
    border-radius: 999px;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 16px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.menu-toggle-icon::before {
    top: -5px;
}

.menu-toggle-icon::after {
    top: 5px;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.94rem;
    color: #fff;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    border-radius: 999px;
    background: rgba(10, 102, 255, 0.8);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.search-icon-link {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    margin-left: 0.1rem;
    padding: 0;
    line-height: 0;
    flex: 0 0 30px;
    transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
    background: none;
}

.search-icon-link svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.pc-search {
    position: relative;
}

.search-icon-link:hover,
.search-icon-link.active {
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

main {
    padding-block: 1.25rem 3.2rem;
}

.section-title {
    margin: 1.6rem 0 1rem;
    font-size: 1.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.top-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: var(--space-2);
    margin-top: 0.55rem;
    align-items: stretch;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: #fff;
    box-shadow: 0 3px 14px rgba(16, 24, 40, 0.03);
    transition: box-shadow 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.panel:hover {
    border-color: #dde1ea;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.07);
}

.top-title {
    margin: 0;
    padding: 0.5rem 0.85rem 0.34rem;
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.05;
}

.top-feature {
    overflow: clip;
    max-width: 760px;
    width: 100%;
    justify-self: start;
}

.hero-media {
    width: 100%;
    margin: 0.2rem 0.8rem 0.8rem;
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    min-height: 420px;
    background: #ececec;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0));
    pointer-events: none;
}

.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.01);
    transition: opacity 420ms ease, transform 420ms ease;
    pointer-events: none;
}

.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.hero-media:hover .hero-slide.is-active {
    transform: scale(1.04);
}

.hero-tag {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    font-size: 0.82rem;
    padding: 3px 9px;
    border-radius: 4px;
    background: #d2e7c8;
    color: #1f3e12;
}

.hero-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    background: rgba(20, 20, 20, 0.45);
    font-size: 0;
    line-height: 0;
    transition: background-color 180ms ease, transform 180ms ease;
    cursor: pointer;
}

.hero-media:hover .hero-arrow {
    background: rgba(20, 20, 20, 0.62);
}

.hero-arrow:hover {
    transform: translateY(-50%) scale(1.06);
}

.hero-arrow::before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -52%);
    color: #fff;
    font-size: 24px;
    line-height: 1;
}

.hero-arrow-left::before {
    content: "\2039";
}

.hero-arrow-right::before {
    content: "\203A";
}

.hero-arrow-left {
    left: 10px;
}

.hero-arrow-right {
    right: 18px;
}

.hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    color: #fff;
    padding: 1rem 0.95rem 1.05rem;
    display: grid;
    gap: var(--space-1);
}

.hero-overlay strong {
    font-size: clamp(1.2rem, 1.5vw, 1.7rem);
    line-height: 1.22;
    letter-spacing: -0.01em;
    font-weight: 800;
}

.hero-overlay small {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.99rem;
    line-height: 1.4;
    max-width: 95%;
}

.hero-overlay em {
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
    font-size: 0.92rem;
    line-height: 1.3;
}

.hero-dots {
    position: absolute;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    bottom: 8px;
    display: flex;
    gap: 7px;
}

.hero-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease;
}

.hero-dots i.active {
    background: #fff;
    transform: scale(1.14);
}

.top-latest {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.latest-list {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    padding-top: 0.25rem;
    padding-bottom: 0;
}

.latest-item {
    padding: 0.85rem 0.85rem;
    display: grid;
    grid-template-columns: 102px minmax(0, 1fr);
    gap: var(--space-3);
    align-items: center;
    border-top: 1px solid #ededed;
    flex: 1;
    transition: background-color 180ms ease;
}

.latest-item:hover {
    background: #fafbff;
}

.latest-item:first-child {
    border-top: 0;
}

.latest-item img {
    width: 102px;
    height: 68px;
    border-radius: 4px;
    object-fit: cover;
    background: #ececec;
    transition: transform 320ms ease;
}

.latest-item:hover img {
    transform: scale(1.05);
}

.latest-item span {
    display: grid;
    gap: 0.2rem;
}

.latest-item .post-tag {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #b35a8b;
}

.latest-item strong {
    font-size: 1.08rem;
    line-height: 1.28;
    letter-spacing: -0.005em;
    font-weight: 700;
}

.latest-item .meta {
    font-size: 0.89rem;
}

.mini-feature-strip {
    margin-top: 1.9rem;
    margin-bottom: 1.35rem;
}

section[aria-label="Featured articles"] .cards {
    row-gap: 1.15rem;
}

.mini-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-2);
}

.mini-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 7.4;
    background: #ececec;
    border: 1px solid #e7e7eb;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.015);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.mini-card:hover {
    transform: translateY(-2px);
    border-color: #d9dde8;
    box-shadow: 0 12px 24px rgba(16, 24, 40, 0.1);
}

.mini-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0));
    pointer-events: none;
}

.mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-overlay {
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    z-index: 2;
    display: grid;
    gap: 0.24rem;
}

.mini-tag {
    display: inline-flex;
    width: fit-content;
    background: #f4dfe6;
    color: #3a2b31;
    font-size: 0.74rem;
    font-weight: 600;
    border-radius: 5px;
    padding: 0.12rem 0.45rem;
}

.mini-overlay strong {
    color: #fff;
    font-size: 0.94rem;
    line-height: 1.24;
    letter-spacing: -0.005em;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.cards {
    display: grid;
    gap: var(--space-2);
}

.cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.post-card {
    border: 1px solid #e7e7eb;
    border-radius: var(--radius-card);
    overflow: clip;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.015);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.post-card.is-card-link {
    cursor: pointer;
}

.post-card.is-card-link:focus-visible {
    outline: 2px solid rgba(10, 102, 255, 0.45);
    outline-offset: 2px;
}

.post-card:hover {
    transform: translateY(-3px);
    border-color: #d9dde8;
    box-shadow: 0 14px 28px rgba(16, 24, 40, 0.11);
}

.post-card.featured {
    grid-column: span 2;
}

.media-wrap {
    display: block;
    aspect-ratio: 16 / 10.3;
    background: #f1f1f1;
}

.media-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.005);
    transition: transform 360ms ease, filter 320ms ease, opacity 280ms ease;
}

.post-card:hover .media-wrap img,
.category-banner:hover img {
    transform: scale(1.045);
}

.post-content {
    padding: 0.8rem 0.85rem 0.88rem;
    display: grid;
    gap: 0.28rem;
}

.post-content-link {
    display: grid;
    gap: 0.28rem;
}

.post-tag {
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.post-content h3 {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.28;
    letter-spacing: -0.004em;
    font-weight: 700;
}

.post-content p {
    margin: 0;
    color: #3f3f3f;
}

.meta {
    color: var(--muted);
    font-size: 0.87rem;
}

.post-content .meta {
    margin-top: 0.18rem;
    color: #7b8496;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    font-weight: 600;
    text-transform: uppercase;
    font-style: italic;
}

.category-main {
    padding-top: 0.4rem;
}

.category-hero {
    margin-bottom: 0.8rem;
}

.category-banner-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2);
}

.category-banner-row > .category-banner {
    min-width: 0;
}

.category-banner-row .category-banner {
    aspect-ratio: auto;
    height: 410px;
    min-height: 0;
}

.category-banner {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 5;
    background: #ececec;
    border: 1px solid #e7e7eb;
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.category-banner:hover {
    transform: translateY(-2px);
    border-color: #d9dde8;
    box-shadow: 0 15px 30px rgba(16, 24, 40, 0.12);
}

.category-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.14) 40%, rgba(0, 0, 0, 0));
}

.category-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-banner-overlay {
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    z-index: 2;
    display: grid;
    gap: 0.2rem;
    color: #fff;
}

.category-banner-overlay strong {
    font-size: 2.15rem;
    line-height: 1.08;
    letter-spacing: -0.015em;
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.category-banner-overlay em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
}

.category-card .media-wrap {
    position: relative;
    aspect-ratio: 16 / 9.5;
}

.category-image-overlay {
    left: 0.6rem;
    right: auto;
    bottom: 0.5rem;
}

.category-card .post-content {
    gap: 0.28rem;
}

.category-card .post-content h3 {
    font-size: 1.08rem;
    line-height: 1.24;
}

.category-card .meta {
    font-size: 0.88rem;
}

.article-main {
    padding-top: 0.4rem;
}

.article-shell {
    overflow: clip;
    border: 0;
    box-shadow: none;
}

.article-page {
    background: #fff;
}

.article-content-wrap {
    width: min(860px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 0.3rem 0 1.4rem;
}

.article-breadcrumbs {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin: 0.2rem 0 0.6rem;
    color: #727272;
    font-size: 0.88rem;
}

.article-breadcrumbs a:hover {
    text-decoration: underline;
}

.article-title-main {
    margin: 0.45rem 0 0.52rem;
    font-size: 2.1rem;
    line-height: 1.12;
    letter-spacing: -0.015em;
}

.article-meta-line {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.article-summary-main {
    margin: 0.82rem 0 0.95rem;
    font-size: 1rem;
    color: #343434;
}

.article-feature-image {
    margin: 0 0 1rem;
    border-radius: 10px;
    overflow: hidden;
    background: #ececec;
}

.article-feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body-main {
    display: grid;
    gap: 0.68rem;
}

.article-body-main h2 {
    margin: 0.9rem 0 0.12rem;
    font-size: 1.28rem;
    line-height: 1.3;
    position: relative;
}

.article-body-main h2::before {
    content: "";
    position: absolute;
    left: -0.8rem;
    top: 0.18rem;
    width: 3px;
    height: 1.05em;
    border-radius: 999px;
    background: linear-gradient(180deg, #0a66ff, #5e9cff);
    opacity: 0.42;
}

.article-body-main p {
    margin: 0;
    font-size: 1.01rem;
    line-height: 1.72;
    color: #202020;
}

.article-related-title {
    margin-top: 0.9rem;
}

.search-panel {
    padding: 0.95rem 1rem 1rem;
    margin-bottom: 0.85rem;
}

.search-title {
    margin: 0 0 0.75rem;
}

.search-input-wrap input {
    width: 100%;
    height: 44px;
    border: 1px solid #dddde5;
    border-radius: 10px;
    padding: 0 0.85rem;
    font-size: 0.98rem;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.search-input-wrap input:focus {
    border-color: #b8c7ff;
    box-shadow: 0 0 0 3px rgba(80, 116, 255, 0.14);
    background: #fff;
}

.search-count {
    margin: 0.65rem 0 0;
    color: #6a6a6a;
    font-size: 0.9rem;
}

.search-empty {
    border: 1px dashed #d8deec;
    border-radius: 12px;
    padding: 1.1rem;
    color: #56617a;
    background: #f8faff;
    font-size: 0.95rem;
}

.site-footer {
    border-top: 1px solid #ececf0;
    padding: var(--space-5) 0 var(--space-4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-3) 2rem;
}

.footer-grid h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.footer-logo {
    width: auto;
    height: 40px;
    display: block;
}

.footer-grid p,
.footer-grid li {
    color: #404040;
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.45;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
}

.copyright {
    width: min(var(--container), calc(100% - 2rem));
    margin: var(--space-3) auto 0;
    color: #646464;
    font-size: 0.9rem;
    text-align: center;
}



.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 2.25;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}


.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    /*backdrop-filter: blur(5px);*/
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.3rem;
    color: white;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    color: #1e293b;
}

.btn-prev {
    left: 15px;
}

.btn-next {
    right: 15px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.2s;
}

.dot.active {
    background: white;
    /*width: 28px;*/
    border-radius: 10px;
}

.max-line-1 {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.max-line-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.max-line-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}


.to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    background: #4a4642;
    font-size: 2rem;
    color: #fff;
    z-index: 50;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    border: none;
}

.to-top img {
    font-size: 1rem;
    height: 1rem;
    width: 1rem;
}

.to-top.show {
    opacity: 1;
    visibility: visible
}

.to-top:hover {
    opacity: .9;
    background: rgba(74, 70, 66, 0.48);
}

.search-main {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 50;
    gap: 0.15rem;
    width: 100%;
    max-width: 400px;
    flex-direction: column;
    align-items: stretch;
    padding: 0.55rem 0.9rem 0.55rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid #e7eaf2;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    max-height: min(60vh, 420px);
    overflow: auto;
}

.search-form {
    height: 40px;
    border-radius: 12px;
    background: rgba(51, 51, 51, 0.22);
    position: relative;
    display: flex;
    align-items: center;
    border: none;
}

.search-input {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    padding-left: 20px;
    border: none;
    outline: none;
    background: #e5e2e2;
}

.search-input-btn {
    border: none;
    position: absolute;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 0 12px 12px 0;
}

.search-input-btn svg {
    width: 60%;
    aspect-ratio: 1;
}

.display-none {
    display: none;
}

.pc-search .search-main {
    width: 400px;
    left: auto;
}



.page-size {
    display: flex;
    gap: .5rem;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.page-size a {
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 5px;
    float: left;
    background: transparent;
    border: solid 1px #ececec;
    color: #111;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    transition: all .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    text-decoration: auto;
    /*border-radius: 99px;*/
    padding: 0 10px;
}

.page-size a.is-current {
    background: #4a4642;
    border: solid 1px #4a4642;
    color: #fff;
}

.page-size span {
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 5px;
    float: left;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    transition: all .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    background: #4a4642;
    border: solid 1px #4a4642;
    color: #fff;
    /*border-radius: 99px;*/
}

.page-size a:hover, .page-size span:hover {
    background: #4a4642;
    border-color: #4a4642;
    color: #fff;
}

.page-size ul {
    display: flex;
    gap: 1.5rem;
    justify-content: start;
    align-items: center;
}

.page-size ul, .page-size li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.padding-0-10 {
    padding: 0 10px;
}

.article-info p, .article-info li {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.article-info ul, .article-info li {
    list-style: disc;
}

.article-info ul {
    padding-left: 2rem;
}

.article-info table {
    width: 100%;
    font-size: 10px;
}

.article-info h1, .article-info h2, .article-info h3, .article-info h4, .article-info h5, .article-info h6 {
    font-weight: 700;
    margin: 10px 0;
    color: #000;
    line-height: 1.3;
}

.article-info h1 {
    font-size: 30px;
}

.article-info h2 {
    font-size: 28px;
}

.article-info h3 {
    font-size: 25px;
}

.article-info h4 {
    font-size: 22px;
}

.article-info h5, .article-info h6 {
    font-size: 19px;
}

.article-info a {
    color: #4a4642;
    text-decoration: underline;
}

.article-info img {
    max-width: 450px;
    width: 100%;
}

@media screen and (max-width: 860px) {
    .search-open .display-none {
        display: flex!important;
    }
}

@media screen and (min-width: 860px) {
    .mb-block {
        display:none!important;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-on-scroll {
        opacity: 0;
        transform: translateY(14px);
        transition: opacity 360ms ease, transform 360ms ease;
    }

    .reveal-on-scroll.in-view {
        opacity: 1;
        transform: translateY(0);
    }

    img.img-ready {
        animation: imageFadeIn 280ms ease;
    }
}

@keyframes imageFadeIn {
    from {
        opacity: 0.65;
        filter: saturate(0.92);
    }
    to {
        opacity: 1;
        filter: saturate(1);
    }
}

@media (max-width: 1024px) {
    .search-main #searchResults {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-banner-row .category-banner {
        height: 340px;
        min-height: 0;
    }

    .category-banner {
        aspect-ratio: 16 / 6.4;
    }

    .category-banner-overlay strong {
        font-size: 1.7rem;
    }

    .category-card .post-content h3 {
        font-size: 1.08rem;
    }

    .mini-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mini-card {
        aspect-ratio: 16 / 8.2;
    }

    .cards-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-title-main {
        font-size: 1.9rem;
    }

    .top-title {
        font-size: 1.72rem;
    }

    .hero-media {
        min-height: 420px;
    }

    .hero-overlay small {
        display: none;
    }

    .latest-item {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .latest-item img {
        width: 72px;
        height: 54px;
    }

    .latest-item strong {
        font-size: 1.05rem;
    }

    .latest-item .meta {
        font-size: 0.88rem;
    }
}

@media (max-width: 860px) {

    .pc-block {
        display: none;
    }

    .brand-row {
        min-height: 52px;
        align-items: center;
        position: relative;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .brand {
        line-height: 1;
    }

    .brand-logo {
        height: 30px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% + 8px);
        z-index: 50;
        gap: 0.15rem;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 0.55rem 0.9rem 0.55rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border: 1px solid #e7eaf2;
        border-radius: 12px;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
        max-height: min(60vh, 420px);
        overflow: auto;
    }

    .site-header.menu-open .main-nav {
        display: flex;
    }

    .main-nav a {
        font-size: 0.9rem;
        min-height: 32px;
        width: 100%;
        justify-content: flex-start;
        padding: 0.35rem 0;
        color: #2f2d2d;
    }

    .main-nav a::after {
        display: none;
    }

    .brand-row > .search-icon-link.search-quick {
        width: 34px;
        height: 34px;
        border: 1px solid #d9deea;
        border-radius: 8px;
        background: #fff;
        margin-left: 0;
        justify-content: center;
        flex: 0 0 34px;
        padding: 0;
    }

    .brand-row > .search-icon-link.search-quick svg {
        fill: #2f3642;
    }

    .brand-row > .search-icon-link.search-quick:hover,
    .brand-row > .search-icon-link.search-quick.active {
        background: #f7f7fa;
        border-color: #d6dbe7;
        transform: translateY(-1px);
    }

    .main-nav .search-icon-link {
        width: 100%;
        height: auto;
        border: 0;
        background: transparent;
        border-radius: 0;
        margin-left: 0;
        justify-content: flex-start;
    }

    .main-nav .search-icon-link:hover,
    .main-nav .search-icon-link.active {
        background: transparent;
        transform: none;
        border-color: transparent;
    }

    .top-grid {
        grid-template-columns: 1fr;
    }

    .mini-cards {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .mini-card {
        aspect-ratio: 16 / 9;
    }

    .category-banner {
        aspect-ratio: 16 / 8.8;
    }

    .category-banner-row {
        grid-template-columns: 1fr;
    }

    .category-banner-row .category-banner {
        height: auto;
        min-height: 0;
    }

    .category-banner-overlay {
        left: 0.7rem;
        right: 0.7rem;
        bottom: 0.7rem;
    }

    .category-banner-overlay strong {
        font-size: 1.35rem;
    }

    .category-banner-overlay em {
        font-size: 0.9rem;
    }

    .top-title {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.4rem;
        margin: 1rem 0 0.65rem;
    }

    .hero-media {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

    .latest-item strong {
        font-size: 0.98rem;
    }

    .cards-3,
    .cards-2,
    .cards-4 {
        grid-template-columns: 1fr;
    }

    .article-content-wrap {
        width: calc(100% - 1.2rem);
        padding: 0.85rem 0 1.2rem;
    }

    .article-feature-image {
        margin-bottom: 0.85rem;
    }

    .article-title-main {
        font-size: 1.45rem;
        line-height: 1.2;
    }

    .article-summary-main,
    .article-body-main p {
        font-size: 0.96rem;
    }

    .post-card.featured {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .footer-grid ul {
        justify-items: center;
    }

    .footer-grid p {
        max-width: 52ch;
    }
}
