/*
Theme Name: Joinrivora
Theme URI: https://example.com
Author: Joinrivora
Author URI: https://example.com
Description: Joinrivora WordPress Theme
Version: 1.0.0
Text Domain: joinrivora
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #050505;
    color: #ffffff;
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

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

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

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}



/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.site-logo-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #5b5cf0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.site-logo-text {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.site-nav .menu {
    display: flex;
    align-items: center;
    gap: 48px;
    margin: 0;
    padding: 0;
}

.site-nav .menu li {
    list-style: none;
}

.site-nav .menu a {
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-nav .menu a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav .current-menu-ancestor > a {
    color: #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.icon-button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-button:hover {
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
}

.mobile-menu-panel {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #050505;
}

.mobile-menu-panel.is-open {
    display: block;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px 0 26px;
}

.mobile-menu li {
    list-style: none;
}

.mobile-menu a {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}

.header-search-bar {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #050505;
}

.header-search-bar.is-open {
    display: block;
    padding: 18px 0 20px;
}



/* COMMON */

main {
    min-height: 60vh;
}

.page-eyebrow {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}

.section-heading h2 {
    font-size: 52px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -1px;
}

.section-link {
    color: rgba(255, 255, 255, 0.68);
    font-size: 22px;
}

.post-tag {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: inherit;
    background:
        linear-gradient(135deg, rgba(80, 80, 120, 0.16), rgba(20, 20, 20, 0.65)),
        #111111;
}

.hero-button {
    min-width: 220px;
    height: 68px;
    padding: 0 32px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
}

.hero-button-primary {
    background: #f3f3f3;
    color: #111111;
}

.hero-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    background: transparent;
}



/* FRONT PAGE HERO */

.hero-section {
    padding: 120px 0 140px;
    background:
        radial-gradient(circle at left bottom, rgba(58, 31, 120, 0.35), transparent 28%),
        radial-gradient(circle at right top, rgba(24, 72, 185, 0.18), transparent 22%),
        #050505;
}

.hero-box {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    letter-spacing: 1.5px;
    margin-bottom: 42px;
}

.hero-title {
    font-size: 76px;
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 28px;
}

.hero-text {
    max-width: 880px;
    margin: 0 auto;
    font-size: 28px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
    margin-top: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}



/* FEATURED POSTS */

.featured-posts-section {
    padding: 20px 0 90px;
}

.featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 0.95fr);
    gap: 28px;
    align-items: stretch;
}

.featured-card-link,
.post-card-link {
    display: block;
    color: inherit;
}

.featured-main-card,
.featured-side-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    overflow: hidden;
    background: #0a0a0a;
}

.featured-main-card {
    min-height: 520px;
}

.featured-card-image {
    position: relative;
    min-height: 520px;
    background:
        radial-gradient(circle at center, rgba(73, 93, 255, 0.28), transparent 45%),
        #141420;
}

.featured-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18));
    z-index: 1;
}

.featured-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 36px;
}

.featured-card-content h3 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 14px;
    font-weight: 800;
}

.featured-card-content p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 20px;
    max-width: 90%;
}

.featured-side-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.featured-side-card {
    min-height: 246px;
}

.featured-side-image {
    position: absolute;
    inset: 0;
    background: #111111;
}

.featured-side-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-side-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.18));
    z-index: 1;
}

.featured-side-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 30px;
}

.featured-side-content h3 {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 16px;
}



/* POST CARD GRID */

.latest-posts-section,
.blog-list-section {
    padding: 20px 0 100px;
}

.latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 28px;
}

.post-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    overflow: hidden;
    background: #0a0a0a;
}

.post-card-image {
    position: relative;
    height: 320px;
    background: #111111;
    overflow: hidden;
}

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

.post-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.04));
    pointer-events: none;
}

.post-card-body {
    padding: 26px 26px 24px;
}

.post-card-body .post-tag {
    margin-bottom: 18px;
}

.post-card-body h3 {
    font-size: 24px;
    line-height: 1.24;
    font-weight: 800;
    margin-bottom: 14px;
}

.post-card-body p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.post-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
}

.post-author {
    color: rgba(255, 255, 255, 0.72);
}

.all-posts-link-wrap {
    text-align: center;
    margin-top: 56px;
}

.all-posts-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 26px;
    font-weight: 600;
}



/* NEWSLETTER */

.newsletter-section {
    padding: 30px 0 120px;
}

.newsletter-box {
    max-width: 980px;
    margin: 0 auto;
    padding: 72px 70px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 34px;
    background:
        radial-gradient(circle at right top, rgba(28, 84, 180, 0.12), transparent 30%),
        radial-gradient(circle at left center, rgba(80, 60, 160, 0.08), transparent 28%),
        #0a0a0a;
    text-align: center;
}

