.archive .main-header .top-header .nav li:first-child a,
.single .main-header .top-header .nav li:first-child a{ color: var(--green); }

/* Post Box */
.post-box{ padding: 15px; width: 33.33333%; margin-bottom: 20px; }

    /* Featured Image */
    .post-box .featured-image{ margin-bottom: 20px; overflow: hidden; line-height: 0; }
    .post-box .featured-image a{ display: block; padding-top: 65%; position: relative; background: var(--white-ccc); }
    .post-box .featured-image a img{ width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }

    /* Post Content */
    .post-box .post-content{ padding: 0 10px; }
    .post-box .post-content a{ text-decoration: none; color: var(--black); }
    .post-box .post-content a:hover{ text-decoration: none; }

    /* Post Categories */
    .post-box .post-content .category-list{ margin-bottom: 15px; display: flex; flex-wrap: wrap; gap: 15px; }
    .post-box .post-content .category-list li{ }
    .post-box .post-content .category-list li a{ font-weight: 600; color: var(--skyblue); transition: var(--transition); }
    .post-box .post-content .category-list li a:hover{ color: var(--black); }

    /* Post Meta */
    .post-box .post-content .post-meta{ margin-top: 10px; font-size: 14px; color: var(--grey-333); }
    .post-box .post-content .post-meta .post-title{ font-size: 24px; color: var(--black); margin-bottom: 10px; letter-spacing: -1px; font-weight: 600; line-height: 1.2; transition: var(--transition); }
    .post-box .post-content .post-meta .post-title:hover{ color: var(--skyblue); }
    .post-box .post-content .post-meta .post-author-name{ font-size: 15px; color: var(--grey-111); font-weight: 500; }
    .post-box .post-content .post-meta .post-author-name a{ color: var(--skyblue); transition: var(--transition); }
    .post-box .post-content .post-meta .post-author-name a:hover{ color: var(--black); }
    .post-box .post-content .post-meta .post-date{ margin: 5px 0 0; font-size: 14px; color: var(--grey-222); font-weight: 500; }

