@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;500;600;700&display=swap');

@font-face {

    font-family: 'Conduit';

    src: url('../fonts/Conduit-ITC-Bold.otf') format('opentype');

    font-weight: 700;

    font-style: normal;
}


:root {
    --bg: #06090d;
    --panel: #10161d;
    --gold: #9c8a4d;
    --text: #f3f3f3;
    --muted: #9aa3ad;
    --border: rgba(255,255,255,.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text);
font-family: 'Barlow Condensed', sans-serif;
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: auto;
}

.site-header {

    background: #05070b;
    border-bottom: 1px solid var(--border);
    padding: 10px 0;

}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 38px;
    font-weight: 800;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.hero {
    height: 440px;
    position: relative;
    overflow: hidden;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,.88) 0%,
        rgba(0,0,0,.55) 45%,
        rgba(0,0,0,.2) 100%
    ),
    url('../images/placeholder.jpg');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
}

.archive-layout {
    display: flex;
    gap: 40px;
    padding: 60px 0;
}

.main-content {
    flex: 1;
}

.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination .page-numbers {
    padding: 12px 18px;
    margin: 0 5px;
    background: var(--panel);
    border-radius: 8px;
    color: white;
    text-decoration: none;
}

.pagination .current {
    background: var(--gold);
}

.card-meta {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 14px;
}

.no-results {
    background: var(--panel);
    padding: 40px;
    border-radius: 16px;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-logo {

    font-family: 'Conduit', sans-serif !important;

    font-size: 92px;

    line-height: .9;

    letter-spacing: 1px;

    text-transform: uppercase;

    margin-bottom: 18px;

    font-weight: 700;

    text-shadow:
    0 2px 10px rgba(0,0,0,.35);
}

.logo-white {

    color: #f1f1f1;
}

.logo-gold {

    color: #8d8448;
}

.hero p {
    font-size: 24px;
    color: var(--muted);
    margin-bottom: 30px;
}

.search-form {
    display: flex;
    max-width: 650px;
    margin-bottom: 40px;
}

.search-field {
    width: 100%;
    padding: 18px;
    border: none;
    background: rgba(255,255,255,.08);
    color: white;
    border-radius: 10px 0 0 10px;
}

.search-form button {
    width: 70px;
    background: var(--gold);
    border: none;
    color: white;
    border-radius: 0 10px 10px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}

.stats-grid div {
    background: rgba(255,255,255,.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.category-strip {

    margin-top: -32px;

    margin-bottom: 20px;

    position: relative;

    z-index: 5;
}

.category-strip {

    background:
    rgba(16,22,29,.92);

    border:
    1px solid rgba(255,255,255,.06);

    border-radius: 18px;

    overflow: hidden;
}

.cat-grid {

    display: grid;

    grid-template-columns: repeat(7, 1fr);
}

.cat-item {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 14px 10px 10px;

    text-decoration: none;

    color: #d8d8d8;

    border-right:
    1px solid rgba(255,255,255,.05);

    transition: .2s ease;
}

.cat-item:last-child {

    border-right: none;
}

.cat-item img {

    display: block;

    max-height: 34px;

    width: auto;

    margin-bottom: 8px;

    object-fit: contain;
}

.cat-item span {

    font-size: 14px;

    font-weight: 500;
}

.latest-tests {

    padding: 0 0 20px;
}

.latest-articles {

    padding: 0 0 20px;
}

.section-header {
    margin-bottom: 30px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.card {
    background: var(--panel);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.card-content {
    padding: 24px;
}

.card-content h3,
.card-content h2 {
    margin-bottom: 15px;
    font-size: 28px;
}

.card-content p {
    color: var(--muted);
}


.ency-section-title {

    margin-bottom: 20px;

    font-size: 18px;

    font-weight: 400;

    letter-spacing: .3px;

    text-transform: uppercase;
}

.encyclopedia-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    padding-bottom: 0px;
}

.ency-card {

    position: relative;

    height: 160px;

    border-radius: 18px;

    overflow: hidden;

    background: #111;
}

.ency-card img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}

.ency-card a {

    display: block;

    width: 100%;

    height: 100%;

    color: white;

    text-decoration: none;
}

.ency-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 16px;

    background:
    linear-gradient(
        to top,
        rgba(17,15,10,.95) 0%,
        rgba(17,15,10,.55) 45%,
        transparent 100%
    );
}

.ency-label {

    font-size: 11px;

    color: #9c8a4d;

    letter-spacing: 1px;

    margin-bottom: 6px;
}

.ency-overlay h3 {

    font-size: 16px;

    font-weight: 500;

    line-height: 1.2;
}

.sidebar {
    width: 320px;
}

.sidebar-box {
    background: var(--panel);
    border-radius: 16px;
    padding: 12px 18px 24px;
}

.single-layout {
    display: flex;
    gap: 50px;
    padding: 80px 0;
}

.single-content {
    flex: 1;
}

.entry-content {
    margin-top: 30px;
    line-height: 1.9;
}

.site-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
}

@media(max-width: 1200px) {

    .cards-grid,
    .encyclopedia-grid,
    .cat-grid,
    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width: 768px) {

    .hero h1 {
        font-size: 52px;
    }

    .cards-grid,
    .encyclopedia-grid,
    .cat-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .single-layout {
        flex-direction: column;
    }
}

.single-layout {

    display: grid;

    grid-template-columns:
    minmax(0, 1fr)
    340px;

    gap: 40px;

    padding: 60px 0;
}

.site-sidebar {

    display: flex;

    flex-direction: column;

    gap: 28px;
}

.sidebar-widget {

    background:
    rgba(16,22,29,.95);

    border:
    1px solid rgba(255,255,255,.06);

    border-radius: 18px;

    padding: 26px;

    box-shadow:
    0 10px 25px rgba(0,0,0,.35);
}

.sidebar-widget h3 {

    font-size: 24px;

    margin-bottom: 22px;

    color: #8d8448;

    letter-spacing: 1px;
}

.sidebar-widget ul {

    list-style: none;
}

.sidebar-widget li {

    padding: 12px 0;

    border-bottom:
    1px solid rgba(255,255,255,.06);
}

.sidebar-widget li:last-child {

    border-bottom: none;
}

.sidebar-widget a {

    color: white;

    text-decoration: none;

    font-size: 18px;

    transition: .2s ease;
}

.sidebar-widget a:hover {

    color: #8d8448;
}

.home-layout {

    display: grid;

    grid-template-columns:
    minmax(0, 1fr)
    340px;

    gap: 40px;

    align-items: start;

    padding: 40px 0 60px;
}

.home-main {

    min-width: 0;
}

.posts-panel {

    background:
    rgba(16,22,29,.92);

    backdrop-filter: blur(10px);

    border:
    1px solid rgba(255,255,255,.06);

    border-radius: 18px;

    padding: 18px 18px 24px;
}

.section-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 14px;
}