.newsletter-box h2 {
    font-size: 54px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.newsletter-box p {
    max-width: 760px;
    margin: 0 auto 36px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 24px;
    line-height: 1.7;
}

.newsletter-form {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 18px;
}

.newsletter-form input {
    width: 100%;
    height: 78px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: #ffffff;
    padding: 0 24px;
    font-size: 22px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.46);
}

.newsletter-form button {
    height: 78px;
    border: 0;
    border-radius: 18px;
    background: #f3f3f3;
    color: #111111;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
}



/* BLOG / HOME */

.blog-page,
.archive-page,
.search-page,
.error-page,
.page-template,
.single-post-page {
    padding-bottom: 120px;
}

.blog-hero,
.page-hero {
    padding: 90px 0 40px;
}

.blog-hero-inner,
.page-hero-inner {
    max-width: 860px;
}

.blog-page-title,
.page-title {
    font-size: 72px;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.blog-page-text,
.page-description {
    font-size: 28px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}

.blog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.blog-sort-box {
    min-width: 130px;
    height: 62px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

.blog-category-filter {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.blog-filter-pill {
    height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    background: #111111;
    color: rgba(255, 255, 255, 0.72);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
}

.blog-filter-pill.is-active {
    background: #f3f3f3;
    color: #111111;
}

.blog-posts-grid {
    margin-bottom: 56px;
}

.custom-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.custom-pagination ul {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    margin: 0;
}

.custom-pagination li {
    list-style: none;
}

.custom-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: #ffffff;
    margin: 0 6px;
    font-size: 20px;
    font-weight: 600;
}

.custom-pagination .page-numbers.current {
    background: #f3f3f3;
    color: #111111;
    border-color: #f3f3f3;
}



/* SEARCH FORM */

.custom-search-form {
    width: 100%;
    max-width: 520px;
}

.custom-search-form-inner {
    display: grid;
    grid-template-columns: 1fr 110px;
    gap: 12px;
}

.custom-search-input {
    width: 100%;
    height: 62px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    color: #ffffff;
    padding: 0 22px;
    font-size: 18px;
    outline: none;
}

.custom-search-input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.custom-search-button {
    height: 62px;
    border: 0;
    border-radius: 18px;
    background: #f3f3f3;
    color: #111111;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}



/* SINGLE */

.single-post-page {
    padding-top: 40px;
}

.single-post-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) 420px;
    gap: 54px;
    align-items: start;
}

.single-post-main {
    min-width: 0;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 18px;
}

.single-post-top-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.single-post-tags-inline {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.42);
    font-size: 18px;
}

.single-post-title {
    font-size: 72px;
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 28px;
}

.single-post-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

.single-post-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.single-post-author-avatar img,
.single-post-author-box-avatar img {
    border-radius: 50%;
}

.single-post-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.single-post-author-info strong {
    font-size: 24px;
}

.single-post-author-info span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 17px;
}

.single-post-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.62);
    font-size: 18px;
}

.single-post-featured-image {
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 42px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.single-post-content {
    color: rgba(255, 255, 255, 0.82);
    font-size: 24px;
    line-height: 1.85;
}

.single-post-content > * {
    margin-bottom: 26px;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    color: #ffffff;
    line-height: 1.2;
    margin-top: 34px;
    margin-bottom: 18px;
}

.single-post-content h2 {
    font-size: 40px;
}

.single-post-content h3 {
    font-size: 32px;
}

.single-post-content p {
    color: rgba(255, 255, 255, 0.76);
}

.single-post-content ul,
.single-post-content ol {
    padding-left: 24px;
}

.single-post-content li {
    margin-bottom: 12px;
}

.single-post-share {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 48px 0 42px;
    flex-wrap: wrap;
}

.single-post-share > span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 22px;
}

.share-button {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #ffffff;
    font-size: 22px;
}

.copy-link-button {
    cursor: pointer;
}

.single-post-author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0a0a;
    margin-bottom: 64px;
}

.single-post-author-box-content h3 {
    font-size: 32px;
    margin-bottom: 8px;
}

.single-post-author-box-content p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 20px;
    line-height: 1.7;
}

.single-post-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.single-sidebar-box {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 34px 30px;
    background: #0a0a0a;
}

.single-sidebar-box h3 {
    font-size: 22px;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.single-sidebar-box ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.single-sidebar-box li,
.single-sidebar-box a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 18px;
}

.single-sidebar-box a:hover {
    color: #ffffff;
}

.single-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.single-tag-list span {
    display: inline-flex;
    align-items: center;
    height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    font-size: 18px;
}

.related-posts h2 {
    font-size: 48px;
    margin-bottom: 28px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.related-post-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    overflow: hidden;
    background: #0a0a0a;
}

