/*
Theme Name: Kernopro Blog
Theme URI: https://resources.buildwithkerno.com/
Author: Your Name
Author URI: https://resources.buildwithkerno.com/
Description: Responsive traditional WordPress blog/resource theme for Kerno style layouts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: kernopro-blog
Tags: blog, custom-logo, custom-menu, featured-images, responsive-layout
*/
:root {
    --dark: #002f28;
    --dark-2: #143d44;
    --dark-3: #153f39;
    --teal: #24d6c2;
    --teal-2: #1aa99a;
    --cream: #f8f6f0;
    --sand: #e8e4dc;
    --card: #ffffff;
    --text: #3d3d3d;
    --muted: #9a9a9a;
    --gold: #f9c978;
    --gold-2: #d7b987;
    --border: #e8cfaa;
    --radius: 22px;
    --radius-lg: 44px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: auto;
}
::-webkit-scrollbar {
/*     width: 15px; */
	display: none;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    font-family: 'Calibri', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

/* container */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 1640px) {
    .container {max-width: 1400px; }
}
@media (max-width: 1640px) {
    .container { max-width: 1300px !important; }
}
img {
    max-width: 100%;
    height: auto;
}

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

/* .container {
	width: min(100% - 48px, 1400px) !important;
	margin-inline: auto;
} */

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

.btn,
button,
input {
    font: inherit;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 32px;
    border-radius: 999px;
    font-weight: 800;
    border: 2px solid transparent;
    transition: 0.25s ease;
}

.btn-primary {
    background: var(--teal-2);
    color: #fff;
    border-color: #fff;
}

.btn-primary:hover {
    background: var(--teal);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--text);
}

.btn-white:hover {
    transform: translateY(-2px);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #ffc20f;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Header */

.site-header {
    position: absolute;
    top: 0;
    z-index: 50;
    width: 100%;
    padding: 20px 0;
    color: #fff;
}

.header-inner {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    align-items: center;
    gap: 28px;
}

.site-branding img {
    width: 116px;
    height: auto;
}

.brand-fallback {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--teal);
    font-weight: 1000;
    font-size: 34px;
    letter-spacing: 0.03em;
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 3px solid var(--teal);
    border-radius: 50%;
    color: #ffbb22;
    font-size: 30px;
}

.primary-nav {
    justify-self: center;
}

.menu {
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu a {
    position: relative;
    color: #fff;
    font-weight: normal;
	font-size: 14px;
}

.menu .current-menu-item > a::after,
.menu a.is-active::after,
.menu a:hover::after, #menu-top-menu .menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-home a:after {
	display: block;
    bottom: -20px;
    transition: transform 250ms ease-in-out;
    position: absolute;
    transform: translateX(-5%);
	content: url(https://buildwithkerno.com/assets/images/yellow-underline.png);
}
.site-branding  .custom-logo-link {
    display: inline-block;
    max-height: 60px;
    padding: 12px 0;
}
.demo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 164.67px;
    height: 50px;
    padding: 0 28px;
    color: var(--text);
    background: #fff;
    border-radius: 999px;
    transition: all .4s ease-in-out 0s;
    -moz-transition: all .4s ease-in-out 0s;
    -webkit-transition: all .4s ease-in-out 0s;
    -o-transition: all .4s ease-in-out 0s;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Calibri', sans-serif;
    letter-spacing: 0.1px;
}

.demo-button:hover{
    background: #18A195;
    color: #ffffff;
}

.demo-button span {
    margin: 0px;
    width: auto;
    height: 18px;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 42px;
    border: 0;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 22px;
    background: #fff;
    margin: 5px auto;
}

/* Hero */