/* Archive */
.archive-wrapper{ padding: 70px 0 110px; line-height: 1.4; font-size: 17px; }
.archive-wrapper .head{ margin: 0 0 40px; }
.archive-wrapper .posts-list{ display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.archive-wrapper .page-title{ font-size: 56px; letter-spacing: -1px; }

/* Page and Single */
.content-wrapper{ padding: 70px 0; line-height: 1.4; font-size: 17px; }
.content-wrapper .head{ margin-bottom: 50px; }
.content-wrapper .head .category-list,
.content-wrapper .head .tag-list{ margin-bottom: 10px; font-weight: 600; display: flex; gap: 20px; }
.content-wrapper .head .date{ display: block; font-size: 16px; }
.content-wrapper .head .title{ font-size: 42px; font-weight: 600; letter-spacing: -1px; line-height: 1.2; }

.content-wrapper p{ margin-bottom: 20px; }
.content-wrapper img{ max-width: 100% !important; }
.content-wrapper .aligncenter{ width: 100% !important; margin: 30px 0; }
.content-wrapper .wp-caption-text{ font-size: 15px; color: var(--grey-333); font-weight: normal; margin-top: 10px; display: block; text-align: center; margin-bottom: 20px; }
.content-wrapper a{ color: var(--skyblue); text-decoration: none; }
.content-wrapper a:hover{ text-decoration: underline; }
.content-wrapper .article-content ul{ list-style-type: disc; padding-left: 40px; margin: 20px 0; }
.content-wrapper .article-content ol{ list-style-type: decimal; padding-left: 40px; margin: 20px 0; }
.content-wrapper .article-content blockquote, 
.content-wrapper .article-content q{ border-left: 3px solid var(--green); margin: 48px 0; padding: 24px 32px; background: rgba(0, 227, 122, 0.04); }
.content-wrapper .article-content blockquote p, 
.content-wrapper .article-content q p{ font-family: var(--space); font-size: 24px; font-weight: 500; color: var(--offwhite); line-height: 1.45; font-style: italic; margin: 0; }
.content-wrapper .article-content table{ border: 1px solid var(--line); width: 100%; }
.content-wrapper .article-content table th,
.content-wrapper .article-content table td{ border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 10px; font-size: 16px; word-break: break-all; }
.content-wrapper .article-content table th{ font-weight: bold; }

.content-wrapper .author-name{ margin-top: 40px; }

.content-wrapper .custom-accordion-item{ margin-bottom: 8px; overflow: hidden; }
.content-wrapper .custom-accordion-header{ width: 100%; border: 1px solid rgba(0,227,122,0.3); color: var(--white); text-align: left; background: transparent; cursor: pointer; transition: all 200ms; font-size: 18px; display: flex; justify-content: space-between; font-weight: normal; font-family: var(--space); position: relative; }
.content-wrapper .custom-accordion-header:hover{ border-color: var(--green); transform: none; box-shadow: none; }
.content-wrapper .custom-accordion-header .custom-accordion-title{ max-width: calc(100% - 50px); }
.content-wrapper .custom-accordion-icon{ transition: transform 0.2s ease; font-size: 20px; line-height: 1; font-family: var(--inter); width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; position: absolute; top: 50%; transform: translateY(-50%); right: 10px; }
.content-wrapper .custom-accordion-header.active .custom-accordion-icon{ transform: translateY(-50%) rotate(45deg); }
.content-wrapper .custom-accordion-content{ max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.content-wrapper .custom-accordion-content-inner{ padding: 20px 10px; }

.content-wrapper .article-content .author-bio{ display: flex; gap: 24px; align-items: flex-start; padding: 36px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); margin-top: 56px; }
.content-wrapper .article-content .author-bio + .author-bio{ margin-top: 20px; }
.content-wrapper .article-content .author-avatar{ width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: rgba(0, 227, 122, 0.15); display: flex; align-items: center; justify-content: center; }
.content-wrapper .article-content .author-avatar-initials{ font-family: var(--space); font-size: 22px; font-weight: 700; color: var(--green); }
.content-wrapper .article-content .author-avatar img{ width: 100%; height: 100%; object-fit: cover; }
.content-wrapper .article-content .author-name{ font-family: var(--space); font-size: 18px; font-weight: 600; color: var(--offwhite); margin: 0; }
.content-wrapper .article-content .author-role{ font-size: 13px; color: rgba(242, 244, 241, 0.45); margin-bottom: 10px; }
.content-wrapper .article-content .author-bio-text{ font-size: 15px; font-weight: 300; color: rgba(242, 244, 241, 0.6); line-height: 1.65; margin-bottom: 0; }

/* Blog Subscribe */
.blog-subscribe{ position: relative; width: 100%; overflow: hidden; padding: 76px 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.blog-subscribe__background{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.1) brightness(0.35) grayscale(20%); }
.blog-subscribe__overlay{ position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,10,0.85) 0%, rgba(5,7,10,0.55) 60%, rgba(5,7,10,0.30) 100%); }
.blog-subscribe__gradient{ position: absolute; inset: 0; background: radial-gradient(900px 600px at 70% 50%, rgba(14,94,140,0.30), transparent 60%); z-index: 1; }
.blog-subscribe__inner{ position: relative; z-index: 2; display: block; }
.blog-subscribe__form{ width: 100%; min-width: 0; }
.blog-subscribe__loading{ display: flex; align-items: center; gap: 10px; margin: 0; color: var(--mute-70); font-family: var(--mono); font-size: 11px; letter-spacing: .8px; text-transform: uppercase; }
.blog-subscribe__loading:before{ content: ''; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.18); border-top-color: var(--green); border-radius: 50%; animation: blog-subscribe-spin 800ms linear infinite; }
.blog-subscribe__form.is-ready .blog-subscribe__loading{ display: none; }
.blog-subscribe__form form{ display: grid; grid-template-columns: minmax(460px, 520px) minmax(0, 1fr) 190px; align-items: start; gap: 24px; }
.blog-subscribe__form form > div:first-child{ display: block; grid-column: 1; grid-row: 1; align-self: start; margin: 0; }
.blog-subscribe__form form > div:first-child .hs-richtext{ margin: 0; }
.blog-subscribe__form form > div:first-child h2{ max-width: 520px; margin: 0; color: var(--offwhite); font-family: var(--space); font-size: 42px; font-weight: 600; letter-spacing: -1.8px; line-height: 1.08; }
.blog-subscribe__form form > fieldset{ min-width: 0; margin: 0 !important; }
.blog-subscribe__form .hs-form-field{ grid-column: 2; grid-row: 1; width: 100% !important; margin: 0 !important; }
.blog-subscribe__form form > fieldset .hs-form-field{ width: 100% !important; }
.blog-subscribe__form form > fieldset .input{ margin: 0 !important; }
.blog-subscribe__form label{ color: var(--offwhite); font-family: var(--inter); font-size: 15px; font-weight: 500; }
.blog-subscribe__form input[type='email'],
.blog-subscribe__form input[type='text']{ height: 58px; padding: 15px 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.17); color: var(--offwhite); }
.blog-subscribe__form input[type='email']:focus,
.blog-subscribe__form input[type='text']:focus{ border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,227,122,.09); }
.blog-subscribe__form .hs_submit{ grid-column: 3; grid-row: 1; align-self: start; margin-top: 29px !important; }
.blog-subscribe__form .actions{ margin: 0; padding: 0; }
.blog-subscribe__form input[type='submit']{ min-width: 190px; height: 58px; margin: 0; padding: 0 30px; background: var(--green); border-color: var(--green); color: var(--bg); font-size: 17px; }
.blog-subscribe__form .hs-error-msgs{ margin: 7px 0 0; padding: 0; list-style: none; }
.blog-subscribe__form .hs_error_rollup{ display: none !important; }
.blog-subscribe__form .hs-error-msg{ color: #ff6b6b; font-size: 13px; }
.blog-subscribe__form .legal-consent-container,
.blog-subscribe__form .hs-richtext{ grid-column: 1 / -1; }
.blog-subscribe__form .submitted-message{ color: var(--offwhite); font-family: var(--space); font-size: 22px; line-height: 1.5; }

@keyframes blog-subscribe-spin{ to{ transform: rotate(360deg); } }

/* Pagination */
.pagination{ display: flex; margin: 70px auto 40px; width: 100%; align-items: center; justify-content: center; }
.pagination ul{ display: flex; justify-content: center; align-items: center; width: auto; position: relative; font-weight: 600; }
.pagination ul li{ margin: 0 2px; }
.pagination ul li a{ text-decoration: none; }
.pagination ul li a,
.pagination ul li span{ width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; color: rgba(242,244,241,0.5); border: 1px solid var(--line); background: transparent; cursor: pointer; transition: all 200ms; }
.pagination ul li a:hover{ border-color: rgba(0,227,122,0.3); color: var(--offwhite); }
.pagination ul li .current{ border-color: var(--green); color: var(--green); background: rgba(0,227,122,0.08); }
.pagination ul li .prev{ font-size: 17px; }
.pagination ul li .next{ font-size: 17px; }
.pagination ul li .next:before{ content: '\ea61'; font-family: var(--ti); display: block; margin-left: 5px; position: relative; transition: var(--transition); left: 0; }
.pagination ul li .prev:before{ content: '\ea60'; font-family: var(--ti); display: block; margin-right: 5px; position: relative; transition: var(--transition); left: 0; }

/* Blog Posts */
.blog-posts{ padding: 70px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.blog-posts .head{ margin-bottom: 40px; display: flex; }
.blog-posts .head .title{ font-family: var(--space); font-size: 56px; font-weight: 700; letter-spacing: -1px; }
.blog-posts .see-all-wrap{ display: flex; justify-content: center; align-items: center; margin-top: 40px; }

/* Webinar Posts Single */
.blog-posts.single-webinar-posts{ border-top: none; }

/* Blog List */
.blog-list-wrapper{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Cards */
.res-item .res-tag{ display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); border: 1px solid rgba(0, 227, 122, 0.4); padding: 3px 10px; border-radius: 999px; }
.res-item .res-tag.blue{ color: var(--blue); border-color: rgba(44, 177, 241, 0.4); }
.res-item .res-tag.white{ color: var(--offwhite); border-color: rgba(255, 255, 255, 0.25); }
.res-item .res-card{ background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; transition: border-color 200ms ease, background 200ms ease; text-decoration: none; height: 100%; }
.res-item .res-card:hover{ background: rgba(255, 255, 255, 0.07); border-color: rgba(0, 227, 122, 0.25); }
.res-item .res-card-img{ width: 100%; aspect-ratio: 16/9; overflow: hidden; flex-shrink: 0; position: relative; }
.res-item .res-card-img img{ width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.8); transition: filter 300ms ease, transform 400ms cubic-bezier(0.22, 1, 0.36, 1); }
.res-item .res-card:hover .res-card-img img{ filter: brightness(1); transform: scale(1.03); }
.res-item .res-card-body{ padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.res-item .res-card-title{ font-family: var(--space); font-size: 26px; font-weight: 600; color: var(--offwhite); line-height: 1.2; letter-spacing: -0.01em; }
.res-item .res-card-meta{ font-size: 15px; color: rgba(200, 210, 220, 0.5); line-height: 1.4; margin-top: auto; padding-top: 6px; }

/* Case Studies */
.latest-posts{ position: relative; padding: 100px 0; }
.latest-posts .head{ display: flex; justify-content: space-between; align-items: center; margin: 0 auto 50px; }
.latest-posts .head .title{ font-size: 56px; font-weight: 700; letter-spacing: -1px; }
.latest-posts .head .right{ display: flex; gap: 10px; align-items: center; }
.latest-posts .head .right .current-slide{ font-size: 11px; color: var(--white); opacity: .4; font-family: var(--space); letter-spacing: 2px; margin-right: 20px; }
.latest-posts .res-tag{ display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); border: 1px solid rgba(0, 227, 122, 0.4); padding: 3px 10px; border-radius: 999px; }
.latest-posts .swiper{ }
.latest-posts .swiper .swiper-wrapper{ align-items: stretch; }
.latest-posts .swiper li{ height: auto; }
.latest-posts .swiper li .featured-card{ display: flex; align-items: stretch; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); text-decoration: none; transition: border-color 200ms ease; height: 100%; }
.latest-posts .swiper li .featured-card:hover{ border-color: rgba(0,227,122,0.2); }
.latest-posts .swiper li .featured-card .left{ width: 600px; min-width: 600px; min-height: 450px; overflow: hidden; }
.latest-posts .swiper li .featured-card .left figure{ width: 100%; height: 100%; position: relative; }
.latest-posts .swiper li .featured-card .left figure img{ width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); transition: filter 300ms ease, transform 400ms cubic-bezier(0.22,1,0.36,1); position: absolute; top: 0; left: 0; }
.latest-posts .swiper li .featured-card:hover .left figure img{ filter: brightness(0.95); transform: scale(1.02); }
.latest-posts .swiper li .featured-card .right{ padding: 40px 44px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; }
.latest-posts .swiper li .featured-card .right .title{ font-size: 32px; line-height: 1.3; margin-bottom: 5px; font-weight: 700; color: var(--white); }
.latest-posts .swiper li .featured-card .right .title span{ color: var(--green); }
.latest-posts .swiper li .featured-card .right .description{ color: rgba(200,215,230,0.65); opacity: .8; font-weight: 300; font-size: 24px; line-height: 1.5; }
.latest-posts .swiper li .featured-card .right .meta{ color: rgba(200,210,220,0.5); margin-top: 15px; line-height: 1.4; }
.latest-posts .swiper li .featured-card .right .read-more-label{ color: var(--green); display: inline-flex; margin-top: 15px; }