.related-post-image {
    height: 320px;
    background: #111111;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-body {
    padding: 22px;
}

.related-post-body h3 {
    font-size: 28px;
    line-height: 1.25;
}



/* PAGE */

.about-intro-section,
.about-values-section,
.about-content-section,
.about-stats-section,
.about-cta-section {
    padding: 40px 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.about-intro-content,
.about-intro-card,
.about-content-box,
.about-value-card,
.about-stat-card,
.about-cta-box {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0a0a;
    border-radius: 28px;
}

.about-intro-content {
    padding: 40px;
}

.about-intro-content h2,
.about-cta-box h2 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.about-intro-content p,
.about-intro-card li,
.about-content-box,
.about-value-card p,
.about-cta-box p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    font-size: 19px;
}

.about-intro-content p + p {
    margin-top: 16px;
}

.about-intro-card {
    padding: 40px 32px;
}

.about-intro-card h3 {
    font-size: 28px;
    margin-bottom: 22px;
}

.about-intro-card ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.about-value-card {
    padding: 34px 30px;
}

.about-value-number {
    display: inline-block;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 18px;
    font-weight: 700;
}

.about-value-card h3 {
    font-size: 30px;
    margin-bottom: 14px;
}

.about-content-box {
    padding: 40px;
    font-size: 20px;
}

.about-content-box > * {
    margin-bottom: 20px;
}

.about-content-box h2,
.about-content-box h3 {
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 14px;
}

.about-content-box h2 {
    font-size: 34px;
}

.about-content-box h3 {
    font-size: 28px;
}

.about-content-box ul,
.about-content-box ol {
    padding-left: 22px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.about-stat-card {
    padding: 30px 24px;
    text-align: center;
}

.about-stat-card strong {
    display: block;
    font-size: 38px;
    margin-bottom: 10px;
}

.about-stat-card span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.6;
}

.about-cta-box {
    padding: 54px 40px;
    text-align: center;
    background:
        radial-gradient(circle at right top, rgba(28, 84, 180, 0.12), transparent 30%),
        radial-gradient(circle at left center, rgba(80, 60, 160, 0.08), transparent 28%),
        #0a0a0a;
}

.about-cta-box p {
    max-width: 720px;
    margin: 0 auto 28px;
}



/* ERROR + EMPTY */

.error-section {
    padding: 120px 0 80px;
    background:
        radial-gradient(circle at right top, rgba(28, 84, 180, 0.14), transparent 26%),
        radial-gradient(circle at left bottom, rgba(80, 60, 160, 0.12), transparent 30%),
        #050505;
}

.error-box,
.search-empty-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 56px 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    background: #0a0a0a;
}

.error-title {
    font-size: 68px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 22px;
}

.error-text,
.search-empty-box p {
    max-width: 760px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.search-empty-box h2 {
    font-size: 42px;
    margin-bottom: 18px;
}



/* FOOTER */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 80px 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
    max-width: 320px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.72);
}



/* RESPONSIVE */

@media (max-width: 1200px) {
    .hero-title,
    .single-post-title,
    .blog-page-title,
    .page-title {
        font-size: 58px;
    }

    .hero-text,
    .blog-page-text,
    .page-description {
        font-size: 22px;
    }

    .single-post-content {
        font-size: 20px;
    }
}

