/* =====================================================
   NEXABLOG
   MODERN WIDE BLOG DESIGN
===================================================== */


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "DM Sans", sans-serif;
    background: #ffffff;
    color: #20212a;
    line-height: 1.6;
    overflow-x: hidden;
}


img {
    display: block;
    width: 100%;
}


a {
    text-decoration: none;
    color: inherit;
}


button,
input {
    font-family: inherit;
}


button {
    border: none;
    background: none;
    cursor: pointer;
}


ul {
    list-style: none;
}


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --primary: #536dfe;
    --primary-dark: #3e56e8;

    --purple: #9b7cf7;
    --purple-light: #f0ebff;

    --blue-light: #edf2ff;

    --text: #20212a;
    --text-light: #696d7b;
    --text-muted: #8e929e;

    --border: #e8e9ee;

    --background: #ffffff;
    --background-soft: #f8f9fc;

    --dark: #171b29;

    --green: #4ebc91;

    --container: 1450px;

}


/* =====================================================
   GLOBAL CONTAINER
===================================================== */

.page-container,
.header-inner {

    width: min(
        calc(100% - 64px),
        var(--container)
    );

    margin-left: auto;
    margin-right: auto;

}


/* =====================================================
   HEADER
===================================================== */

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    height: 82px;

    background: rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);

}


.header-inner {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

}


/* =====================================================
   LOGO
===================================================== */

.logo {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

}


.logo-mark {

    width: 34px;

    height: 34px;

    display: grid;

    place-items: center;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #5f76ff,
            #7560e9
        );

    border-radius: 8px;

    transform: skew(-8deg);

    font-size: 15px;

}


.logo-text {

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 20px;

    font-weight: 800;

    letter-spacing: -0.7px;

}


.logo-text span {

    color: var(--primary);

}


/* =====================================================
   NAVIGATION
===================================================== */

.main-nav {

    display: flex;

    align-items: center;

    gap: 34px;

    margin-left: auto;

}


.nav-link {

    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #666b78;

    font-size: 13px;

    font-weight: 600;

    transition: 0.25s ease;

}


.nav-link:hover,
.nav-link.active {

    color: var(--text);

}


.nav-link.active::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -30px;

    width: 100%;

    height: 2px;

    background: var(--primary);

}


.dropdown {

    position: relative;

}


.dropdown-toggle i {

    font-size: 9px;

    transition: 0.25s ease;

}


.dropdown:hover
.dropdown-toggle i {

    transform: rotate(180deg);

}


/* =====================================================
   DROPDOWN
===================================================== */

.dropdown-menu {

    position: absolute;

    top: calc(100% + 25px);

    left: -20px;

    width: 190px;

    padding: 10px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 10px;

    box-shadow:
        0 18px 45px
        rgba(25, 31, 50, 0.12);

    opacity: 0;

    visibility: hidden;

    transform: translateY(8px);

    transition: 0.25s ease;

}


.dropdown:hover .dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


.dropdown-menu a {

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 11px;

    border-radius: 7px;

    color: #676b77;

    font-size: 12px;

    transition: 0.2s ease;

}


.dropdown-menu a i {

    width: 20px;

    color: var(--primary);

    text-align: center;

}


.dropdown-menu a:hover {

    background: var(--background-soft);

    color: var(--text);

}


/* =====================================================
   HEADER ACTIONS
===================================================== */

.header-actions {

    display: flex;

    align-items: center;

    gap: 20px;

}


.search-button {

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    color: #666a76;

    border-radius: 50%;

    transition: 0.25s ease;

}


.search-button:hover {

    color: var(--primary);

    background: var(--blue-light);

}


.login-link {

    color: #555a68;

    font-size: 12px;

    font-weight: 600;

}


.header-button {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    min-height: 42px;

    padding: 0 17px;

    background: var(--primary);

    color: #ffffff;

    border-radius: 8px;

    font-size: 12px;

    font-weight: 700;

    box-shadow:
        0 8px 20px
        rgba(83, 109, 254, 0.2);

    transition: 0.25s ease;

}