/* Archive Hero */
.archive-hero .text .breadcrumb{ font-size: 12px; text-transform: uppercase; font-family: var(--space); margin-bottom: 30px; font-weight: 600; letter-spacing: 1px; }
.archive-hero .text .breadcrumb a{ color: rgba(242,244,241,0.45); text-decoration: none; transition: color 200ms; }
.archive-hero .text .breadcrumb a:hover{ color: var(--green); }
.archive-hero .text .breadcrumb .divider{ color: rgba(242,244,241,0.25); margin: 0 8px; }
.archive-hero .text .breadcrumb .green{ color: var(--green); }

/* Archive Featured Posts */
.archive-featured-posts{ border-bottom: 1px solid var(--line); }

@media screen and (max-width: 1280px){

    /* Lastest Posts */
    .latest-posts .head .title{ font-size: 42px; }
    .latest-posts .swiper li .featured-card .left{ width: 500px; min-width: 500px; }

}

@media screen and (max-width: 1023px){

    .blog-subscribe{ padding: 64px 0; }
    .blog-subscribe__form form{ grid-template-columns: minmax(0, 1fr) 190px; }
    .blog-subscribe__form form > div:first-child{ grid-column: 1 / -1; grid-row: 1; }
    .blog-subscribe__form .hs-form-field{ grid-column: 1; grid-row: 2; }
    .blog-subscribe__form .hs_submit{ grid-column: 2; grid-row: 2; }

    /* Post Box */
    .post-box{ width: 100%; padding: 0; margin-bottom: 50px; }

    /* Archive */
    .archive-wrapper .head{ padding: 0; }

    /* Page and Single */
    .content-wrapper .head .title{ font-size: 30px; }
    .content-wrapper .article-content{ font-size: 15px; }

    /* Lastest Posts */
    .latest-posts{ padding: 70px 0; }
    .latest-posts .head{ margin-bottom: 30px; }
    .latest-posts .head .title{ font-size: 36px; }
    .latest-posts .head .right .current-slide{ margin-right: 7px; }
    .latest-posts .swiper li .featured-card{ flex-direction: column; }
    .latest-posts .swiper li .featured-card .left{ width: 100%; min-width: 100%; min-height: auto; }
    .latest-posts .swiper li .featured-card .left figure{ padding-top: 60%; }
    .latest-posts .swiper li .featured-card .right{ padding: 30px 20px; gap: 10px; }
    .latest-posts .swiper li .featured-card .right .title{ font-size: 28px; }
    .latest-posts .swiper li .featured-card .right .description{ font-size: 18px; }

    /* Blog Posts */
    .blog-posts .head .title{ font-size: 36px; }

    /* Blog List */
    .blog-list-wrapper{ overflow-x: auto; scrollbar-width: none; padding: 0 20px 20px; }
    .blog-list-wrapper::-webkit-scrollbar{ display: none; }
    .blog-list-wrapper .res-item{ min-width: 300px; opacity: 1; transform: translateY(0); filter: blur(0); }

    /* Blog Posts */
    .blog-posts{ padding: 60px 0; }
    .blog-posts .head{ padding: 0 20px; }
    .blog-posts .content{ padding: 0; }

    /* Archive */
    .archive-wrapper{ padding: 50px 0 30px; }
    .archive-wrapper .page-title{ font-size: 42px; }
    .archive-wrapper .posts-list{ grid-template-columns: repeat(2, 1fr); }

    /* Cards */
    .res-item .res-card-title{ font-size: 23px; }
    .res-item .res-card-meta{ font-size: 14px; }

    /* Article Content */
    .content-wrapper .article-content table th, 
    .content-wrapper .article-content table td, 
    .content-wrapper .article-content table th,
    .content-wrapper .article-content table td{ font-size: 13px; }

    .content-wrapper .article-content{ width: 100%; font-size: 16px; }
    .content-wrapper .article-content h2{ font-size: 24px; margin: 30px 0 20px; }
    .content-wrapper .article-content blockquote p, 
    .content-wrapper .article-content q p{ font-size: 18px; }

    .content-wrapper .article-content .author-bio{ flex-direction: column; padding: 16px; }
    .content-wrapper .article-content .author-name{ font-size: 16px; }
    .content-wrapper .article-content .author-bio-text{ font-size: 13px; }

    .single .main-header.menu-open .main-menu .menu .resources-mobile-button a{ font-weight: bold !important; }


}

@media screen and (max-width: 767px){

    .blog-subscribe{ padding: 52px 0; }
    .blog-subscribe__form form{ grid-template-columns: 1fr; gap: 14px; }
    .blog-subscribe__form form > div:first-child h2{ font-size: 36px; letter-spacing: -1.4px; }
    .blog-subscribe__form .hs-form-field{ grid-column: 1; grid-row: 2; }
    .blog-subscribe__form .hs_submit{ grid-column: 1; grid-row: 3; margin-top: 0 !important; }
    .blog-subscribe__form input[type='submit']{ width: 100% !important; min-width: 0; }

    /* Archive */
    .archive-wrapper .page-title{ font-size: 36px; }
    .archive-wrapper .posts-list{ grid-template-columns: 1fr; }

    /* Cards */
    .res-item .res-card-title{ font-size: 20px; }
    .res-item .res-card-meta{ font-size: 13px; }

}

@media screen and (max-width: 540px){

}
