@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
    --bswhite: rgb(231, 231, 231);
    --navgap: 2rem;
    --search-border: rgba(255,255,255,0.13);
    --search-border-hover: rgba(255,255,255,0.28);
    --muted: rgba(255,255,255,0.38);
    font-size: 12px;


    --font_1: roboto, sans-serif;
}

body {
    background-color: #000;
    font-family: var(--font_1);
    margin: 0;
    padding: 0;
    color: var(--bswhite);
    overflow-x: hidden;
    letter-spacing: -0.04em;
    padding-top: 3.9rem !important;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 670;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-sizing: border-box;
}

.nav-inner {
    display: flex;
    align-items: center;
    padding: 9px 20px;
    margin: 0 auto;
    max-width: 800px;
    gap: var(--navgap);
    width: 100%;
    box-sizing: border-box;
}

body {
    padding-top: 68px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--navgap);
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

nav a:hover {
    opacity: 1;
}

.search {
    flex: 1;
    position: relative;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    cursor: pointer;
    transition: border-color 0.35s ease;
}

.search-bar:hover {
    border-color: var(--search-border-hover);
}

.search-bar input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--muted);
    font-size: 1.25rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    cursor: pointer;
    letter-spacing: 0.01em;
    pointer-events: none;
}

.search-arrow {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    background: transparent;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.25s ease;
    flex-shrink: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.search-arrow:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.38);
    color: #fff;
    transform: scale(1.08);
}

.icon-arrow,
.icon-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
}

.icon-arrow {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.search-arrow.is-open {
    border-color: rgba(220, 50, 50, 0.45);
    color: #e03c3c;
    background: rgba(220, 50, 50, 0.08);
}

.search-arrow.is-open:hover {
    background: rgba(220, 50, 50, 0.16);
    border-color: rgba(220, 50, 50, 0.7);
    color: #ff5555;
}

.search-arrow.is-open .icon-arrow {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}

.search-arrow.is-open .icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.search-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 67;
    pointer-events: none;
}

.search-dropdown.open {
    pointer-events: all;
}

.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.search-dropdown.open .search-overlay {
    opacity: 1;
}

.search-dropdown-panel {
    position: relative;
    background: #080808;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-110%);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 72px 0 42px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.7);
}

.search-dropdown.open .search-dropdown-panel {
    transform: translateY(0);
}

.search-dropdown-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-full-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

.search-dropdown.open .search-full-bar {
    opacity: 1;
    transform: translateY(0);
}


.search-full-bar input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: rgba(255,255,255,0.78);
    font-size: 1.6rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    letter-spacing: 0.01em;
    caret-color: rgba(255,255,255,0.5);
}

.search-full-bar input::placeholder {
    color: rgba(255,255,255,0.28);
}

.search-submit {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: rgba(255,255,255,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.search-submit:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
    color: #fff;
    transform: scale(1.1);
}

.search-divider {
    height: 1px;
    background: rgba(255,255,255,0.05);
    margin: 26px 0;
    opacity: 0;
    transform: scaleX(0.85);
    transform-origin: left;
    transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;
}

.search-dropdown.open .search-divider {
    opacity: 1;
    transform: scaleX(1);
}

.search-hints {
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease 0.38s, transform 0.4s ease 0.38s;
}

.search-dropdown.open .search-hints {
    opacity: 1;
    transform: translateY(0);
}

.hint-label {
    font-size: 1rem;
    color: rgba(255,255,255,0.22);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}

.hint-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hint-chip {
    padding: 5px 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
    cursor: pointer;
}

.hint-chip:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.8);
    transform: translateY(-1px);
}

.search-results {
    display: none;
    flex-direction: column;
    gap: 0;
    margin-top: 1.5rem;
}

.search-results.has-results {
    display: flex;
}

.search-results-empty {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.2);
    padding: 1rem 0;
    animation: srSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    text-decoration: none;
    color: inherit;
    animation: srSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    transition: background 0.2s ease;
    border-radius: 0.5rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    margin-left: -0.6rem;
    margin-right: -0.6rem;
}

.search-result-item:first-child {
    border-top: none;
}

.search-result-item:hover {
    background: rgba(255,255,255,0.04);
}

.sr-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.sr-img {
    width: 4.8rem;
    height: 3.4rem;
    border-radius: 0.4rem;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
}

.sr-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sr-img-empty {
    background: rgba(255,255,255,0.03);
}