.section-header h2 {

    margin: 0;

    font-size: 18px;

    font-weight: 400;

    letter-spacing: .3px;

    text-transform: uppercase;
}

.view-all {

    color: #8d8448;

    text-decoration: none;

    font-size: 16px;

    transition: .2s ease;
}

.view-all:hover {

    opacity: .8;
}

.top-row-layout {

    display: grid;

    grid-template-columns:
    minmax(0, 1fr)
    320px;

    gap: 28px;

    align-items: start;

    margin-top: -34px;

    position: relative;

    z-index: 10;
}

.top-row-main {

    min-width: 0;
}

.top-row-sidebar {

    min-width: 0;
}

.category-strip {

    margin-top: 0;
}

.homepage-grid {

    display: grid;

    grid-template-columns:
    minmax(0, 1fr)
    320px;

    gap: 20px;

    align-items: start;

    margin-top: -34px;

    position: relative;

    z-index: 10;
}

.homepage-main {

    min-width: 0;
}

.homepage-sidebar {

    min-width: 0;
}

.card {

    position: relative;

    border-radius: 18px;

    overflow: hidden;

    background: #111;
}

.card-link {

    display: block;

    position: relative;

    text-decoration: none;

    color: white;
}

.card img {

    width: 100%;

    height: 280px;

    object-fit: cover;

    display: block;
}

.cards-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.card {

    position: relative;

    border-radius: 18px;

    overflow: hidden;

    background: #111;

    height: 280px;
}

.card-overlay {

    position: absolute;

    inset: 0;

    height: 100%;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 24px;

    background:
    linear-gradient(
        to top,
        rgba(17,15,10,.96) 0%,
        rgba(10,12,16,.82) 35%,
        rgba(10,12,16,.18) 70%,
        transparent 100%
    );
}

.card-badge {

    position: absolute;

    top: 12px;

    left: 12px;

    background: #8d8448;

    color: white;

    font-size: 11px;

    letter-spacing: 1px;

    padding: 6px 10px;

    border-radius: 6px;

    z-index: 2;
}

.card-overlay h3 {

    font-size: 20px;

    font-weight: 500;

    margin-bottom: 8px;

    line-height: 1.15;

    min-height: 40px;

}

.card-overlay p {

    color: rgba(255,255,255,.82);

    font-size: 15px;

    line-height: 1.5;

    margin-bottom: 18px;
}

.card-meta {

    font-size: 13px;

    color: rgba(255,255,255,.65);
}

.sidebar-box ul {

    list-style: none;

    padding: 0;

    margin: 0;
}

.sidebar-box li {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 14px;

    padding-bottom: 14px;

    border-bottom:
    1px solid rgba(255,255,255,.06);
}

.sidebar-box a {

    color: #f3f3f3;

    text-decoration: none;

    font-size: 14px;

    line-height: 1.4;
}

.sidebar-box a:hover {

    color: #8d8448;
}

.popular-number {

    color: #9c8a4d;

    font-size: 13px;

    font-weight: 700;

    flex-shrink: 0;
}