.header-button:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);

}


.header-button i {

    font-size: 10px;

}


.mobile-menu-button {

    display: none;

    width: 40px;

    height: 40px;

    font-size: 20px;

}


/* =====================================================
   SEARCH OVERLAY
===================================================== */

.search-overlay {

    position: fixed;

    inset: 0;

    z-index: 3000;

    display: grid;

    place-items: center;

    background:
        rgba(13, 17, 28, 0.96);

    opacity: 0;

    visibility: hidden;

    transition: 0.3s ease;

}


.search-overlay.active {

    opacity: 1;

    visibility: visible;

}


.close-search {

    position: absolute;

    top: 30px;

    right: 40px;

    width: 44px;

    height: 44px;

    display: grid;

    place-items: center;

    color: #ffffff;

    font-size: 22px;

}


.search-container {

    width: min(
        750px,
        calc(100% - 40px)
    );

}


.search-label {

    display: block;

    margin-bottom: 15px;

    color: #8990a3;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

}


.search-field {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px 0;

    border-bottom: 1px solid #505665;

}


.search-field i {

    color: var(--primary);

    font-size: 18px;

}


.search-field input {

    width: 100%;

    outline: none;

    border: none;

    background: transparent;

    color: #ffffff;

    font-size: 25px;

}


.search-field input::placeholder {

    color: #5e6370;

}


.search-hint {

    margin-top: 15px;

    color: #777d8c;

    font-size: 11px;

}


/* =====================================================
   HERO
===================================================== */

.hero-section {

    position: relative;

    padding:
        95px
        0
        80px;

    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            #f9fbff 0%,
            #ffffff 65%
        );

}


.hero-section::before {

    content: "";

    position: absolute;

    width: 550px;

    height: 550px;

    right: -220px;

    top: -250px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(111, 130, 255, 0.12),
            transparent 65%
        );

}


.hero-section .page-container {

    display: grid;

    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(330px, 0.9fr);

    align-items: center;

    gap: 80px;

}


.section-kicker {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.8px;

}


.section-kicker > span {

    width: 24px;

    height: 2px;

    background: var(--primary);

}


.hero-content h1 {

    max-width: 780px;

    margin-top: 17px;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        clamp(48px, 5.2vw, 76px);

    line-height: 1.05;

    letter-spacing: -3.8px;

    font-weight: 800;

}


.hero-content h1 span {

    color: var(--primary);

}


.hero-content > p {

    max-width: 650px;

    margin-top: 24px;

    color: var(--text-light);

    font-size: 15px;

    line-height: 1.8;

}


.hero-actions {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 32px;

}


.primary-button {

    min-height: 47px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 11px;

    padding:
        0 19px;

    color: #ffffff;

    background: var(--primary);

    border-radius: 7px;

    font-size: 12px;

    font-weight: 700;

    box-shadow:
        0 10px 24px
        rgba(83, 109, 254, 0.18);

    transition: 0.25s ease;

}


.primary-button:hover {

    transform: translateY(-2px);

    background: var(--primary-dark);

}


.secondary-button {

    min-height: 47px;

    display: inline-flex;

    align-items: center;

    padding:
        0 18px;

    color: #555a67;

    border: 1px solid var(--border);

    border-radius: 7px;

    background: #ffffff;

    font-size: 12px;

    font-weight: 700;

    transition: 0.25s ease;

}


.secondary-button:hover {

    border-color: #cfd4ff;

    color: var(--primary);

}


/* =====================================================
   HERO VISUAL
===================================================== */

.hero-visual {

    position: relative;

    min-height: 330px;

}


.hero-visual::before {

    content: "";

    position: absolute;

    width: 300px;

    height: 300px;

    left: 50%;

    top: 50%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #eaf0ff,
            #f7f2ff
        );

}