.home-hero,
.simple-hero,
.category-hero {
    padding: 100px 0 70px;
    background:
        radial-gradient(circle at 78% 14%, rgba(36,214,194,.32), transparent 28%),
        linear-gradient(120deg, #143542, #133d3b 72%, #0d524c);
    color: #fff;
}

.home-hero h1,
.simple-hero h1 {
    max-width: 860px;
    margin: 0 0 22px;
    font-size: clamp(46px, 7vw, 70px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.home-hero h1 em,
.simple-hero h1 em,
.story-cta em,
.kickstarter-cta em {
    color: var(--teal);
    font-style: normal;
}

.home-hero p,
.simple-hero p {
    max-width: 760px;
    margin: 0 0 28px;
    font-size: clamp(19px, 2vw, 25px);
}

.hero-search {
    display: flex;
    gap: 10px;
    max-width: 560px;
}

.hero-search input {
    flex: 1;
    min-height: 54px;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    background: var(--cream);
    outline: 0;
}

.hero-search button {
    min-width: 110px;
    border: 2px solid #fff;
    border-radius: 14px;
    background: var(--teal-2);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

/* Browse */

.browse-section {
    padding: 44px 0 58px;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-heading.align-left {
    margin-inline: 0;
    text-align: left;
}

.section-heading h2 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 0;
    font-size: clamp(18px, 2vw, 24px);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-box {
    position: relative;
    min-height: 156px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: 0.25s ease;
}

.category-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.category-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    background: #f4f0e9;
    color: var(--gold-2);
    border-radius: 10px;
    font-size: 20px;
}

.category-box:first-child .category-icon {
    background: rgba(36,214,194,.18);
    color: var(--teal-2);
}

.category-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
}

.category-box small {
    display: block;
    color: var(--muted);
    font-size: 15px;
}

.category-box .post_arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--gold-2);
    font-size: 25px;
    font-style: normal;
}

/* CTA */

.story-cta,
.kickstarter-cta {
    margin: 56px 0 0;
    padding: 52px;
    background:
        linear-gradient(90deg, rgba(20,61,56,.95), rgba(20,61,56,.75)),
        var(--dark-3);
    color: #fff;
    border-radius: var(--radius-lg);
}

.story-cta span,
.kickstarter-cta > span {
    display: block;
    margin-bottom: 0 !important;
    color: var(--teal);
    font-weight: 1000;
    text-transform: uppercase;
}

.story-cta h2,
.kickstarter-cta h2 {
    margin: 0 0 22px;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.story-cta p,
.kickstarter-cta p {
    max-width: 1120px;
    margin: 0 0 32px;
    color: rgba(255,255,255,.7);
    font-size: 23px;
}

.story-cta {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-direction:column;
}

.story-cta-actions, .kickstarter-cta div {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
    margin-top: 10px;
}

.kickstarter-cta span {
    margin: 0 !important;
}

/* Latest magazine */

.latest-section,
.continue-section {
    padding: 54px 0;
    background: var(--sand);
}

.magazine-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 24px;
}

.side-stack {
    display: grid;
    gap: 24px;
}

.featured-stack {
    display: grid;
    gap: 24px;
}

.featured-story {
    position: relative;
    display: flex;
    min-height: 300px;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    overflow: hidden;
    color: #fff;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    align-items: flex-start; 
}

.featured-story::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.65));
}

.featured-story > * {
    position: relative;
}

.featured-story h3 {
    max-width: 660px;
    margin: 12px 0 0;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.13;
}

/* Cards */

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

.posts-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.resource-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: 0.25s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.resource-card-image {
    display: block;
    height: 180px;
    background: #ddd;
    overflow: hidden;
}

.resource-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.35s ease;
}

.resource-card:hover img {
    transform: scale(1.04);
}

.resource-card-body {
    padding: 20px;
}
.cat-name {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 16px;
    background: rgba(255, 217, 155, 1);
    color: var(--text);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}
.filter-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-pills .pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 10px 20px;
    border-radius: 45px;
    background: rgba(0, 0, 0, 0.10);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.filter-pills .pill:hover {
    background: rgba(0, 0, 0, 0.16);
}

.filter-pills .pill.active {
    background: rgba(255, 217, 155, 1);
    color: rgba(61, 61, 60, 1);
}

.resource-card h3 {
    margin: 12px 0 8px;
    font-size: 20px;
    line-height: 1.25;
}

.resource-card p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 16px;
}

/* Category page */
.category-hero {
    padding-bottom: 20px;
}

.category-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 60px;
    align-items: center;
	position:relative;
}

.category-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 3vw, 58px);
    line-height: 1.08;
}

.category-hero p {
/*     max-width: 520px; */
    font-size: 20px;
}