@media (max-width: 1100px) {
    .latest-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 991px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .featured-grid,
    .single-post-grid,
    .about-intro-grid,
    .about-values-grid,
    .about-stats-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .single-post-sidebar {
        position: static;
    }

    .newsletter-box {
        padding: 48px 32px;
    }

    .newsletter-box h2 {
        font-size: 40px;
    }

    .newsletter-box p {
        font-size: 18px;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .blog-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .container {
        width: min(1280px, calc(100% - 28px));
    }

    .site-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .header-inner {
        min-height: 84px;
    }

    .site-logo-text {
        font-size: 18px;
    }

    .site-logo-badge {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .icon-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .header-search-bar.is-open {
        padding: 14px 0 16px;
    }

    .header-search-bar .custom-search-form {
        max-width: none;
    }

    .header-search-bar .custom-search-form-inner,
    .custom-search-form-inner {
        grid-template-columns: 1fr;
    }

    .header-search-bar .custom-search-input,
    .header-search-bar .custom-search-button,
    .custom-search-input,
    .custom-search-button {
        height: 50px;
        border-radius: 14px;
        font-size: 16px;
    }

    .hero-section {
        padding: 80px 0 100px;
    }

    .hero-title,
    .single-post-title,
    .blog-page-title,
    .page-title {
        font-size: 38px;
        line-height: 1.14;
        letter-spacing: -1px;
    }

    .hero-text,
    .blog-page-text,
    .page-description,
    .single-post-content,
    .single-post-stats,
    .single-post-author-box-content p {
        font-size: 18px;
    }

    .hero-button {
        width: 100%;
        min-width: auto;
        height: 58px;
        font-size: 18px;
    }

    .hero-actions {
        gap: 12px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .featured-card-image {
        min-height: 420px;
    }

    .featured-card-content,
    .featured-side-content,
    .post-card-body,
    .related-post-body,
    .single-sidebar-box,
    .single-post-author-box,
    .about-intro-content,
    .about-intro-card,
    .about-content-box,
    .about-value-card,
    .about-stat-card,
    .about-cta-box,
    .error-box,
    .search-empty-box {
        padding: 24px;
    }

    .featured-card-content h3,
    .featured-side-content h3,
    .post-card-body h3,
    .related-post-body h3 {
        font-size: 24px;
    }

    .featured-card-content p,
    .post-card-body p {
        font-size: 16px;
    }

    .latest-posts-grid {
        grid-template-columns: 1fr;
    }

    .post-card-image,
    .related-post-image {
        height: 240px;
    }

    .all-posts-link {
        font-size: 20px;
    }

    .single-post-author-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .single-sidebar-box h3,
    .related-posts h2,
    .about-intro-content h2,
    .about-cta-box h2 {
        font-size: 28px;
    }

    .error-title {
        font-size: 34px;
    }

    .error-text,
    .search-empty-box p {
        font-size: 17px;
    }

    .search-empty-box h2 {
        font-size: 28px;
    }

    .newsletter-box {
        padding: 34px 20px;
        border-radius: 24px;
    }

    .newsletter-box h2 {
        font-size: 30px;
    }

    .newsletter-form input,
    .newsletter-form button {
        height: 60px;
        font-size: 18px;
    }
}
/* CARD HOVER EFFECT */

.post-card,
.featured-main-card,
.featured-side-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover,
.featured-main-card:hover,
.featured-side-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* IMAGE ZOOM */

.post-card-image img,
.featured-card-image img,
.featured-side-image img {
    transition: transform 0.4s ease;
}

.post-card:hover img,
.featured-main-card:hover img,
.featured-side-card:hover img {
    transform: scale(1.06);
}
.featured-card-image::after,
.featured-side-image::after {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9),
        rgba(0, 0, 0, 0.2)
    );
}
.post-card h3,
.featured-card-content h3,
.featured-side-content h3 {
    transition: color 0.2s ease;
}

.post-card:hover h3,
.featured-main-card:hover h3,
.featured-side-card:hover h3 {
    color: #a5b4ff;
}
/* HERO ANIMATION */

.hero-box {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFade 0.9s ease forwards;
}

@keyframes heroFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* SCROLL ANIMATION */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* NAVBAR EFFECT */

.site-header {
    transition: all 0.3s ease;
}

.site-header.scrolled {
    backdrop-filter: blur(14px);
    background: rgba(5,5,5,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.site-header.scrolled .header-inner {
    min-height: 74px;
}
.hero-button-primary:hover {
    background: #ffffff;
    transform: translateY(-2px) scale(1.02);
}

.hero-button-secondary:hover {
    background: rgba(255,255,255,0.08);
}
.post-card:hover,
.featured-main-card:hover,
.featured-side-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.single-post-content h2 {
    scroll-margin-top: 120px;
}
.single-sidebar-box a {
    display: block;
    transition: color 0.2s ease, transform 0.2s ease;
}

.single-sidebar-box a:hover {
    color: #ffffff;
    transform: translateX(4px);
}
html {
    scroll-behavior: smooth;
}
.single-sidebar-box .toc-link {
    display: block;
    color: rgba(255, 255, 255, 0.62);
    transition: all 0.2s ease;
}

.single-sidebar-box .toc-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.single-sidebar-box .toc-link.is-active {
    color: #ffffff;
    transform: translateX(6px);
    font-weight: 700;
}
.site-logo .custom-logo-link,
.site-logo-fallback {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.site-logo .custom-logo {
    max-height: 52px;
    width: auto;
    display: block;
}

.footer-logo .custom-logo {
    max-height: 48px;
}
.site-logo .custom-logo {
    max-height: 40px;
    width: auto;
}

.site-header .site-logo img {
    max-height: 40px;
}.site-logo img,
.site-logo .custom-logo,
.site-logo .custom-logo-link img,
.custom-logo-link img {
    max-height: 38px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
}

.site-logo .custom-logo-link {
    display: inline-flex !important;
    align-items: center !important;
}

.site-header .site-logo {
    max-width: 240px;
    overflow: hidden;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    opacity: 0.7;
}