.hero-orbit {

    position: absolute;

    left: 50%;

    top: 50%;

    transform:
        translate(-50%, -50%);

    border: 1px solid #dfe4fb;

    border-radius: 50%;

}


.hero-orbit-one {

    width: 380px;

    height: 210px;

    transform:
        translate(-50%, -50%)
        rotate(25deg);

}


.hero-orbit-two {

    width: 380px;

    height: 210px;

    transform:
        translate(-50%, -50%)
        rotate(-25deg);

}


.hero-floating-card {

    position: absolute;

    z-index: 3;

    left: 50%;

    top: 50%;

    transform:
        translate(-50%, -50%);

    width: 265px;

    padding: 20px;

    display: flex;

    align-items: center;

    gap: 13px;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 13px;

    box-shadow:
        0 25px 60px
        rgba(54, 66, 105, 0.15);

}


.floating-icon {

    width: 45px;

    height: 45px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    color: var(--primary);

    background: var(--blue-light);

    border-radius: 10px;

}


.hero-floating-card strong {

    display: block;

    color: var(--text);

    font-size: 12px;

}


.hero-floating-card > div span {

    display: block;

    margin-top: 3px;

    color: var(--text-muted);

    font-size: 11px;

}


/* =====================================================
   SECTION COMMON
===================================================== */

.recent-section,
.articles-section,
.categories-section {

    padding:
        75px
        0;

}


.section-header {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 32px;

}


.section-header h2 {

    margin-top: 8px;

    color: var(--text);

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 30px;

    line-height: 1.2;

    letter-spacing: -1.3px;

}


.view-all {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #5f6471;

    font-size: 12px;

    font-weight: 700;

}


.view-all i {

    color: var(--primary);

    transition: 0.25s ease;

}


.view-all:hover i {

    transform: translateX(5px);

}


/* =====================================================
   RECENT LAYOUT
===================================================== */

.recent-layout {

    display: grid;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(390px, 0.75fr);

    gap: 30px;

}


/* =====================================================
   FEATURED POST
===================================================== */

.featured-post {

    display: grid;

    grid-template-columns:
        minmax(340px, 1.05fr)
        minmax(320px, 0.95fr);

    min-height: 400px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid var(--border);

    border-radius: 12px;

    box-shadow:
        0 12px 35px
        rgba(30, 39, 70, 0.045);

}


.featured-image {

    position: relative;

    min-height: 400px;

    overflow: hidden;

}


.featured-image img {

    height: 100%;

    object-fit: cover;

    transition: 0.7s ease;

}


.featured-post:hover
.featured-image img {

    transform: scale(1.05);

}


.image-gradient {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(10, 14, 25, 0.25),
            transparent 55%
        );

}


.featured-label {

    position: absolute;

    top: 18px;

    left: 18px;

    padding: 6px 10px;

    color: #ffffff;

    background: rgba(83, 109, 254, 0.95);

    border-radius: 5px;

    font-size: 10px;

    font-weight: 700;

}


.featured-info {

    padding:
        36px 34px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.post-meta {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    color: #8c909c;

    font-size: 11px;

}


.category-badge {

    display: inline-flex;

    align-items: center;

    padding:
        5px 8px;

    border-radius: 4px;

    font-size: 10px;

    font-weight: 700;

}


.category-badge.news {

    color: #6e67c9;

    background: #f0edff;

}


.category-badge.inspiration {

    color: #be7391;

    background: #fff0f5;

}


.category-badge.tech {

    color: #4b73c8;

    background: #edf3ff;

}


.category-badge.business {

    color: #4c9a7a;

    background: #eaf9f2;

}


.category-badge.design {

    color: #bc7752;

    background: #fff1e9;

}


.category-badge.lifestyle {

    color: #688f68;

    background: #eef8ed;

}


.featured-info h3 {

    margin-top: 17px;

    max-width: 570px;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        clamp(28px, 2.5vw, 39px);

    line-height: 1.15;

    letter-spacing: -1.5px;

}


.featured-info > p {

    margin-top: 15px;

    color: var(--text-light);

    font-size: 13px;

    line-height: 1.7;

}


.featured-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 25px;

}