.hero-feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    overflow: hidden;
}

.hero-feature-cards article {
    min-height: 250px;
    padding: 26px;
    background: rgba(255,255,255,.93);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.hero-feature-cards article:nth-child(2) {
    opacity: 0.55;
}

.hero-feature-cards h2 {
    margin: 0 0 22px;
    font-size: 29px;
    line-height: 1.22;
}

.hero-feature-cards p {
    font-size: 16px;
}

.hero-feature-cards a {
    display: inline-flex;
    margin-top: 10px;
    padding: 14px 28px;
    background: var(--teal-2);
    color: #fff;
    border-radius: 12px;
    font-weight: 900;
}

.category-content {
    padding: 0 0 52px;
    margin-top: 40px;
}

.category-layout {
    display: grid;
    grid-template-columns: 333px 1fr;
    gap: 42px;
    align-items: start;
}

.industry-sidebar {
    position: sticky;
    top: 20px;
    padding: 30px;
    background: #fff;
    border-radius: 44px;
    box-shadow: 0px 0px 100px 0px rgba(0, 0, 0, 0.1);
}

.industry-sidebar h2 {
    margin: 0 0 12px;
}

.industry-list {
    display: grid;
    gap: 10px;
}

.industry-list .category-list {
    position: relative;
    display: block;
    padding: 20px 46px 20px 20px;
    background: var(--cream);
    border-radius: 14px;
}

.industry-list .category-list.active {
    background: rgba(232, 246, 244, 1);
}

.industry-list strong {
    display: block;
    font-size: 18px;
}

.industry-list small {
    display: block;
    margin-top: 8px;
}

.industry-list span {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-2);
    font-size: 26px;
}

.sidebar-subscribe {
    margin-top: 20px;
    padding: 24px;
    background: var(--dark-3);
    color: #fff;
    border-radius: 14px;
}

.sidebar-subscribe h3 {
    margin: 0 0 10px;
}

.sidebar-subscribe p {
    margin: 0 0 20px;
}

.sidebar-subscribe a {
    display: flex;
    justify-content: center;
    padding: 15px;
    background: #ff9d00;
    color: #fff;
    border-radius: 14px;
    font-weight: 900;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-tabs button {
    border: 0;
    padding: 12px 24px;
    background: #dddcd8;
    border-radius: 999px;
    color: var(--text);
    font-weight: 900;
    cursor: pointer;
}

.filter-tabs button.active {
    background: var(--gold);
}

.kickstarter-cta {
    margin-bottom: 56px;
    text-align: center;
}

.kickstarter-cta p {
    margin-inline: auto;
}

.kickstarter-cta div {
    justify-content: center;
}

/* Single */

.single .site-header {
    position: absolute;
}

.single-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    color: #fff;
    background-size: cover;
    background-position: center;
}

.single-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.25));
}

.single-hero-content {
    position: relative;
}