.sidebar-box h3 {

    margin: 0 0 16px 0;

    font-size: 18px;

    font-weight: 400;

    letter-spacing: .3px;

    text-transform: uppercase;
}

.encyclopedia-blocks {

    padding-bottom: 70px;
}

.encyclopedia-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.ency-card {

    position: relative;

    height: 160px;

    border-radius: 18px;

    overflow: hidden;

    background: #111;
}

.ency-card img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;
}

.ency-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 16px;

    background:
    linear-gradient(
        to top,
        rgba(17,15,10,.96) 0%,
        rgba(10,12,16,.65) 40%,
        transparent 100%
    );
}

.ency-label {

    color: #9c8a4d;

    font-size: 11px;

    letter-spacing: 1px;

    margin-bottom: 6px;
}

.ency-overlay h3 {

    font-size: 15px;

    font-weight: 500;

    line-height: 1.25;

    margin: 0;
}

.encyclopedia-layout {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        320px;

    gap: 30px;

    padding: 40px 0 60px;

    align-items: start;
}

.encyclopedia-content {

    min-width: 0;
}

.encyclopedia-sidebar {

    position: sticky;

    top: 20px;

    align-self: start;
}

.encyclopedia-image img {

    width: 100%;

    border-radius: 12px;

    display: block;

    margin-bottom: 24px;
}


.infobox h3 {

    margin-bottom: 20px;

    font-size: 24px;
}

.info-row {

    display: flex;

    flex-direction: column;

    gap: 4px;

    margin-bottom: 16px;
}

.info-row span {

    color: #9aa3ad;

    font-size: 13px;

    text-transform: uppercase;
}

.info-row a {

    color: #9c8a4d;

    text-decoration: none;
}

.infobox {

    background: rgba(16,22,29,.95);

    border: 1px solid rgba(255,255,255,.06);

    border-radius: 12px;

    overflow: hidden;
}

.infobox-image {

    padding-top: 0px;
    padding-right: 50px;
    padding-left: 50px;
    padding-bottom: 20px;
}

.infobox-image img {

    width: 100%;

    height: auto;

    display: block;
}

.infobox-title {

    text-align: center;

    font-size: 28px;

    font-weight: 400;

    padding: 12px 15px 2px;

    color: #f3f3f3;
}

.infobox-row {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 4px 16px;

    border-top: 1px solid rgba(255,255,255,.06);
}

.infobox-row span {

    display: block;

    font-size: 15px;

    margin-bottom: 4px;
}

.infobox-row a {

    color: white;

    text-decoration: none;
}

.info-label {

    color: #9c8a4d;

    flex-shrink: 0;
}

.info-value {

    color: #f3f3f3;

    text-align: right;
}

.info-value a {

    color: #f3f3f3;

    text-decoration: none;
}

.infobox-subtitle {

    text-align: center;

    color: #9c8a4d;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 8px;
}

.infobox-extra {

    background: rgba(0,0,0,.18);

    border-top: 1px solid rgba(255,255,255,.06);

    padding: 14px 16px;
}

.infobox-section-title {

    color: #f3f3f3;

    font-size: 14px;

    text-transform: uppercase;

    margin-bottom: 10px;
}

.infobox-links {

    display: flex;

    flex-direction: column;

    gap: 6px;
}

.infobox-links a {

    color: #9c8a4d;

    text-decoration: none;
}

.ency-title {

    font-family: 'Conduit', sans-serif;

    font-size: 64px;

    line-height: .95;

    text-transform: uppercase;

    margin-bottom: 10px;
}

.ency-title .gold {

    color: #9c8a4d;
}

.ency-intro {

    font-size: 20px;

    color: #c7c7c7;

    line-height: 1.6;

    margin-bottom: 24px;

}

.encyclopedia-body ul,
.encyclopedia-body ol {

    padding-left: 25px;

    margin: 20px 0;
}

.encyclopedia-body li {

    margin-bottom: 6px;
}

.ency-intro a,
.encyclopedia-body a {

    color: #9c8a4d;

    text-decoration: underline;
}

.ency-intro a:hover,
.encyclopedia-body a:hover {

    color: #b9a55e;
}

.ency-header-nav {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 22px;

    flex-wrap: wrap;
}

.ency-header-item {

    display: flex;

    align-items: center;

    gap: 8px;

    color: #f3f3f3;

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    transition: .2s ease;
}

.ency-header-item:hover {

    color: #9c8a4d;
}

.ency-header-item img {

    width: 20px;

    height: 20px;

    object-fit: contain;

    flex-shrink: 0;
}

.encyclopedia-body h2 {

    font-size: 34px;

    margin-top: 40px;

    margin-bottom: 18px;

    position: relative;
}

.encyclopedia-body h2::after {

    content: '';

    display: block;

    width: 60px;

    height: 3px;

    background: #9c8a4d;

    margin-top: 8px;

    border-radius: 2px;
}