.author {

    display: flex;

    align-items: center;

    gap: 10px;

}


.author img {

    width: 35px;

    height: 35px;

    object-fit: cover;

    border-radius: 50%;

}


.author strong {

    display: block;

    color: var(--text);

    font-size: 11px;

}


.author span {

    display: block;

    color: var(--text-muted);

    font-size: 11px;

}


.read-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--text);

    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;

}


.read-link i {

    color: var(--primary);

    transition: 0.25s ease;

}


.read-link:hover i {

    transform: translateX(4px);

}


/* =====================================================
   SIDE POSTS
===================================================== */

.side-posts {

    display: flex;

    flex-direction: column;

    gap: 13px;

}


.side-post {

    display: grid;

    grid-template-columns: 145px 1fr;

    gap: 16px;

    padding-bottom: 13px;

    border-bottom: 1px solid var(--border);

}


.side-post:last-child {

    padding-bottom: 0;

    border-bottom: none;

}


.side-post-image {

    height: 120px;

    overflow: hidden;

    border-radius: 8px;

}


.side-post-image img {

    height: 100%;

    object-fit: cover;

    transition: 0.5s ease;

}


.side-post:hover
.side-post-image img {

    transform: scale(1.06);

}


.side-post-content {

    min-width: 0;

}


.side-post-content .post-meta {

    margin-top: 1px;

}


.side-post-content h3 {

    margin-top: 8px;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 15px;

    line-height: 1.35;

    letter-spacing: -0.3px;

}


.side-post-content p {

    margin-top: 7px;

    color: var(--text-muted);

    font-size: 11px;

}


/* =====================================================
   ARTICLES SECTION
===================================================== */

.articles-section {

    background: var(--background-soft);

    border-top:
        1px solid #f0f1f5;

    border-bottom:
        1px solid #f0f1f5;

}


.category-filters {

    display: flex;

    align-items: center;

    gap: 6px;

    flex-wrap: wrap;

}


.filter-button {

    padding:
        8px 12px;

    color: #777b87;

    background: #ffffff;

    border:
        1px solid var(--border);

    border-radius: 6px;

    font-size: 11px;

    font-weight: 600;

    transition: 0.2s ease;

}


.filter-button:hover {

    color: var(--primary);

    border-color:
        #cdd4ff;

}


.filter-button.active {

    color: #ffffff;

    background: var(--primary);

    border-color: var(--primary);

}


/* =====================================================
   ARTICLE GRID
===================================================== */

.articles-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px 20px;

}


.article-card {

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid var(--border);

    border-radius: 10px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.article-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 18px 45px
        rgba(33, 43, 76, 0.09);

}


.article-card.hidden {

    display: none;

}


.article-image {

    position: relative;

    height: 230px;

    overflow: hidden;

}


.article-image img {

    height: 100%;

    object-fit: cover;

    transition: 0.6s ease;

}


.article-card:hover
.article-image img {

    transform: scale(1.05);

}


.save-button {

    position: absolute;

    top: 13px;

    right: 13px;

    width: 34px;

    height: 34px;

    display: grid;

    place-items: center;

    color: #656a77;

    background:
        rgba(255, 255, 255, 0.94);

    border-radius: 50%;

    font-size: 13px;

    transition: 0.2s ease;

}


.save-button:hover,
.save-button.saved {

    color: #ffffff;

    background: var(--primary);

}


.article-content {

    padding:
        20px;

}


.article-meta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    color: var(--text-muted);

    font-size: 11px;

}


.article-meta .category-badge {

    flex-shrink: 0;

}


.article-content h3 {

    margin-top: 12px;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 19px;

    line-height: 1.3;

    letter-spacing: -0.6px;

}


