/*
 *   License: MIT
 *   Aurora Theme 
 *   github.com/bijju089/aurora-theme
 */

/*
 *  [ HTML & BODY ]
 */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
body.dark .preloader {
    background-color: #333;
}


#wrapper>.ui.container {
    margin-top: 3rem;
}

.ui.steps {
    border: none;
}

.ui.vertical.white.animated.button {
    background: transparent;
}

    @media (max-width: 767px) { 
      .ui.grid .column {
        width: 100% !important; 
      }
    }

@media only screen and (max-width: 768px) {
    #mobnavbar {
        display: block !important;
    }

    #pcnavbar {
        display: none;
    }
}

.ui.vertical.animated.button {
    background: none;
    border: none;
    color: #fff; 
    cursor: pointer;
    padding: 0;
    text-align: center;
}

.ui.aurora.navbar.button {
    background: none;
    border: none;
    color: #fff; 
    cursor: pointer;
    padding: 5px;
    text-align: center;
}
/* 
 * [ CARDS & SEGMENT ]
 */
.ui.segment {
   border-radius: 10px;
}
.ui.card {
   border-radius: 10px;
}
/*
 *  [ GHOST MODULE ]
 */

.latest-news-image {
    height: 50px;
    width: 50px;
    overflow: hidden;
    border-radius: 0.25rem;
    margin-top: 0.3rem;
}

.latest-news-image img {
    height: 100%;
    max-width: none;
}

.latest-news-name {
    font-weight: 600;
    color: #fff;
}

.latest-news-date,
.latest-news-readtime {
    color: rgb(189 189 189);
}

.ghost-list {
    padding-top: 1rem;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 1.5rem;
}

.post-card-large {
    grid-area: span 1 / span 6;
    display: flex;
    flex-direction: row;
    background-color: #303030;
    border-radius: 0.25rem;
}

.post-card-large .ghost-card-img {
    flex: 1 1 60%;
    overflow: hidden;
    position: relative;
}