.single-hero h1 {
    max-width: 1040px;
    margin: 24px 0 18px;
    font-size: clamp(46px, 6vw, 82px);
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.single-hero p {
    max-width: 1120px;
    font-size: 24px;
}

.single-content {
    padding: 54px 0 38px;
}

.article-container {
    width: min(100% - 48px, 1180px);
}

.single-content p {
    margin: 0 0 26px;
    font-size: 18px;
    line-height: 1.55;
}

.single-content figure {
    margin: 34px 0;
}

.single-content figure img {
    width: 100%;
    border-radius: 12px;
}

.single-content figcaption {
    margin-top: 12px;
    text-align: center;
    color: var(--muted);
}

/* Search/404 */

.content-section {
    padding: 54px 0;
}

.empty-state {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.empty-state h2 {
    margin: 0 0 8px;
    font-size: 44px;
}

/* Pagination */

.pagination-wrap {
    margin-top: 30px;
}

.nav-links {
    display: flex;
    gap: 10px;
    justify-content: end;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-flex;
    min-width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(228, 209, 178, 1);
    border-radius: 15px;
    color: rgba(61, 61, 60, 1);
    background: rgba(255, 255, 255, 1);
    font-weight: normal;
}

.page-numbers.current {
    background: rgba(245, 243, 238, 1);
    border-color: rgba(228, 209, 178, 1);
    font-weight: bold;
    color: rgba(195, 167, 120, 1);
}

/* Footer */

.site-footer {
    padding: 64px 0 20px;
    background: #00201D;
/*     background: var(--dark); */
    color: rgba(255,255,255,.50);
	/* margin-bottom: 19px; */
}

.site-footer .brand-fallback {
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr .65fr 1.3fr;
    gap: 64px;
}

.footer-brand p,
.footer-newsletter p {
    max-width: 330px;
    margin: 30px 0;
    font-size: 23px;
    line-height: 1.32;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a,
.contact-item span {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    font-weight: 900;
	flex-shrink: 0;
}
.social-links .footer-social-link svg , .contact-item span svg{
    width: 24px;
    height: 24px;
    fill: #fff;
}

.footer-contact {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    align-items: center;
}

.contact-item p {
    margin: 0;
    font-size: 23px;
}

.footer-links {
    display: grid;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    font-size: 23px;
}

.footer-newsletter h3 {
    margin: 0 0 26px;
    color: #fff;
    font-size: 22px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 56px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.2);
    text-transform: uppercase;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom div {
    display: flex;
    gap: 24px;
}

/* WordPress content helpers */

.wp-block-image img {
    display: block;
}

.alignwide,
.alignfull {
    max-width: 100%;
}
.hero-feature-cards.swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
	height:103%;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: transform 0.35s ease, background-color 0.35s ease;
    background: transparent;
}
.site-header.hide {
    transform: translateY(-100%);
}
.site-header.show {
    transform: translateY(0);
}
.site-header.scrolled {
    background: rgba(23, 52, 49, 0.8);
}

.contact-item p a:hover{
	color : #18A195;
}

.footer-links a:hover{
	color : #18A195;
}


.story-cta-actions ~ p {
    display: none;
}

.story-cta .story-cta-actions a.btn.btn-primary span {
    margin: 0;
}

.story-cta .story-cta-actions a.btn.btn-primary  img {
    width: 20px;
    height: auto;
}

.right-arrow{
    width: 20px;
    height: auto;
}

section.kernopro-category-bottom-content {
    background: rgba(229, 225, 216, 1);
	padding:1px 0;
}

.kernopro-post-bottom-content{
    margin-bottom: 56px;
}

a.read-more {
    color: rgba(195, 167, 120, 1);
    font-weight: bold;
    font-size: 17px;
    display: flex;
    align-items: center;
	justify-content:end;
}


.hero-feature-cards.swiper .swiper-slide {
    width: clamp(300px, 42vw, 510px);
    flex-shrink: 0;
}
span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    color: rgba(24, 161, 149, 1);
    background: rgba(24, 161, 149, 1) !important;
    width: 30px;
    height: 10px;
    border-radius: 50px;
}

.resource-card-body a img {
    margin-left: 5px;
}


.demo-button img.right-arrow {
    width: 15px;
    height: auto;
}

.story-cta-actions, .kickstarter-cta div {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

section.kernopro-category-bottom-content div {
    border: none;
}

.swiper-pagination {
    display: flex;
    justify-content: end;
	bottom: 10px !important;
	position: relative !important;
}

.active.category-list strong {
    color: rgba(24, 161, 149, 1);
}
.active.category-list span{
	color: rgba(24, 161, 149, 1);
}

.kernopro-post-related-posts article.resource-card br {
    display: none;
}
.site-branding .custom-logo-link .mobile-logo {
    display: none;
}
.site-footer .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.site-footer #block-7 {flex: 0 0 24%;max-width: 24%;display: flex;flex-direction: column;gap: 30px;}

.footer-brand p {
    margin: 0;
    font-size: 22px;
/*     line-height: normal; */
    max-width: 100%;
}

.site-footer .footer-brand img {
    max-width: 272px;
}

.site-footer .container.footer-grid {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 0 20px 60px;
}

footer.site-footer {
    padding: 60px 20px  0;
}

.site-footer .container.footer-bottom {
    padding: 11px 0px 24px;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.site-footer #block-8 {
    flex: 0 0 28%;
    max-width: 28%;
}

.site-footer .footer-menu {
    flex: 0 0 10%;
    max-width: 10%;
}

.site-footer #block-10 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-footer .contact-item svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.footer-menu p {
    display: none;
}

.site-footer .contact-item p a {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.25s ease;
    line-height: normal;
}

.footer-links a {
    font-size: 22px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-links li {
    line-height: normal;
}

.contact-item p {
    line-height: normal;
}

.footer-contact {
    gap: 40px;
}

.footer-newsletter h3 {
    margin: 0;
    line-height: normal;
}

.footer-newsletter {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-newsletter p {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.5);
/*     line-height: normal; */
    margin: 0;
    max-width: 100%;
}

.footer-newsletter .btn-white {
    margin-top: 20px;
    width: fit-content;
    min-height: 50px;
    padding: 0 28px;
	font-size: 14px;
}

.footer-bottom p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    line-height: normal;
}

.footer-bottom div {
    align-items: center;
}

.footer-bottom a {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.25s ease;
    text-transform: uppercase;
    line-height: normal;
}

.site-footer .contact-item span {
    background: rgba(255, 255, 255, 0.1);
}
/* Responsive */
@media (min-width: 1640px) {
	.site-footer .container.footer-bottom {
		max-width: 1360px !important;
	}
}
@media (max-width: 1640px) {
	.site-footer .container.footer-bottom {
		max-width: 1260px !important;
	}
}
@media (min-width:1201px) {   
  .magazine-layout {
        margin-top: -120px;
    }
    
    .magazine-layout .section-heading {
        max-width: 590px;
    }
    
    .magazine-layout .featured-stack {
        margin-top: 130px;
    }  
}
@media (max-width: 1200px) {
    .header-inner {
        grid-template-columns: 220px auto auto;
    }

    .category-layout {
        grid-template-columns: 300px 1fr;
    }

    .posts-grid,
    .posts-grid-4,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .magazine-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {

    .header-inner {
        display: flex;
        justify-content: space-between;
    }

    .nav-toggle {
        display: block;
    }

    .primary-nav {
		position: absolute;
		top: 70%;
		left: 0;
		right: 0%;
		display: none;
		padding: 20px;
		background: var(--dark);
		border-radius: 20px;
		width:90%;
	}
	
	.hero-feature-cards.swiper {
    	height: 113%;
	}

    body.nav-open .primary-nav {
        display: block;
    }

    .menu {
        display: grid;
        gap: 40px;
    }

    
    
    

    .brand-fallback {
        font-size: 26px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .home-hero,
    .simple-hero,
    .category-hero {
        padding-top: 125px;
    }

    .category-hero-grid,
    .category-layout,
    .story-cta {
        grid-template-columns: 1fr;
        display: grid;
    }

    .industry-sidebar {
        position: static;
    }

    .hero-feature-cards {
        grid-template-columns: 1fr;
    }

    .story-cta-actions {
        justify-content: flex-start;
    }
}
@media (max-width:900px) {
    .site-header .nav-toggle {
        order: 1;
        background: transparent;
        z-index: 999;
        top: 22px;
        position: absolute;
        left: 10px;
    }
    
    .site-header .site-branding {
        order: 2;
        margin-left: 50px;
    }
    
    .site-header .demo-button {
        order: 3;
        margin-left: auto;
    }
    
    .site-header .header-inner {
        justify-content: normal;
        margin: 0;
        width: 100% !important;
        padding: 0 20px 0 10px;
        gap: 10px;
    }
    
    .site-header .site-branding img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        padding: 0;
        object-position: left;
    }
    
    .site-header .site-branding .custom-logo-link {
        width: 50px;
        display: block;
        height: 50px;
    }
    
    .site-header .nav-toggle span {
        background: #18A195;
        margin: 5px 0;
        position: relative;
    }
    
    .nav-open .site-header .nav-toggle span:nth-child(3) {
        top: -10px;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
    }
    .nav-open .site-header .nav-toggle span:nth-child(1) {
        top: 6px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
    }
    .nav-open .site-header .nav-toggle span:nth-child(2) {
        visibility: hidden;
        opacity: 0;
    }
    
    .nav-open .site-header .primary-nav {
        position: fixed;
        background: #18A195;
        max-width: 200px;
        top: 0;
        height: 100vh;
        left: 0;
        right: 0;
        z-index: 700;
        overflow: auto;
        border-radius: 0;
        right: unset;
        padding: 108px 30px 10px;
    }
    
    .nav-open .site-header .nav-toggle span {
        background: #fff;
    }
	.nav-open .site-header .primary-nav li a {
		font-size: 20px;
	}
	.nav-toggle span {
        width: 23px;
    }
    .site-header .site-branding .custom-logo-link {
        padding: 0;
        height: 55px;
    }
    .site-branding .custom-logo-link .desktop-logo {
        display: none;
    }
    .site-branding .custom-logo-link .mobile-logo {
        display: block;
        height: 51px;
    }
    .site-header .nav-toggle {
        margin: 10px 0;
        padding: 0;
        left: 15px;
        min-height: auto;
        height: auto;
        top: 4px;
    }
    
    .container.header-inner {
        position: relative;
    }
    
    .site-header .nav-toggle span {
        margin: 6px 0;
    }
    
    .site-header .header-inner {
        padding: 0 15px 0;
    }

}
@media (max-width: 1024px) {
  .site-footer .container.footer-grid {flex-wrap: wrap;justify-content: center;}
  .site-footer #block-7 {flex: 0 0 100%; max-width: 100%; align-items: center; text-align: center; }
  .site-footer #block-8 {flex: 0 0 calc(60% - 20px); max-width: calc(60% - 20px); }
  .site-footer .footer-menu {flex: 0 0 calc(40% - 20px); max-width: calc(40% - 20px); }
  .site-footer #block-10 {flex: 0 0 100%; max-width: 100%; }
  .site-footer .container.footer-bottom {justify-content: center;gap: 10px;}
  .site-footer .footer-brand {justify-content: center; align-items: center; }
}
@media (max-width: 680px) {
    .posts-grid,
    .posts-grid-4,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .hero-search {
        flex-direction: column;
    }

    .hero-search button {
        min-height: 54px;
    }

    .story-cta,
    .kickstarter-cta {
        padding: 32px 22px;
        border-radius: 28px;
    }

    .story-cta p,
    .kickstarter-cta p {
        font-size: 18px;
    }

    .single-hero {
        min-height: 520px;
    }

    .single-hero p {
        font-size: 18px;
    }

    .footer-grid {
        grid-template-columns: auto;
        gap: 36px;
    }
	
	.contact-item{
        grid-template-columns: auto;
	}

    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom div {
        flex-wrap: wrap;
        gap: 18px;
    }
	
	.btn {
		font-size: 15px;
	}
	.site-footer .footer-grid {text-align: center;}

	.site-footer .footer-brand p, .site-footer .footer-newsletter p {
		max-width: 100%;
	}

	.site-footer .social-links {
		justify-content: center;
	}

	.site-footer .contact-item {
		display: flex;
		align-items: center;
		gap: 10px;
	}

	.site-footer .contact-item p {
		text-align: left;
	}

	.site-footer .footer-links {
		display: flex;
		flex-wrap: wrap;
		gap: 20px;
	}

	.site-footer .footer-links li {
		width: 44%;
		text-align: left;
	}

	.site-footer .footer-newsletter {
		text-align: left;
	}


	.site-footer .footer-bottom p {
		text-align: center;
	}
}

@media (max-width: 767px) {
    .hero-feature-cards.swiper .swiper-slide {
        width: clamp(260px, 85vw, 400px);
    }
}

.swiper-pagination-bullet {
	background: #fff !important;
}
@media (max-width: 768px) {
  .site-footer #block-8 , .site-footer .footer-menu {flex: 0 0 100%; max-width: 100%;}
  .footer-contact {gap: 20px; }
  .site-footer .footer-menu ul {flex-direction: row;flex-wrap: wrap;}
  .site-footer .footer-menu ul li {width: 44%; }
  .footer-bottom div {justify-content:center;gap: 16px;}
  
}
@media (max-width: 575px) {
  footer.site-footer {
      padding: 40px 0 16px;
  }
  .footer-newsletter .btn-white {
	    padding: 0 32px;
	}
}