.article-content > p {

    margin-top: 10px;

    color: var(--text-light);

    font-size: 12px;

    line-height: 1.7;

}


.article-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 19px;

    padding-top: 14px;

    border-top: 1px solid var(--border);

    color: var(--text-muted);

    font-size: 11px;

}


.article-footer a {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--text);

    font-weight: 700;

}


.article-footer a i {

    color: var(--primary);

    transition: 0.2s ease;

}


.article-footer a:hover i {

    transform: translateX(4px);

}


/* =====================================================
   CATEGORIES
===================================================== */

.categories-section {

    background: #ffffff;

}


.categories-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;

}


.topic-card {

    position: relative;

    min-height: 145px;

    padding: 23px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: 11px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


.topic-card::before {

    content: "";

    position: absolute;

    width: 150px;

    height: 150px;

    right: -65px;

    top: -65px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.5);

}


.topic-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 15px 35px
        rgba(30, 40, 70, 0.08);

}


.topic-tech {

    background: #f1f5ff;

}


.topic-business {

    background: #eefaf4;

}


.topic-design {

    background: #fff5ee;

}


.topic-life {

    background: #f2f8ef;

}


.topic-icon {

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    background: #ffffff;

    border-radius: 8px;

    color: var(--primary);

}


.topic-business .topic-icon {

    color: #45a77d;

}


.topic-design .topic-icon {

    color: #c27b51;

}


.topic-life .topic-icon {

    color: #709b6b;

}


.topic-card h3 {

    margin-top: 13px;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size: 15px;

}


.topic-card span {

    color: var(--text-muted);

    font-size: 11px;

}


.topic-arrow {

    position: absolute;

    right: 20px;

    bottom: 20px;

    color: #969ba7;

    font-size: 12px;

    transition: 0.25s ease;

}


.topic-card:hover .topic-arrow {

    color: var(--primary);

    transform: translateX(4px);

}


/* =====================================================
   NEWSLETTER
===================================================== */

.newsletter-section {

    padding:
        20px
        0
        80px;

}


.newsletter-box {

    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(360px, 0.7fr);

    align-items: center;

    gap: 70px;

    padding:
        55px 65px;

    overflow: hidden;

    color: #ffffff;

    background:
        linear-gradient(
            115deg,
            #252b41,
            #1b2032
        );

    border-radius: 14px;

}


.newsletter-box::before {

    content: "";

    position: absolute;

    width: 330px;

    height: 330px;

    right: -100px;

    top: -130px;

    border-radius: 50%;

    background:
        rgba(92, 113, 255, 0.15);

}


.section-kicker.light {

    color: #8ea0ff;

}


.section-kicker.light > span {

    background: #8ea0ff;

}


.newsletter-text {

    position: relative;

    z-index: 2;

}


.newsletter-text h2 {

    max-width: 550px;

    margin-top: 11px;

    font-family:
        "Plus Jakarta Sans",
        sans-serif;

    font-size:
        clamp(28px, 3vw, 42px);

    line-height: 1.15;

    letter-spacing: -1.5px;

}


.newsletter-text p {

    max-width: 520px;

    margin-top: 13px;

    color: #9ba1b2;

    font-size: 12px;

}


.newsletter-form {

    position: relative;

    z-index: 2;

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

}


.email-input {

    flex: 1 1 220px;

    height: 46px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        0 14px;

    background:
        rgba(255, 255, 255, 0.06);

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 7px;

}


.email-input i {

    color: #8997ff;

    font-size: 13px;

}


.email-input input {

    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: #ffffff;

    font-size: 11px;

}


.email-input input::placeholder {

    color: #72798c;

}


.newsletter-form button {

    height: 46px;

    padding:
        0 17px;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #ffffff;

    background: var(--primary);

    border-radius: 7px;

    font-size: 11px;

    font-weight: 700;

    transition: 0.25s ease;

}


.newsletter-form button:hover {

    background: #647cff;

}


