/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


.hide-counter-number .elementor-counter-number {
	display: none;
}


.rt-menu .wpr-mega-menu li > .wpr-sub-menu {
    top: 20px;
}


.cs-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.cs-category-grid .cs-category-card {
    background: var( --e-global-color-99c22a4 );
    border: 1px solid var( --e-global-color-7442e1c );
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    position: relative;
    overflow: hidden;
}
.cs-category-grid .cs-category-icon {
    max-width: 52px;
    margin: 0 auto;
    margin-bottom: 15px;
}
.cs-category-grid h3 {
    font-family: var(--e-global-typography-3e49778-font-family), sans-serif;
    font-size: 14px;
    color: var(--e-global-color-1b1e9ad);
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
}
.cs-category-grid p {
    color: var(--e-global-color-1ca2bab);
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 2px;
}
.cs-category-grid span {
    color: var(--e-global-color-45dbf1f);
    font-weight: 600;
    font-size: 12px;
    font-family: var(--e-global-typography-3e49778-font-family), sans-serif;
}
.cs-category-grid a {
	position: relative;
}
.cs-category-grid .cs-border-bottom {
	content: '';
    position: absolute;
	background: var(--e-global-color-45dbf1f);
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity .2s;
}
.cs-category-grid a:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
	border-color: var(--hover-border-color);
    transform: translateY(-3px);
}
.cs-category-grid a:hover .cs-border-bottom {
    opacity: 1;
}


.cs-blog-posts.cs-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.cs-blog-posts .cs-post-card {
	background: var( --e-global-color-99c22a4 );
    border: 1px solid var( --e-global-color-7442e1c );
    border-radius: 12px;
	overflow: hidden;
    cursor: pointer;
    transition: all .2s;
}
.cs-blog-posts .cs-post-card:hover {
	transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.cs-blog-grid .cs-post-image {
    height: 200px;
    overflow: hidden;
}
.cs-post-card .cs-post-image img {
	width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cs-post-card .cs-post-content {
    padding: 18px;
}
.cs-post-card .cs-post-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.cs-post-card .cs-post-categories span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0px 12px;
    border-radius: 20px;
    font-family: var(--e-global-typography-3e49778-font-family), sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
	background: rgba(255, 107, 53, .1);
    color: var(--e-global-color-45dbf1f);
    border: 1px solid rgba(255, 107, 53, .25);
}
.cs-post-card h3 {
    font-family: var(--e-global-typography-3e49778-font-family), sans-serif;
    font-size: 16px;
    color: var(--e-global-color-1b1e9ad);
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
    letter-spacing: -.01em;
}
.cs-post-card .cs-post-excerpt {
	color: var( --e-global-color-484d853 );
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
	display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cs-post-card .cs-read-link {
    font-family: var(--e-global-typography-3e49778-font-family), sans-serif;
    color: var(--e-global-color-45dbf1f);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cs-post-card .cs-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    justify-content: space-between;
}
.cs-post-card .cs-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--e-global-color-1ca2bab);
    font-size: 12px;
}
.cs-post-card .cs-author-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: white;
    background: var(--e-global-color-45dbf1f);
}
.cs-post-card .cs-author .cs-author-info {
	display: flex;
    align-items: center;
    gap: 8px;
}
.cs-post-card .cs-author .cs-meta-author {
	font-family: var(--e-global-typography-3e49778-font-family), sans-serif;
	color: var( --e-global-color-484d853 );
}
.cs-blog-list .cs-read-time,
.cs-blog-grid .cs-read-time {
    display: none;
}
.cs-blog-posts.cs-blog-list {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.cs-blog-posts.cs-blog-list .cs-post-card a {
	display: flex
}
.cs-blog-posts.cs-blog-list .cs-post-image {
    width: 200px;
    flex-shrink: 0;
}
.cs-blog-posts.cs-blog-list .cs-post-excerpt {
    -webkit-line-clamp: 2;
}
.cs-post-card .cs-read-time {
    font-family: var(--e-global-typography-3e49778-font-family), sans-serif;
    font-size: 11px;
    color: var( --e-global-color-484d853 );
    background: var(--e-global-color-5816263);
    padding: 2px 8px;
    border-radius: 4px;
}


.cs-info-box .cs-step-num .elementor-heading-title {
    width: 44px;
    height: 44px;
    background: var(--e-global-color-45dbf1f);
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}



.cs-archive-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1810 100%);
    padding: 60px 24px 48px;
    position: relative;
    ;padding: 60px 24px 48px;
    position: relative;
    overflow: hidden;;';
}
.cs-archive-hero .container {
    max-width: 1140px;
    margin: 0 auto;
}
.cs-archive-hero .archive-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--e-global-typography-3e49778-font-family), sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 20px;
}
.cs-archive-hero .archive-breadcrumb a,
.cs-archive-hero .archive-breadcrumb .seperator {
    color: rgba(255,255,255,.35);
}
.cs-archive-hero .archive-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.cs-archive-hero .category-icon {
    width: 72px;
    height: 72px;
}
.cs-archive-hero .archive-content h1 {
    font-size: 36px;
    font-weight: 800;
    color: white;
    letter-spacing: -.03em;
    margin-bottom: 8px;
}
.cs-archive-hero .archive-content .category-description {
    font-size: 15px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.7;
    max-width: 600px;
}
.cs-archive-hero .archive-content .category-description p {
    margin-bottom: 0;
}
.cs-archive-hero .archive-stats {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}
.cs-archive-hero .archive-stats .archive-stat {
    text-align: left;
}
.cs-archive-hero .archive-stat-value {
    font-family: var(--e-global-typography-3e49778-font-family), sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: white;
}
.cs-archive-hero .archive-stat-lbl {
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
}