.sr-date {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.18);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.sr-right {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.sr-title {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.search-result-item:hover .sr-title {
    color: rgba(255,255,255,0.95);
}

.sr-sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.25);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes srSlideIn {
    from {
        opacity: 0;
        transform: translateY(0.6rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-cont {
    transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 100vh;
}

.main-cont.blurred {
    filter: blur(5px);
    opacity: 0.4;
    pointer-events: none;
}

.cont {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px 0;
    height: 89vh;
}

.cont.main-infos {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 0.45fr;
    gap: 12px;
    padding-bottom: 0;
    align-items: start;
}

.mi-featured-link,
a.mi-sitem,
a.ritem {
    color: inherit;
    text-decoration: none;
    display: contents;
}

a.mi-sitem {
    display: flex;
}

a.ritem {
    display: flex;
}

.mi-featured-link {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mi-featured {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    position: sticky;
    top: 20px;
}

.mi-featured-img {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
}

.mi-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mi-featured:hover .mi-featured-img img {
    transform: scale(1.03);
}

.mi-featured-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
}

.mi-featured-title {
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--bswhite);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.mi-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.mi-sitem {
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
    flex: 1;
}

.mi-sitem-img {
    aspect-ratio: 1/1;
    width: 100%;
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    min-height: 0;
}

.mi-sitem-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.mi-sitem:hover .mi-sitem-img img {
    transform: scale(1.04);
}

.mi-sitem-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mi-sitem-title {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--bswhite);
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.mi-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mi-cat {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.02em;
}

.mi-read {
    font-size: 1rem;
    color: rgba(255,255,255,0.25);
}

.mi-date {
    font-size: 1rem;
    color: rgba(255,255,255,0.25);
}

.mi-subdesc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.38);
    margin: 0;
    line-height: 1.45;
}

.explainer {
    display: flex;
    flex-direction: column;
    gap: 18px;
    animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.67rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 4rem;
}

.site-footer-copy {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.01em;
}


.explainer-heading {
    font-size: 3.4rem;
    font-weight: 300;
    line-height: 1.15;
    color: var(--bswhite);
    letter-spacing: -0.02em;
    margin: 0;
    animation: fadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.explainer-body {
    font-size: 1.35rem;
    font-weight: 300;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    margin: 0;
    animation: fadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.explainer-body strong {
    color: rgba(255,255,255,0.7);
    font-weight: 400;
}


button.s2{
    align-self: flex-start;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.4);
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    padding: 7px 18px;
    border-radius: 100px;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

button.s2:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.75);
    transform: translateY(-1px);
}

button.s2.expanded {
    color: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.07);
}


.recents {
    display: flex;
    gap: 2rem;
}


.cge {
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
}

.cge.normal {
    aspect-ratio: 1/1;
    width: 200px;
}

.cge.medium {
    aspect-ratio: 1/1;
    width: 150px;
    flex-shrink: 0;
}

.cge img {
    position: absolute;
    pointer-events: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    transition: all 0.65s var(--smooth-dept);
}

.cge:hover img {
    transform: scale(1.1);
}

.cge:hover .cge-info {
    opacity: 0.8;
    transform: translateY(0);
}


.cge-info {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: var(--bswhite);
    z-index: 1;
    font-size: 1.6rem;

    display: flex;
    align-items: center;
    gap: 0.1rem;
    transition: all 0.55s var(--smooth-dept);
    width: 96%;

}

.cge-info h3 {
    width: 50%;
}

.cge-arrow {
    position: absolute;
    bottom: 0.3rem;
    right: 1rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.28);
    background: rgba(0,0,0,0.25);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.cge:hover .cge-arrow {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.55);
    color: #fff;
    transform: scale(1.08);
}


.recents-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 28px;
}

.recents-label {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--bswhite);
    letter-spacing: 0.01em;
}

.recents-viewmore {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.recents-viewmore:hover {
    color: rgba(255,255,255,0.8);
}

.recents-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
}

.ritem {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.ritem:hover {
    opacity: 0.7;
}

.ritem-thumb {
    width: 110px;
    height: 110px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.ritem-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ritem:hover .cge img,
.ritem:hover .ritem-thumb img {
    transform: scale(1.07);
}

.ritem-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.ritem-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--bswhite);
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.ritem-subdesc {
    font-size: 1rem;
    color: rgba(255,255,255,0.32);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ritem-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ritem-cat {
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.03em;
}

.ritem-date {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.22);
}