.newsletter-form small {

    width: 100%;

    color: #656c7f;

    font-size: 11px;

}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    padding:
        65px
        0
        25px;

    background: #f7f8fb;

    border-top:
        1px solid var(--border);

}


.footer-grid {

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr;

    gap: 50px;

}


.footer-brand {

    max-width: 330px;

}


.footer-brand p {

    margin-top: 16px;

    color: var(--text-light);

    font-size: 12px;

}


.social-links {

    display: flex;

    gap: 7px;

    margin-top: 20px;

}


.social-links a {

    width: 34px;

    height: 34px;

    display: grid;

    place-items: center;

    color: #777c88;

    background: #ffffff;

    border:
        1px solid var(--border);

    border-radius: 7px;

    font-size: 12px;

    transition: 0.2s ease;

}


.social-links a:hover {

    color: #ffffff;

    background: var(--primary);

    border-color: var(--primary);

}


.footer-column h4 {

    margin-bottom: 16px;

    color: var(--text);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;

}


.footer-column a {

    display: block;

    margin-bottom: 9px;

    color: var(--text-light);

    font-size: 11px;

    transition: 0.2s ease;

}


.footer-column a:hover {

    color: var(--primary);

}


.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 50px;

    padding-top: 20px;

    border-top:
        1px solid var(--border);

    color: #9a9eaa;

    font-size: 11px;

}


/* =====================================================
   REVEAL
===================================================== */

.reveal {

    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity 0.65s ease,
        transform 0.65s ease;

}


.reveal.show {

    opacity: 1;

    transform:
        translateY(0);

}


/* =====================================================
   RESPONSIVE — 1200px
===================================================== */