.post-card-large .ghost-card-img img {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-large .ghost-card-body {
    flex: 1 1 40%;
    padding: 2.5rem 2.5rem;
}

.post-card-large .ghost-card-title {
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.post-card-large .ghost-card-footer {
    display: flex;
    margin-top: 1.5rem;
}

.post-card-large .ghost-readtime {
    margin: auto 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.post-card-medium {
    grid-area: span 1 / span 3;
    background-color: #303030;
    border-radius: 0.25rem;
}

.post-card-medium .ghost-card-img {
    height: 250px;
    position: relative;
}

.post-card-medium .ghost-card-img img {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-medium .ghost-card-body {
    padding: 1.5rem 2rem;
}

.post-card-medium .ghost-card-title {
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.post-card-medium .ghost-card-footer {
    display: flex;
    margin-top: 1.5rem;
}

.post-card-medium .ghost-readtime {
    margin: auto 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.post-card-small {
    grid-area: span 1 / span 2;
    background-color: #303030;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

@media only screen and (max-width: 767px) {
    .post-card-small {
        grid-area: span 1 / span 6;
    }

    .post-card-medium {
        grid-area: span 1 / span 6;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .post-card-small {
        grid-area: span 1 / span 3;
    }

    .post-card-medium {
        grid-area: span 1 / span 6;
    }
}

.post-card-small .ghost-card-img {
    height: 200px;
    position: relative;
}

.post-card-small .ghost-card-img img {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-small .ghost-card-body {
    padding: 1.5rem 2rem;
}

.post-card-small .ghost-card-title {
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.post-card-small .ghost-card-footer {
    display: flex;
    margin-top: 1.5rem;
}

.post-card-small .ghost-readtime {
    margin: auto 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.ghost-list .ghost-card-img img,
.ghost-card-title {
    transition: .25s;
}

.ghost-list .ghost-card-img {
    overflow: hidden;
}

.ghost-list .ghost-card-img img:hover {
    transform: scale(1.1) rotate(2deg);
}

body.dark .post-card-large,
body.dark .post-card-medium,
body.dark .post-card-small,
body.dark .cf-full-post {
    background: rgba(255, 255, 255, 0.03) !important;
}

body.dark .ghost-readtime,
body.dark .readtime {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.03) !important;
}

body.dark .ghost-card-content {
    color: white !important;
}

body.dark .cf-full-post-title {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.dark .cf-more-posts,
body.dark .cf-full-post-content {
    color: white !important;
}

body.dark .latest-news-name {
    color: white !important;
}

body.dark .latest-news-date,
body.dark .latest-news-readtime {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.dark .cf-home-title {
    color: rgba(255, 255, 255, 0.6);
}

.post-card-large,
.post-card-medium,
.post-card-small,
.cf-full-post {
    background: white !important;
}

.ghost-readtime,
.readtime {
    color: #303030 !important;
    background-color: rgba(247, 247, 247, 1) !important;
}

.ghost-card-content {
    color: #303030 !important;
}

.cf-full-post-title {
    color: rgba(0, 0, 0, .87) !important;
}

.cf-full-post-title {
    color: rgba(0, 0, 0, .87) !important;
}

.cf-more-posts,
.cf-full-post-content {
    color: #303030 !important;
}

.latest-news-name {
    color: #303030 !important;
}

.latest-news-date,
.latest-news-readtime {
    color: rgb(189 189 189) !important;
}

.cf-home-title {
    color: rgba(0, 0, 0, .87);
}

.outside-footer {
    padding: 1.5rem 2rem;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.post-card-small,
.post-card-medium {
    position: relative
}

.cf-full-post-img {
    height: 300px;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 1rem;
}

.cf-full-post-content {
    overflow-wrap: break-word
}

.cf-full-post-img img {
    width: 100%;
    height: auto;
}

.cf-full-post-body {
    padding: 2rem 5%;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.cf-full-post-title {
    font-weight: 600;
    font-size: 2rem;
}

.cf-full-post .readtime {
    margin: auto 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.cf-full-post-content img {
    max-width: 100%;
}

/* Theme fix on darkmode */

body.dark .ui.fluid.centered.label {
    background: #303030;
    border-color: #303030;
    color: #fff;
    cursor: default;
}

body.dark .ui.pointing.menu:not(.inverted) .item {
    color: #fff;
}
body.dark .ui.pointing.menu {
    background: #282828;
    border: 1px solid #282828;
}

/*
 * Lithium-style redesign layer
 */

:root {
    --lithium-primary: #038157;
    --lithium-primary-hover: #049c69;
    --lithium-page: #100f10;
    --lithium-surface: #1b1b1b;
    --lithium-surface-2: #242424;
    --lithium-hover: rgba(255, 255, 255, 0.035);
    --lithium-border: rgba(255, 255, 255, 0.06);
    --lithium-text: rgba(255, 255, 255, 0.76);
    --lithium-muted: rgba(255, 255, 255, 0.52);
    --lithium-soft-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    --lithium-hard-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

html,
body,
body.pushable>.pusher,
.lithium-pusher {
    background: var(--lithium-page) !important;
    color: var(--lithium-text);
    font-family: Montserrat, Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-weight: 400;
}

body {
    overflow-x: hidden;
}

body::-webkit-scrollbar,
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

body::-webkit-scrollbar-track,
::-webkit-scrollbar-track {
    background: var(--lithium-page);
}

body::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

body::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.22);
}

a {
    color: var(--lithium-primary-hover);
}

a:hover {
    color: #18c58a;
}

.lithium-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.lithium-main {
    flex: 1 0 auto;
    width: 100%;
}

.lithium-main-container {
    margin-top: 0 !important;
}

.preloader {
    background: var(--lithium-page);
    color: #fff;
}

.preloader h3 {
    margin-top: 100px;
}

/* Header and navigation */

.lithium-header {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    background-color: var(--lithium-primary);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.lithium-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(transparent, rgba(0, 0, 0, 0.22)), linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(16, 15, 16, 0.18) 35%, var(--lithium-page) 100%);
    pointer-events: none;
}

.lithium-userbar,
.lithium-navbar,
.lithium-hero {
    position: relative;
    z-index: 1;
}

.lithium-userbar {
    background: #181818;
    min-height: 44px;
}

.lithium-userbar-inner,
.lithium-navbar-inner {
    display: flex !important;
    align-items: center;
}

.lithium-userbar-inner {
    min-height: 44px;
    justify-content: space-between;
}

.lithium-user-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-left: auto;
}

.lithium-user-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 34px;
    padding: 0 0.85rem;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.lithium-user-action:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.lithium-user-action-primary {
    color: #fff;
}

.lithium-user-action img,
.lithium-user-action .ui.image,
.lithium-user-avatar img,
.lithium-user-avatar .ui.image {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    border-radius: 50% !important;
    object-fit: cover;
}

.lithium-user-avatar {
    max-height: 34px;
    overflow: hidden;
}

.lithium-navbar {
    background: var(--lithium-primary);
    min-height: 64px;
}

.lithium-navbar-inner {
    min-height: 64px;
    justify-content: flex-start;
}

.lithium-brand {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
}

.lithium-brand:hover {
    color: rgba(255, 255, 255, 0.78);
}

.lithium-navlinks {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 1 auto;
    gap: 0.25rem;
    margin-left: 2rem;
}

.lithium-nav-link,
.lithium-nav-dropdown>.lithium-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 40px;
    padding: 0 0.9rem;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.lithium-nav-link:hover,
.lithium-nav-link.active,
.lithium-nav-dropdown:hover>.lithium-nav-link {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.lithium-nav-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.35rem;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
    transform: translateX(-50%);
}

.lithium-nav-link.highlighted {
    background: #fff;
    color: var(--lithium-primary);
    font-weight: 800;
}

.lithium-nav-link.highlighted:hover {
    color: var(--lithium-primary);
    opacity: 0.9;
}

.lithium-nav-toggle {
    display: none !important;
    margin-left: auto !important;
    color: #fff !important;
    font-size: 1.35rem;
}

.lithium-nav-dropdown .menu,
.lithium-popup.ui.popup,
.lithium-footer-dropdown .menu {
    background: var(--lithium-surface) !important;
    border: 1px solid var(--lithium-border) !important;
    border-radius: 0.5rem !important;
    box-shadow: var(--lithium-hard-shadow) !important;
}

.lithium-nav-dropdown .menu .item,
.lithium-footer-dropdown .menu .item,
.lithium-popup.ui.popup .item,
.lithium-popup.ui.popup .header {
    color: var(--lithium-text) !important;
}

.lithium-nav-dropdown .menu .item:hover,
.lithium-footer-dropdown .menu .item:hover,
.lithium-popup.ui.popup .item:hover {
    background: var(--lithium-hover) !important;
    color: #fff !important;
}

.lithium-hero {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
}

.lithium-header-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: lithium-logo 5s ease-in-out infinite;
}

.lithium-header-logo img {
    max-width: min(100%, 320px);
    max-height: 250px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

@keyframes lithium-logo {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.96);
    }
}

.lithium-header-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.lithium-header-status:hover {
    opacity: 0.78;
}

.lithium-header-status-icon {
    color: rgba(255, 255, 255, 0.76);
    font-size: 3rem;
    line-height: 1;
}

.lithium-header-status-content {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.lithium-header-status-title {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
    text-transform: uppercase;
}

.lithium-header-status-description {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.98rem;
    font-weight: 400;
}

@media (min-width: 992px) {
    .lithium-header-status {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        max-width: 290px;
    }

    .lithium-header-status-left {
        left: 1rem;
        text-align: left;
    }

    .lithium-header-status-left:hover {
        transform: translate(10px, -50%);
    }

    .lithium-header-status-right {
        right: 1rem;
        flex-direction: row-reverse;
        text-align: right;
    }

    .lithium-header-status-right:hover {
        transform: translate(-10px, -50%);
    }
}

@media (max-width: 991px) {
    .lithium-navlinks {
        display: none;
    }

    .lithium-nav-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .lithium-hero {
        flex-direction: column;
        gap: 1rem;
        min-height: auto;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .lithium-header-status {
        width: 100%;
        justify-content: center;
        background: rgba(0, 0, 0, 0.14);
        padding: 1rem 1.25rem;
        border-radius: 0.5rem;
        text-align: center;
    }

    .lithium-header-status-icon {
        display: none;
    }
}

@media (max-width: 576px) {
    .lithium-userbar-spacer,
    .lithium-user-action i {
        display: none;
    }

    .lithium-user-actions {
        justify-content: center;
        width: 100%;
    }

    .lithium-user-action {
        padding: 0 0.55rem;
        font-size: 0.8rem;
    }

    .lithium-brand {
        font-size: 1.1rem;
    }
}

/* Messages, cards, widgets and content */

.ui.segment,
.ui.card,
.ui.cards>.card,
.ui.vertical.menu,
.ui.attached.segment,
.ui.table,
.ui.comments,
.ui.threaded.comments {
    background: var(--lithium-surface) !important;
    border: 1px solid var(--lithium-border) !important;
    border-radius: 0.5rem !important;
    color: var(--lithium-text) !important;
    box-shadow: var(--lithium-soft-shadow) !important;
}

.ui.card>.content,
.ui.cards>.card>.content,
.ui.card>.extra,
.ui.cards>.card>.extra {
    border-color: var(--lithium-border) !important;
}

.ui.card>.content>.header,
.ui.cards>.card>.content>.header,
.ui.header,
.ui.header .sub.header,
.ui.list .list>.item .header,
.ui.list>.item .header,
.ui.table thead th,
.ui.form .field>label {
    color: var(--lithium-text) !important;
}

.ui.card .meta,
.ui.cards>.card .meta,
.ui.card>.content>.description,
.ui.cards>.card>.content>.description,
.ui.list .list>.item .description,
.ui.list>.item .description,
.ui.breadcrumb .divider,
.ui.comments .comment .metadata,
.ui.comments .comment .text,
.forum_post {
    color: var(--lithium-muted) !important;
}

.ui.message,
.ui.info.message,
.ui.warning.message,
.ui.negative.message,
.ui.error.message,
.announcement {
    background: var(--lithium-surface) !important;
    border: 1px solid var(--lithium-border) !important;
    border-radius: 0.5rem !important;
    color: var(--lithium-text) !important;
    box-shadow: var(--lithium-soft-shadow) !important;
}

.lithium-announcement {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem !important;
    border-left: 4px solid var(--lithium-primary) !important;
}

.lithium-announcement-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    background: rgba(3, 129, 87, 0.16);
    border-radius: 0.5rem;
    color: var(--lithium-primary-hover);
    font-size: 1.5rem;
}

.lithium-announcement-content h3 {
    margin: 0;
    color: var(--lithium-text);
    font-size: 1.2rem;
    font-weight: 800;
}

.lithium-announcement-content p {
    margin: 0.25rem 0 0.85rem;
    color: var(--lithium-muted);
}

.ui.button,
.ui.default.button {
    background: var(--lithium-surface-2) !important;
    color: var(--lithium-text) !important;
    border-radius: 0.5rem !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    transition: opacity 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.ui.button:hover,
.ui.default.button:hover {
    background: #2b2b2b !important;
    color: #fff !important;
}

.ui.primary.button,
.ui.primary.buttons .button,
.ui.blue.button {
    background: var(--lithium-primary) !important;
    color: #fff !important;
}

.ui.primary.button:hover,
.ui.primary.buttons .button:hover,
.ui.blue.button:hover {
    background: var(--lithium-primary-hover) !important;
}

.ui.input>input,
.ui.form input:not(.button),
.ui.form textarea,
.ui.selection.dropdown,
.ui.search.dropdown.active>input.search,
.ui.search.selection.dropdown>input.search {
    background: var(--lithium-surface-2) !important;
    border: 1px solid var(--lithium-border) !important;
    border-radius: 0.5rem !important;
    color: var(--lithium-text) !important;
}

.ui.dropdown .menu,
.ui.selection.dropdown .menu,
.ui.pointing.dropdown>.menu {
    background: var(--lithium-surface) !important;
    border: 1px solid var(--lithium-border) !important;
}

.ui.dropdown .menu>.item {
    color: var(--lithium-text) !important;
}

.ui.dropdown .menu>.item:hover {
    background: var(--lithium-hover) !important;
    color: #fff !important;
}

.ui.table thead th {
    background: var(--lithium-surface-2) !important;
    border-color: var(--lithium-border) !important;
}

.ui.table td {
    border-color: var(--lithium-border) !important;
}

.ui.pagination.menu {
    background: var(--lithium-surface) !important;
    border: 1px solid var(--lithium-border) !important;
    border-radius: 0.5rem !important;
}

.ui.pagination.menu .item {
    color: var(--lithium-text) !important;
}

.ui.pagination.menu .active.item {
    background: var(--lithium-primary) !important;
    color: #fff !important;
}

#news-post,
.lithium-news-card {
    overflow: hidden;
}

#news-post .content:first-child,
.lithium-news-card .content:first-child {
    padding: 1.5rem 1.6rem !important;
}

#news-post .header a {
    color: var(--lithium-text);
    font-size: 1.25rem;
    font-weight: 800;
}

#news-post .extra.content {
    background: rgba(255, 255, 255, 0.02) !important;
}

#news-post .avatar.image,
.ui.avatar.image {
    border-radius: 50% !important;
}

.lithium-custom-content,
.lithium-projects-section {
    padding: 1.6rem !important;
}

.lithium-custom-content h1,
.lithium-projects-section h1 {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
}

.lithium-project-card {
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lithium-project-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--lithium-hard-shadow) !important;
}

.lithium-project-card img {
    width: 100%;
    border-radius: 0.5rem !important;
}

[id*="widget"] .ui.card,
[id*="widget"].ui.card,
.widget .ui.card,
.widget .ui.segment {
    background: var(--lithium-surface) !important;
    border-color: var(--lithium-border) !important;
    border-radius: 0.5rem !important;
    overflow: hidden;
}

[id*="widget"] .content:first-child,
.widget .ui.card>.content:first-child,
.widget .ui.segment>.ui.header:first-child {
    background: transparent;
}

.ui.top.attached.header,
.ui.attached.header {
    background: var(--lithium-surface-2) !important;
    border-color: var(--lithium-border) !important;
    color: var(--lithium-text) !important;
}

.latest-news-name,
.latest-news-date,
.latest-news-readtime {
    color: var(--lithium-text) !important;
}

.latest-news-date,
.latest-news-readtime {
    color: var(--lithium-muted) !important;
}

/* Footer */

.lithium-footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: 2rem;
    background: #181818;
    color: var(--lithium-muted);
}

.lithium-footer-main .ui.container {
    padding-top: 3.25rem;
    padding-bottom: 2.5rem;
}

.lithium-footer-grid {
    display: grid;
    grid-template-columns: minmax(120px, 0.65fr) minmax(220px, 1.5fr) minmax(180px, 1fr) minmax(220px, 1fr);
    gap: 2rem;
    align-items: start;
}

.lithium-footer-logo {
    text-align: center;
}

.lithium-footer-logo img {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
    filter: grayscale(1);
    opacity: 0.78;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.lithium-footer-logo img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.lithium-footer-section {
    min-width: 0;
}

.lithium-footer-section:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.045);
    padding-left: 1.5rem;
}

.lithium-footer-section h4 {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.35rem;
    font-weight: 800;
}

.lithium-footer-section p {
    margin: 0;
    color: var(--lithium-muted);
    line-height: 1.75;
}

.lithium-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.lithium-footer-links a,
.lithium-footer-dropdown {
    display: flex;
    align-items: center;
    min-height: 34px;
    margin: 0 -0.75rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    color: var(--lithium-muted);
    font-size: 0.98rem;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease, padding 0.25s ease;
}

.lithium-footer-links a:hover,
.lithium-footer-dropdown:hover {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.9);
    padding-left: 1rem;
}

.lithium-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.lithium-footer-extra {
    border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.lithium-footer-extra-inner {
    display: flex !important;
    align-items: center;
    gap: 1rem;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.lithium-footer-info {
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.92rem;
    line-height: 1.45;
}

.lithium-footer-info strong {
    color: rgba(255, 255, 255, 0.72);
}

.lithium-footer-info a {
    color: rgba(255, 255, 255, 0.55);
}

.lithium-footer-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-left: auto;
}

.lithium-footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 0.9rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.78rem;
    font-weight: 700;
}

.lithium-footer-button:hover {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.75);
}

.lithium-footer-credit {
    margin-left: 0.5rem;
}

.lithium-footer-credit a {
    opacity: 0.28;
    transition: opacity 0.25s ease;
}

.lithium-footer-credit a:hover {
    opacity: 0.55;
}

.lithium-footer-credit img {
    height: 30px;
    width: auto;
    filter: grayscale(1);
}

.lithium-footer-button#darkmode {
    padding: 0 0.35rem;
}

.lithium-footer-button .darkmode-toggle-label {
    transform: scale(0.84);
}

@media (max-width: 1199px) {
    .lithium-footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .lithium-footer-logo {
        display: none;
    }
}

@media (max-width: 991px) {
    .lithium-footer-grid {
        grid-template-columns: 1fr;
    }

    .lithium-footer-section {
        border-left: 0 !important;
        padding-left: 0 !important;
    }

    .lithium-footer-extra-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .lithium-footer-buttons {
        justify-content: flex-start;
        margin-left: 0;
    }

    .lithium-footer-credit {
        position: absolute;
        right: 1rem;
        bottom: 1.6rem;
    }
}

@media (max-width: 576px) {
    .lithium-announcement {
        align-items: flex-start;
        flex-direction: column;
    }

    .lithium-footer-credit {
        position: static;
    }
}

/*
 * Stripe store
 */

.stripe-store {
    max-width: 1128px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}

.stripe-store-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stripe-store-heading h1,
.stripe-store-message h1 {
    margin: 0;
    color: var(--lithium-text);
    font-size: 1.8rem;
    font-weight: 800;
}

.stripe-store-heading p,
.stripe-store-message p {
    margin: 0.35rem 0 0;
    color: var(--lithium-muted);
}

.stripe-store-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.5rem;
    align-items: start;
}

.stripe-store-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stripe-store-category {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 36px;
    padding: 0 0.85rem;
    border-radius: 0.5rem;
    background: var(--lithium-surface);
    border: 1px solid var(--lithium-border);
    color: var(--lithium-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.stripe-store-category:hover,
.stripe-store-category.active {
    background: var(--lithium-primary);
    color: #fff;
}

.stripe-store-category span {
    opacity: 0.7;
}

.stripe-store-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.stripe-product-card,
.stripe-cart-card {
    background: var(--lithium-surface);
    border: 1px solid var(--lithium-border);
    border-radius: 0.5rem;
    box-shadow: var(--lithium-soft-shadow);
    overflow: hidden;
}

.stripe-product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stripe-product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--lithium-hard-shadow);
}

.stripe-product-image {
    aspect-ratio: 16 / 10;
    background-position: center;
    background-size: cover;
}

.stripe-product-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lithium-surface-2);
    color: var(--lithium-muted);
    font-size: 2rem;
}

.stripe-product-body {
    flex: 1;
    padding: 1rem;
}

.stripe-product-category {
    margin-bottom: 0.45rem;
    color: var(--lithium-primary-hover);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.stripe-product-body h2 {
    margin: 0;
    color: var(--lithium-text);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.25;
}

.stripe-product-body p {
    margin: 0.65rem 0 0;
    color: var(--lithium-muted);
    line-height: 1.55;
}

.stripe-product-footer {
    display: grid;
    grid-template-columns: 1fr 64px auto;
    gap: 0.5rem;
    align-items: center;
    padding: 1rem;
    border-top: 1px solid var(--lithium-border);
}

.stripe-product-footer strong {
    color: var(--lithium-text);
    font-size: 0.95rem;
}

.stripe-product-footer input,
.stripe-cart-item input {
    width: 64px !important;
    text-align: center;
}

.stripe-cart-card {
    position: sticky;
    top: 1rem;
    padding: 1rem;
}

.stripe-cart-header,
.stripe-cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.stripe-cart-header {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--lithium-border);
}

.stripe-cart-header h2 {
    margin: 0;
    color: var(--lithium-text);
    font-size: 1.2rem;
    font-weight: 800;
}

.stripe-cart-header span {
    color: var(--lithium-muted);
    font-size: 0.85rem;
}

.stripe-cart-items {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1rem 0;
}

.stripe-cart-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--lithium-border);
}

.stripe-cart-item strong,
.stripe-cart-total strong {
    color: var(--lithium-text);
}

.stripe-cart-item span,
.stripe-cart-total span,
.stripe-cart-empty {
    color: var(--lithium-muted);
}

.stripe-cart-item form {
    display: flex;
    gap: 0.5rem;
}

.stripe-cart-total {
    margin: 1rem 0;
    padding-top: 0.25rem;
}

.stripe-cart-card form + form {
    margin-top: 0.5rem;
}

.stripe-store-message {
    max-width: 720px;
}

.stripe-store-message .ui.segment {
    padding: 2rem !important;
}

@media (max-width: 991px) {
    .stripe-store-layout {
        grid-template-columns: 1fr;
    }

    .stripe-cart-card {
        position: static;
    }

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

@media (max-width: 640px) {
    .stripe-store-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .stripe-store-grid {
        grid-template-columns: 1fr;
    }

    .stripe-product-footer {
        grid-template-columns: 1fr;
    }

    .stripe-product-footer input,
    .stripe-cart-item input {
        width: 100% !important;
    }
}