.cs-archive-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 15px 0;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}
.cs-archive-content h2 {
    font-size: 20px;
    font-weight: 700;
}
.cs-archive-content .cs-archive-posts-list {
	display: flex;
    flex-direction: column;
    gap: 16px;
}
.cs-archive-posts-list .cs-post-card a {
	display: flex
}
.cs-archive-posts-list .cs-post-image {
    width: 200px;
    flex-shrink: 0;
}
.cs-archive-content .cs-load-more-wrap {
	margin-top: 24px;
    text-align: center;
}
.cs-archive-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cs-archive-sidebar .cs-archive-widget {
    border-radius: 12px;
    padding: 20px;
}
.cs-archive-sidebar .cs-widget-light {
	background: var(--e-global-color-99c22a4);
    border: 1px solid var(--e-global-color-7442e1c);
}
.cs-archive-sidebar .cs-widget-dark {
	background: var(--e-global-color-1b1e9ad);
}
.cs-related-categories-title {
	font-family: var(--e-global-typography-3e49778-font-family), sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--e-global-color-1ca2bab);
    margin-bottom: 16px;
}
.cs-related-category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--e-global-color-7442e1c);
    cursor: pointer;
    transition: all .15s;
}
.cs-related-category-item:last-child {
    border-bottom: none;
}
.cs-related-category-item:hover {
    padding-left: 4px;
}
.cs-related-category-icon,
.author-social-links > a{
    background: rgba(0, 200, 150, .1);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.author-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
	margin-top: 10px;
}
.author-social-links > a:hover {
    opacity: 0.8;
}
.author-social-links > a {
	color: #fff;
}
.cs-related-category-info {
    flex: 1;
}
.cs-related-category-name {
    font-family: var(--e-global-typography-3e49778-font-family), sans-serif;
    font-size: 13px;
    font-weight: 600;
	line-height: 1.6;
    color: var(--e-global-color-1b1e9ad); // Navy
	
}
.cs-related-category-count {
    font-size: 11px;
	line-height: 1.6;
    color: var(--e-global-color-1ca2bab); // text3
}

.cs-author-spotlight-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 16px;
}
.cs-author-spotlight-avatar,
.cs-author-initial{
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--e-global-color-45dbf1f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: white;
    margin-bottom: 12px;
}
.cs-author-spotlight-name {
    font-family: var(--e-global-typography-3e49778-font-family), sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
}
.cs-author-spotlight-role {
    font-size: 11px;
    color: var(--e-global-color-45dbf1f);
    font-weight: 600;
    letter-spacing: .05em;
    margin-bottom: 10px;
}
.cs-author-spotlight-quote {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 14px;
}
.cs-author-spotlight-posts {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 14px;
}
.cs-author-spotlight-post {
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: color .15s;
    cursor: pointer;
    display: block;
    display: -webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:1;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:normal;
}
.cs-author-spotlight-post:last-child {
    border-bottom: none;
}
.cs-author-spotlight-post:hover {
    color: #fff;
}
.cs-author-spotlight-post:before {
    content: '→ ';
    color: var(--e-global-color-45dbf1f);
}
.cs-newsletter-card-title {
    font-family: var(--e-global-typography-3e49778-font-family), sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
}
.cs-newsletter-card-description {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.5;
    margin-bottom: 14px;
}
.archive-content h1 img,
.archive-breadcrumb img,
.cs-archive-posts-head img{
    display: none;
}
.cs-archive-content > * {
	min-width: 0;
}

.cs-newsletter-from .cs-email-field {
	padding: 0 !important;
}
.cs-newsletter-from .cs-email-field input {
    max-width: unset !important;
    width: 100% !important;
    padding: 9px 12px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, .15) !important;
    background: rgba(255, 255, 255, .08) !important;
    color: white !important;
    font-size: 13px !important;
    outline: none;
}
.cs-newsletter-from .cs-email-field input:placeholder {
	color:rgba(255,255,255,.3) !important;
}
.cs-newsletter-from .cs-newsletter-from-btn {
	font-family: var(--e-global-typography-3e49778-font-family), sans-serif !important;
	font-size: 13px !important;
    height: auto !important;
    padding: 10px !important;
    font-weight: 600 !important;
	width: 100%;
}
.container.grid-container {
    width: auto;
}
.grid-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
	display: flex;
	flex-wrap: wrap;
}
#page #primary{
	width: 70%;
}
@media (min-width: 767px) {
	.cs-archive-sidebar {
		position: sticky;
		top: 55px;
		align-self: flex-start;
		height: fit-content;
	}
}
@media (max-width: 991px) {
	.cs-blog-posts.cs-blog-list {
		grid-template-columns: repeat(1, 1fr);
	}
	.cs-blog-posts.cs-blog-list .cs-post-excerpt {
		-webkit-line-clamp: 3;
	}
}
@media (max-width: 768px) {
	#page #primary,
	.is-right-sidebar.sidebar{
		width: 100%;
	}
}
@media (max-width: 767px) {
	
	.cs-category-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.cs-blog-posts.cs-blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.cs-how-write-section .elementor-column {
		width: 50%;
	}
	.cs-archive-content {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575px) {
    .cs-category-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.cs-blog-posts.cs-blog-grid {
		grid-template-columns: repeat(1, 1fr);
	}
	
	.cs-how-write-section .elementor-column {
		width: 100%;
	}
}