@media (max-width: 1200px) {

    :root {
        --container: 1180px;
    }


    .main-nav {

        gap: 22px;

    }


    .recent-layout {

        grid-template-columns:
            minmax(0, 1.4fr)
            minmax(320px, 0.7fr);

    }


    .featured-post {

        grid-template-columns:
            1fr;

    }


    .featured-image {

        height: 330px;

        min-height: 330px;

    }


    .featured-info {

        padding: 28px;

    }


    .categories-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* =====================================================
   RESPONSIVE — 900px
===================================================== */

@media (max-width: 900px) {

    .page-container,
    .header-inner {

        width:
            calc(100% - 40px);

    }


    .main-nav {

        position: fixed;

        top: 82px;

        left: 20px;

        right: 20px;

        padding: 20px;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 5px;

        background: #ffffff;

        border:
            1px solid var(--border);

        border-radius: 10px;

        box-shadow:
            0 20px 50px
            rgba(20, 28, 50, 0.12);

        opacity: 0;

        visibility: hidden;

        transform:
            translateY(-10px);

        transition: 0.25s ease;

    }


    .main-nav.open {

        opacity: 1;

        visibility: visible;

        transform:
            translateY(0);

    }


    .nav-link {

        width: 100%;

        padding: 12px;

    }


    .nav-link.active::after {

        display: none;

    }


    .dropdown-menu {

        position: static;

        width: 100%;

        margin-top: 5px;

        display: none;

        box-shadow: none;

        border:
            1px solid var(--border);

    }


    .dropdown:hover .dropdown-menu {

        display: none;

    }


    .dropdown.open .dropdown-menu {

        display: block;

    }


    .mobile-menu-button {

        display: grid;

        place-items: center;

    }


    .login-link,
    .header-button {

        display: none;

    }


    .hero-section .page-container {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .hero-content h1 {

        max-width: 850px;

    }


    .hero-visual {

        min-height: 280px;

    }


    .recent-layout {

        grid-template-columns: 1fr;

    }


    .side-posts {

        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 15px;

    }


    .side-post {

        display: block;

        padding: 0;

        border: none;

    }


    .side-post-image {

        height: 150px;

    }


    .side-post-content {

        padding-top: 12px;

    }


    .articles-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .newsletter-box {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .footer-grid {

        grid-template-columns:
            2fr
            1fr
            1fr;

    }

}


/* =====================================================
   RESPONSIVE — 650px
===================================================== */

@media (max-width: 650px) {

    .page-container,
    .header-inner {

        width:
            calc(100% - 28px);

    }


    .header {

        height: 70px;

    }


    .main-nav {

        top: 70px;

        left: 14px;

        right: 14px;

    }


    .logo-text {

        font-size: 18px;

    }


    .logo-mark {

        width: 31px;

        height: 31px;

    }


    .hero-section {

        padding:
            65px
            0
            55px;

    }


    .hero-content h1 {

        font-size:
            clamp(40px, 12vw, 58px);

        letter-spacing: -2.5px;

    }


    .hero-content > p {

        font-size: 13px;

    }


    .hero-actions {

        flex-direction: column;

        align-items: flex-start;

    }


    .hero-visual {

        min-height: 240px;

    }


    .hero-visual::before {

        width: 220px;

        height: 220px;

    }


    .hero-orbit-one,
    .hero-orbit-two {

        width: 280px;

        height: 160px;

    }


    .hero-floating-card {

        width: 230px;

        padding: 16px;

    }


    .recent-section,
    .articles-section,
    .categories-section {

        padding:
            55px
            0;

    }


    .section-header {

        align-items: flex-start;

        flex-direction: column;

        gap: 18px;

    }


    .section-header h2 {

        font-size: 27px;

    }


    .featured-image {

        height: 270px;

        min-height: 270px;

    }


    .featured-info {

        padding: 24px 20px;

    }


    .featured-info h3 {

        font-size: 26px;

    }


    .featured-bottom {

        align-items: flex-start;

        flex-direction: column;

    }


    .side-posts {

        display: flex;

    }


    .side-post {

        display: grid;

        grid-template-columns:
            115px 1fr;

        gap: 13px;

        padding-bottom: 13px;

        border-bottom:
            1px solid var(--border);

    }


    .side-post-image {

        height: 100px;

    }


    .side-post-content h3 {

        font-size: 13px;

    }


    .articles-grid {

        grid-template-columns: 1fr;

    }


    .article-image {

        height: 240px;

    }


    .category-filters {

        width: 100%;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 4px;

    }


    .filter-button {

        white-space: nowrap;

    }


    .categories-grid {

        grid-template-columns: 1fr;

    }


    .newsletter-section {

        padding:
            0
            0
            55px;

    }


    .newsletter-box {

        padding:
            38px
            24px;

    }


    .newsletter-text h2 {

        font-size: 30px;

    }


    .newsletter-form {

        display: grid;

        grid-template-columns: 1fr;

    }


    .email-input {

        width: 100%;

    }


    .newsletter-form button {

        width: 100%;

        justify-content: center;

    }


    .footer {

        padding:
            50px
            0
            20px;

    }


    .footer-grid {

        grid-template-columns:
            1fr 1fr;

        gap: 35px 25px;

    }


    .footer-brand {

        grid-column:
            1 / -1;

    }


    .footer-bottom {

        align-items: flex-start;

        flex-direction: column;

        margin-top: 35px;

    }

}


/* =====================================================
   RESPONSIVE — 420px
===================================================== */

@media (max-width: 420px) {

    .header-actions {

        gap: 5px;

    }


    .search-button {

        width: 34px;

        height: 34px;

    }


    .hero-content h1 {

        font-size: 40px;

    }


    .featured-info h3 {

        font-size: 23px;

    }


    .side-post {

        grid-template-columns:
            100px 1fr;

    }


    .side-post-image {

        height: 90px;

    }


    .side-post-content h3 {

        font-size: 12px;

    }


    .article-image {

        height: 215px;

    }


    .article-content h3 {

        font-size: 18px;

    }


    .newsletter-box {

        padding:
            32px
            18px;

    }


    .footer-grid {

        grid-template-columns: 1fr;

    }

}