/*
Theme Name: Politicos
Theme URI: https://politicos.kaium.dev
Author: Kaium Khan
Author URI: https://kaium.dev
Description: Politicos - Political & Candidate WordPress Theme.
Version: 1.0.4
Tested up to: 6.9
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: politicos
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready
*/

/* --------------------------------------------------------------
   Base
-------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&display=swap');
:root {
	--p-bg: #f5f6fa;
	--p-text: #0237a9;
	--p-link: #0237a9;

	--p-header-bg: #0237a9;
	--p-header-accent: #0237a9;
	--p-header-hover: #0237a9;

	--p-card-bg: #ffffff;
	--p-card-border: #eef0f4;
	--p-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);

	--politicos-content-width: 1280px;
	--politicos-gutter-desktop: 30px;
	--politicos-gutter-tablet: 20px;
	--politicos-gutter-mobile: 16px;
}

/* Global layout safety: fixes right-side overflow + header shifting */
*, *::before, *::after { box-sizing: border-box; }

html, body { width: 100%; overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

#page { width: 100%; overflow-x: hidden; }
@supports (overflow: clip) {
  #page { overflow-x: clip; }
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background-color: var(--p-bg);
	color: var(--p-text);
}

a {
	color: var(--p-link);
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}


p {
  margin-block-start: 0px;
  margin-block-end: 0px;
}

h4 {
    margin-block-start: 0px;
    margin-block-end: 8px;
}



/* Elementor Icon widget: remove extra bottom space */

.elementor-widget-icon .elementor-icon-wrapper{
  line-height: 0;
}

.elementor-widget-icon .elementor-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.elementor-widget-icon .elementor-icon svg,
.elementor-widget-icon .elementor-icon i{
  display: block;
}



/* Safety: prevent Elementor Icon List icons from oversizing on 404/empty templates */
.elementor-icon-list-icon {
	line-height: 1;
	font-size: 16px; 
}

.elementor-icon-list-icon svg,
.elementor-icon-list-icon i {
	width: 1em;
	height: 1em;
	display: inline-block;
	vertical-align: middle;
}




/* Utility container (header inner + optional boxed areas) */
.politicos-container{
	width: 100%;
	max-width: var(--politicos-content-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--politicos-gutter-desktop);
	padding-right: var(--politicos-gutter-desktop);
}

@media (max-width: 1024px){
	.politicos-container{
		padding-left: var(--politicos-gutter-tablet);
		padding-right: var(--politicos-gutter-tablet);
	}
}

@media (max-width: 767px){
	.politicos-container{
		padding-left: var(--politicos-gutter-mobile);
		padding-right: var(--politicos-gutter-mobile);
	}
}

/* Default WP templates boxed. Elementor pages stay full width */
body:not(.elementor-page) #content.site-content{
	max-width: var(--politicos-content-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--politicos-gutter-desktop);
	padding-right: var(--politicos-gutter-desktop);
}

@media (max-width: 1024px){
	body:not(.elementor-page) #content.site-content{
		padding-left: var(--politicos-gutter-tablet);
		padding-right: var(--politicos-gutter-tablet);
	}
}

@media (max-width: 767px){
	body:not(.elementor-page) #content.site-content{
		padding-left: var(--politicos-gutter-mobile);
		padding-right: var(--politicos-gutter-mobile);
	}
}

/* Removes the unwanted gap above Elementor content */
.content-area{
	flex: 1;
	margin-top: 32px;
}
body.elementor-page .content-area{
	margin-top: 0;
}



/* Admin bar offset */
body.admin-bar .site-header{
	top: 32px;
}
@media (max-width: 782px){
	body.admin-bar .site-header{
		top: 46px;
	}
}


.entry-title {
	font-size: 26px;
	margin: 0 0 8px;
	padding-top: 30px;
	padding-bottom: 30px;
}

.entry-content {
	line-height: 1.7;
}

/* Screen reader only */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}



/* Sticky footer layout (prevents body showing under footer on short pages) */
#page{
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.site-main{
	flex: 1 0 auto;
}
.site-footer{
	flex-shrink: 0;
}


/* --------------------------------------------------------------
   Footer
-------------------------------------------------------------- */

.site-footer{
  color: #aaa;
  font-size: 14px;
}

.site-footer:not(.site-footer--builder){
  padding: 24px 0;
  text-align: center;
}

.site-footer.site-footer--builder{
  padding: 0;
  text-align: inherit;
}

.site-footer.site-footer--builder > .elementor{
  margin: 0;
}




/* --------------------------------------------------------------
   Header + Menu
-------------------------------------------------------------- */


.site-header {
	position: sticky;
	top: 0;
	z-index: 9999;
	background: var(--p-header-bg);
	color: var(--p-header-text);
}


.site-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 14px 0;
}

/* Branding */

.site-branding {
	display: flex;
	align-items: center;
	gap: 12px;
}

.custom-logo-link img {
	max-height: 44px;
	width: auto;
}

.site-title {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.1;
}

.site-title a {
	color: var(--p-header-accent);
	text-decoration: none;
}

.site-title a:hover,
.site-title a:focus {
	color: var(--p-header-hover);
	text-decoration: none;
}

.site-description {
	margin: 2px 0 0;
	font-size: 13px;
	color: rgba(230, 236, 255, 0.72);
}

/* Desktop menu */

.site-navigation {
	flex: 1 1 auto;
	text-align: right;
}

.primary-menu,
.primary-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 28px;
}

.primary-menu li {
	position: relative;
}

.primary-menu li a {
	color: rgba(230, 236, 255, 0.95);
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	padding: 8px 0;
	display: inline-block;
}

.primary-menu li a:hover,
.primary-menu li.current-menu-item > a,
.primary-menu li.current_page_item > a,
.primary-menu li.current-menu-ancestor > a {
	color: var(--p-header-hover);
	text-decoration: none;
}

/* Desktop dropdown */

.primary-menu > li.menu-item-has-children > a::after {
	content: "▾";
	font-size: 16px;
	margin-left: 4px;
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% + );
	left: 0;
	min-width: 220px;
	background: #111827;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 8px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
	display: none;
	z-index: 1500;
       text-align:left;
}

.primary-menu .sub-menu li a {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	color: rgba(229, 231, 235, 0.96);
	font-size: 16px;
	font-weight: 400;
	text-decoration: none;
}

.primary-menu .sub-menu li a:hover,
.primary-menu .sub-menu li a:focus {
	background: #ffffff27;
	color: #ffffff;
	text-decoration: none;
}

.primary-menu > li:hover > .sub-menu,
.primary-menu > li:focus-within > .sub-menu {
	display: block;
}

/* Hamburger button (desktop hidden) */

.menu-toggle {
	display: none;
	border: 0;
	background: transparent;
	padding: 10px;
	cursor: pointer;
}

/* Icon lines */

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
	display: block;
	width: 24px;
	height: 2px;
	border-radius: 999px;
	background: #ffffff;
	content: "";
	transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.menu-toggle-icon::before {
	transform: translateY(-6px);
}

.menu-toggle-icon::after {
	transform: translateY(6px);
}

/* X state */

.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
	background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
	transform: translateY(0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
	transform: translateY(0) rotate(-45deg);
}

/* --------------------------------------------------------------
   Off-canvas drawer (theme)
-------------------------------------------------------------- */


.alones-offcanvas[hidden]{display:none!important;}

/*.alones-offcanvas{
	position:fixed;
	inset:0;
	z-index:9999;
	pointer-events:none;
}*/



.alones-offcanvas{
	position:fixed;
	inset:0;
	z-index:9999;
	pointer-events:none;

	/* Critical: stop off-screen panel from increasing page scrollWidth */
	overflow:hidden;
	contain: paint;
}
@supports (overflow: clip){
	.alones-offcanvas{ overflow: clip; }
}



.alones-offcanvas.is-open{
	pointer-events:auto;
}

.alones-offcanvas__overlay{
	position:absolute;
	inset:0;
	background:rgba(0,0,0,.35);
	opacity:0;
	pointer-events:none;
	transition:opacity .40s ease;
}

.alones-offcanvas.is-open .alones-offcanvas__overlay{
	opacity:1;
	pointer-events:auto;
}


.alones-offcanvas__panel{
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	width:min(80vw);
	transform: translate3d(100%, 0, 0);
	transition: transform .38s cubic-bezier(0.2, 0.9, 0.2, 1); /* close feel smoother */
	will-change:transform;
	backface-visibility:hidden;
	overflow:visible;

	background:transparent;
	border:0;
	border-radius:0;
	box-shadow:none;
}

.alones-offcanvas.is-open .alones-offcanvas__panel{
	transform:translate3d(0,0,0);
	transition-timing-function:cubic-bezier(.22,1,.36,1); /* open feels snappy */
	box-shadow:none;
}

.alones-offcanvas__content{
	height:100%;
	overflow:auto;
	-webkit-overflow-scrolling:touch;
	padding:0;
}

/* Default close button (hidden if custom close widget exists) */
.alones-offcanvas__close{
	position:absolute;
	top:12px;
	right:12px;
	z-index:20;
	width:44px;
	height:44px;
	border-radius:999px;
	border:0;
	background:rgba(255,255,255,.9);
	color:#111;
	font-size:22px;
	line-height:1;
	cursor:pointer;
	display:inline-flex;
	align-items:center;
	justify-content:center;
}

.alones-offcanvas.has-custom-close .alones-offcanvas__close{
	display:none;
}

@media (max-width:992px){
	body.alones-offcanvas-open{overflow:hidden;}
}

@media (prefers-reduced-motion:reduce){
	.alones-offcanvas__panel,
	.alones-offcanvas__overlay{transition:none;}
}



/* Drawer menu (off-canvas) */
.alones-offcanvas .site-navigation,
.politicos-builder-role-mobile_menu .politicos-elementor-library .site-navigation{
	text-align:left;
}

/* remove desktop caret inside drawer */
.alones-offcanvas .primary-menu > li.menu-item-has-children > a::after,
.politicos-builder-role-mobile_menu .politicos-elementor-library .primary-menu > li.menu-item-has-children > a::after{
	content:none !important;
}

.alones-offcanvas .primary-menu,
.alones-offcanvas .alones-offcanvas-menu,
.politicos-builder-role-mobile_menu .politicos-elementor-library .primary-menu{
	margin:0;
	padding:0;
	list-style:none;
	display:flex;
	flex-direction:column;
	gap:8px;
}

.alones-offcanvas .primary-menu > li,
.alones-offcanvas .alones-offcanvas-menu > li,
.politicos-builder-role-mobile_menu .politicos-elementor-library .primary-menu > li{
	position:relative;
	width:100%;
}

.alones-offcanvas .primary-menu > li > a,
.alones-offcanvas .alones-offcanvas-menu > li > a,
.politicos-builder-role-mobile_menu .politicos-elementor-library .primary-menu > li > a{
	display:block;
	width:100%;
	padding:12px 48px 12px 12px; /* right space for arrow button */
	border-radius:10px;
	text-align:left;
	text-decoration:none;
	font-weight:600;
	color:inherit;
	position:relative;
	z-index:1;
}

/* submenu default CLOSED */
/* submenu animated (no layout jump) */
.alones-offcanvas .primary-menu .sub-menu,
.alones-offcanvas .alones-offcanvas-menu .sub-menu,
.politicos-builder-role-mobile_menu .politicos-elementor-library .primary-menu .sub-menu{
	position:static;
	display:block !important;      /* keep in flow for animation */
	max-height:0;
	overflow:hidden;
	opacity:0;
	transform:translateY(-4px);
	transition:max-height .28s ease, opacity .18s ease, transform .18s ease;
	will-change:max-height, opacity, transform;
	background:transparent;
	border:0;
	box-shadow:none;
	padding:0 0 0 14px;
	margin:0;
}

.alones-offcanvas li.is-submenu-open > .sub-menu,
.politicos-builder-role-mobile_menu .politicos-elementor-library li.is-submenu-open > .sub-menu{
	max-height:520px;              /* enough for typical menus */
	opacity:1;
	transform:translateY(0);
	padding-top:6px;
}
.alones-offcanvas .sub-menu a,
.politicos-builder-role-mobile_menu .politicos-elementor-library .sub-menu a{
	display:block;
	padding:10px 0;
	text-align:left;
	font-weight:500;
	color:inherit;
	text-decoration:none;
}


/* arrow button stays on the top row, never drops */
.alones-offcanvas .alones-submenu-toggle,
.politicos-builder-role-mobile_menu .politicos-elementor-library .alones-submenu-toggle{
	position:absolute;
	top:8px;            
	right:10px;
	transform:none;      
	width:34px;
	height:34px;
	border:0;
	background:transparent;
	color:inherit;
	cursor:pointer;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius:10px;
	z-index:2;
}

.alones-offcanvas .alones-submenu-toggle::before,
.politicos-builder-role-mobile_menu .politicos-elementor-library .alones-submenu-toggle::before{
	content:"▾";
	font-size:16px;
	line-height:1;
	display:block;
	transition:transform .2s ease;
}

.alones-offcanvas li.is-submenu-open > .alones-submenu-toggle::before,
.politicos-builder-role-mobile_menu .politicos-elementor-library li.is-submenu-open > .alones-submenu-toggle::before{
	transform:rotate(180deg);
}





/* --------------------------------------------------------------
   Posts, pagination
-------------------------------------------------------------- */

.post {
	background-color: var(--p-card-bg);
	margin-bottom: 24px;
	
}

.pagination {
	margin: 24px 0;
	display: flex;
	gap: 8px;
}

.pagination a,
.pagination span {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 4px;
	border: 1px solid #ddd;
	background-color: #fff;
	font-size: 14px;
}

.pagination .current {
	background-color: #0d6efd;
	color: #fff;
	border-color: #0d6efd;
}

/* --------------------------------------------------------------
   Layout and sidebar
-------------------------------------------------------------- */



/* 1) Top padding under sticky header 
body.single-post .site-layout,
body.search .site-layout,
body.search-results .site-layout {
	padding-top: 90px;
}*/

.site-layout {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.site-main-column {
	flex: 1 1 auto;
}

.widget-area {
	flex: 0 0 280px;
}

@media (min-width: 992px) {
	.site-layout {
		flex-direction: row;
		align-items: flex-start;
	}
}

.widget {
	margin-bottom: 16px;
	background-color: rgba(2, 43, 71, 0.06);
	padding:20px;
	border-radius: 15px;
}

.widget-title {
	font-size: 16px;
	margin: 0 0 12px;
}

.archive-header {
	margin-bottom: 24px;
}

.archive-description {
	font-size: 14px;
	color: #555;
}


/* --------------------------------------------------------------
   Blog archive grid
-------------------------------------------------------------- */

.post-archive-header {
	margin-bottom: 24px;
	
}

.post-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.post-card {
	background-color: #ffffff;
	border-radius: 10px;
	box-shadow: var(--p-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.post-card-thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.post-card-body {
	padding: 18px 20px 20px;
}

.post-card-title {
	font-size: 20px;
	margin: 0 0 6px;
	
}

.post-card-title a {
	font-weight: 500;
	color:var(--p-text) !important;
	text-decoration: none;
}

.post-card-title a:hover,
.post-card-title a:focus {
	text-decoration: underline;
}



/* Blog cards: keep titles */
body.archive .post-card .post-card-body h2.post-card-title{
	font-size: 20px;
	line-height: 1.25;
	margin: 0 0 6px;
}

body.archive .post-card .post-card-body h2.post-card-title a{
	font-size: inherit;
	line-height: inherit;
	text-decoration: none;
	color: var(--p-text) !important;
}

body.archive .post-card .post-card-body h2.post-card-title a:hover,
body.archive .post-card .post-card-body h2.post-card-title a:focus{
	text-decoration: none;
}

body.search .post-card .post-card-body h2.post-card-title,
body.search-results .post-card .post-card-body h2.post-card-title {
	font-size: 20px;
	line-height: 1.25;
	margin: 0 0 6px;
}

body.search .post-card .post-card-body h2.post-card-title a,
body.search-results .post-card .post-card-body h2.post-card-title a {
	font-size: inherit;
	line-height: inherit;
}



.post-card-meta {
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 10px;
}

.post-card-meta span + span::before {
	content: "/";
	margin: 0 4px;
}

.post-card-excerpt {
	font-size: 14px;
	color: #374151;
	margin-bottom: 14px;
}

.post-card-footer {
	padding: 0 20px 18px;
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	border-top: 1px solid var(--p-card-border);
}

.post-card-readmore a {
	color: #0d6efd;
	text-decoration: none;
}

.post-card-readmore a:hover,
.post-card-readmore a:focus {
	text-decoration: underline;
}

@media (min-width: 768px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* --------------------------------------------------------------
   Single post + Sidebar, Comments, post Image settings
-------------------------------------------------------------- */



/* Sidebar scoped colors */
#secondary.widget-area {
	--p-sidebar-heading: var(--p-text);
	--p-sidebar-link: var(--p-text); 
	--p-sidebar-link-hover: var(--p-text);
	
}

/* Sidebar headings */
#secondary.widget-area .widget-title,
#secondary.widget-area .wp-block-heading,
#secondary.widget-area h2,
#secondary.widget-area h3 {
	color: var(--p-sidebar-heading);
	font-size: 22px;
	line-height: 1.2;
	margin: 0 0 14px;
}

/* Sidebar links */
#secondary.widget-area a {
	color: var(--p-sidebar-link);
	text-decoration: none;
}

#secondary.widget-area a:hover,
#secondary.widget-area a:focus {
	color: var(--p-sidebar-link-hover);
	text-decoration: none;
}

#secondary.widget-area .wp-block {
	margin: 0;
}

/* Sidebar Latest Posts: show image under title */
#secondary.widget-area .wp-block-latest-posts {
	list-style: none;
	padding: 0;
	margin: 0;
}

#secondary.widget-area .wp-block-latest-posts li {
	display: flex;
	flex-direction:column-reverse;
	gap: 10px;
	border-bottom: solid 1px rgba(2, 43, 71, 0.2);
	padding-bottom: 20px;
	margin-bottom: 20px;
	
	
	
}

 

#secondary.widget-area .wp-block-latest-posts li:last-child {
	border-bottom: 0;
	
}

#secondary.widget-area .wp-block-latest-posts a {
	order: 1;
	text-decoration: none;
}

#secondary.widget-area .wp-block-latest-posts__featured-image {
	order: 2;
	margin: 0;
}

#secondary.widget-area .wp-block-latest-posts__featured-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
}

/* Search block */
#secondary.widget-area .wp-block-search .wp-block-search__inside-wrapper {
	display: flex;
	gap: 10px;
}

#secondary.widget-area .wp-block-search__input {
	width: 100%;
	border: 1px solid rgba(0,0,0,0.10);
	border-radius: 12px;
	padding: 12px 14px;
	outline: none;
}

/* Search button */
#secondary.widget-area .wp-block-search__button,
#secondary.widget-area .wp-block-search .wp-element-button {
	border: 1px solid transparent;
	border-radius: 12px;
	padding: 12px 16px;
	cursor: pointer;
	background: var(--p-header-bg);
	color: #fff;
}

#secondary.widget-area .wp-block-search__button:hover,
#secondary.widget-area .wp-block-search__button:focus,
#secondary.widget-area .wp-block-search .wp-element-button:hover,
#secondary.widget-area .wp-block-search .wp-element-button:focus {
	background: var(--p-header-hover);
	color: #fff;
}

/* Latest Comments */
#secondary.widget-area .wp-block-latest-comments {
	list-style: none;
	padding: 0;
	margin: 0;
	
}


#secondary.widget-area .wp-block-latest-comments__comment {
	margin: 0;
}

#secondary.widget-area .wp-block-latest-comments__comment-meta {
	font-size: 14px;
	line-height: 1.35;
	color: var(--p-text);
	padding-top:12px;
	padding-bottom:12px;
}

#secondary.widget-area .wp-block-latest-comments__comment-excerpt p {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--p-text);
}

/* Archives / Categories */
#secondary.widget-area .wp-block-archives,
#secondary.widget-area .wp-block-categories {
	padding-left: 18px;
	margin: 0;
}

#secondary.widget-area .wp-block-archives li,
#secondary.widget-area .wp-block-categories li {
	color: var(--p-sidebar-link);
      margin: 0 0 12px;
	line-height: 1.4;

}


#secondary.widget-area .wp-block-latest-comments li {
	padding: 10px 0;
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

#secondary.widget-area .wp-block-latest-comments li:last-child {
	border-bottom: 0;
}

/* Single featured image */
.single-post .entry-thumbnail {
	margin: 0 0 18px;
	border-radius: 14px;
	overflow: hidden;
	line-height: 0;
}

.single-post .entry-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}

/* Post tags: avoid default blue */
.single-post .post-tags a {
	color: var(--p-header-bg);
	text-decoration: none;
}

.single-post .post-tags a:hover,
.single-post .post-tags a:focus {
	color: var(--p-header-hover);
	text-decoration: underline;
}


div.entry-meta{
	color: rgba(2, 43, 71, 0.5);
	padding-top:12px;
	padding-bottom:12px;
	font-size: 14px;
}

/* Comments */
#comments {
	margin-top: 34px;
}

#comments .comments-title,
#comments .comment-reply-title {
	font-size: 22px;
	line-height: 1.2;
	margin: 0 0 16px;
	color: var(--p-text);
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 26px;
}

.comment-list > li {
	margin: 0 0 14px;
}

.comment-body {
	background: #fff;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 16px;
	padding: 16px 16px 14px;
}

.comment-author .avatar {
	border-radius: 999px;
}

.comment-metadata,
.comment-metadata a {
	font-size: 13px;
	text-decoration: none;
	opacity: 0.8;
	color: var(--p-text);
}

.comment-content p {
	margin: 10px 0 0;
	line-height: 1.7;
}

.reply a {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	color: var(--p-header-bg);
	text-decoration: none;
}

.reply a:hover,
.reply a:focus {
	color: var(--p-header-hover);
	text-decoration: underline;
}

/* Fix textarea shifted right + form full width */


#commentform > p.logged-in-as > span{
    display:none;
    
}
.comment-respond {
	background: #fff;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 16px;
	padding: 18px;
}

.comment-form {
	margin: 0;
}

.comment-form p {
	margin: 0 0 12px;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	border: 1px solid rgba(0,0,0,0.10);
	border-radius: 12px;
	padding: 12px 14px;
	outline: none;
	margin: 0;
	float: none;
	display: block;
}

.comment-respond textarea {
	min-height: 130px;
	resize: vertical;
}

/* Post Comment button */
.comment-respond .form-submit input[type="submit"] {
	border: 1px solid transparent;
	border-radius: 12px;
	padding: 12px 16px;
	cursor: pointer;
	background: var(--p-header-bg);
	color: #fff;
}

.comment-respond .form-submit input[type="submit"]:hover,
.comment-respond .form-submit input[type="submit"]:focus {
	background: var(--p-header-hover);
	color: var(--p-text);
}


body .comment-respond label,
body #commentform label {
	font-size: 16px;
	line-height: 1.25;
	font-weight: 600;
	display: inline-block;
	margin: 0 0 8px;
	color: var(--p-text);
}

@media (max-width: 900px) {
	#secondary.widget-area {
		margin-top: 22px;
	}
}



.logged-in-as a{
	color: rgba(2, 43, 71, 0.5) !important;
}




/* Single: Prev/Next (thumbnail cards) */
.politicos-prevnext{
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid rgba(0,0,0,0.08);
}

.politicos-prevnext__grid{
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.politicos-prevnext__card{
	display: block;
	background: rgba(2, 43, 71, 0.08);
	border-radius: 14px;
	padding: 14px 16px;
	text-decoration: none;
	color: #062A45;
}

.politicos-prevnext__card:hover{
	transform: translateY(-1px);
	text-decoration: none;
}

.politicos-prevnext__label{
	display: block;
	font-size: 14px;
	margin-bottom: 10px;
	color: rgba(2, 43, 71, 0.5);
}

.politicos-prevnext__row{
	display: flex;
	align-items: center;
	gap: 12px;
}

.politicos-prevnext__thumb{
	width: 56px;
	height: 56px;
	border-radius: 8px;
	overflow: hidden;
	flex: 0 0 56px;
	background: rgba(2, 43, 71, 0.08);
}

.politicos-prevnext__thumb img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.politicos-prevnext__title{
	display: block;
	font-weight: 500;
	line-height: 1.25;
	font-size: 18px;
	color:var(--p-text);
	text-decoration: none;
}

.politicos-prevnext__card.is-next .politicos-prevnext__row{
	justify-content: space-between;
	text-align: right;
}

.politicos-prevnext__card.is-empty{
	opacity: .25;
	min-height: 96px;
}

@media (max-width: 1024px){
	.politicos-prevnext__grid{
		grid-template-columns: 1fr;
	}
	.politicos-prevnext__card.is-next .politicos-prevnext__row{
		text-align: left;
	}
}





/* --------------------------------------------------------------
   Elementor Free compatibility
-------------------------------------------------------------- */

.politicos-content-area--full {
	max-width: none;
	padding: 0;
}

.politicos-content-area--full.content-area {
	margin-top: 0;
}

body.page-template-page-elementor-fullwidth .entry-content,
body.page-template-page-elementor-canvas .entry-content {
	margin: 0;
}

body.politicos-elementor-canvas {
	background: #fff;
}






/* --------------------------------------------------------------
  Chartertasks css
-------------------------------------------------------------- */



/* =========================================================
   CharterTasks Profile Edit Shortcode (REPLACE CSS)
   Targets: .ct-profile
   Palette:
   blue #007FFF | white #E9F0F7 | bg #16151A | card #00B7FF08 | border rgba(133,131,140,.2196)
   ========================================================= */

.ct-profile,
.ct-profile *{ box-sizing:border-box; }

.ct-profile{
  --ct-blue:#007FFF;
  --ct-white:#E9F0F7;
  --ct-bg:#16151A;
  --ct-card:rgba(0, 183, 255, 0.03); /* #00B7FF08 */
  --ct-border:rgba(133, 131, 140, 0.2196078431372549);

  max-width:980px;
  margin:0 auto;
  padding:24px 16px;
  color:var(--ct-white);
}

/* Card */
.ct-profile .ct-p-card{
  background:var(--ct-card);
  border:1px solid var(--ct-border);
  border-radius:22px;
  padding:40px;
  box-shadow:0 18px 60px rgba(0,0,0,.35);
}

/* Header */
.ct-profile .ct-p-head{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:18px;
}

.ct-profile .ct-p-avatar{
  width:76px;
  height:76px;
  border-radius:18px;
  overflow:hidden;
  flex:0 0 auto;
  border:1px solid var(--ct-border);
  background:rgba(233,240,247,.06);
}

.ct-profile .ct-p-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.ct-profile .ct-p-avatar-fallback{
  width:100%;
  height:100%;
  background:linear-gradient(135deg, rgba(0,127,255,.28), rgba(233,240,247,.06));
}

.ct-profile .ct-p-head-meta{ min-width:0; }

.ct-profile .ct-p-title{
  color:var(--ct-blue);
  font-size:22px;
  font-weight:900;
  letter-spacing:-0.02em;
  margin:0;
}

.ct-profile .ct-p-sub{
  margin-top:6px;
  color:rgba(233,240,247,.82);
  font-size:14px;
  line-height:1.35;
}


/* Messages */
.ct-profile .ct-p-msg{
  margin:0 0 14px;
  padding:12px 14px;
  border-radius:16px;
  font-size:13px;
  font-weight:700;
  line-height:1.35;
}
.ct-profile .ct-p-msg-success{
  background:rgba(16,185,129,.12);
  border:1px solid rgba(16,185,129,.26);
  color:#b7f0cf;
}
.ct-profile .ct-p-msg-error{
  background:rgba(239,68,68,.12);
  border:1px solid rgba(239,68,68,.26);
  color:#fecaca;
}

/* Form */
.ct-profile .ct-p-form{ margin-top:8px; }
.ct-profile .ct-hp{ display:none !important; }

.ct-profile .ct-p-label{
  display:block;
  margin:16px 0 8px;
  font-weight:900;
  color:rgba(233,240,247,.92);
}

/* Dark inputs */
.ct-profile input[type="text"],
.ct-profile input[type="email"],
.ct-profile input[type="tel"],
.ct-profile input[type="number"],
.ct-profile input[type="file"],
.ct-profile textarea,
.ct-profile select,
.ct-profile .ct-p-input,
.ct-profile .ct-p-textarea,
.ct-profile .ct-p-file{
  width:100%;
  border:1px solid var(--ct-border);
  border-radius:16px;
  padding:14px 16px;
  background:rgba(233, 240, 247, 0.06);
  color:var(--ct-white);
  outline:none;
  font-size:15px;
  box-shadow:none;
}

.ct-profile .ct-p-input{ height:52px; }
.ct-profile .ct-p-textarea{ min-height:140px; resize:vertical; }
.ct-profile input[type="file"]{ padding:12px 14px; }

.ct-profile input::placeholder,
.ct-profile textarea::placeholder{
  color:rgba(233,240,247,.55);
}

.ct-profile input:focus,
.ct-profile textarea:focus,
.ct-profile select:focus{
  border-color:rgba(0,127,255,.85);
  box-shadow:0 0 0 4px rgba(0,127,255,.22);
  outline:none;
}

/* File button */
.ct-profile input[type="file"]::file-selector-button{
  border:1px solid rgba(233,240,247,.22);
  background:rgba(233, 240, 247, 0.12);
  color:var(--ct-white);
  padding:10px 12px;
  border-radius:12px;
  margin-right:12px;
  cursor:pointer;
  font-weight:900;
}
.ct-profile input[type="file"]::-webkit-file-upload-button{
  border:1px solid rgba(233,240,247,.22);
  background:rgba(233, 240, 247, 0.12);
  color:var(--ct-white);
  padding:10px 12px;
  border-radius:12px;
  margin-right:12px;
  cursor:pointer;
  font-weight:900;
}

/* Checkbox row */
.ct-profile .ct-p-check{
  display:flex;
  gap:10px;
  align-items:center;
  margin-top:12px;
  color:rgba(233,240,247,.82);
  font-weight:700;
  font-size:13px;
}
.ct-profile .ct-p-check input{
  width:18px;
  height:18px;
  margin:0;
  accent-color:var(--ct-blue);
}

/* Submit */
.ct-profile .ct-p-btn{
  width:100%;
  height:54px;
  margin-top:18px;
  border:0;
  border-radius:18px;
  cursor:pointer;
  background:var(--ct-blue);
  color:var(--ct-white);
  font-size:15px;
  font-weight:900;
}
.ct-profile .ct-p-btn:hover{ filter:brightness(1.05); }
.ct-profile .ct-p-btn:active{ transform:translateY(1px); }

/* Responsive */
@media (max-width:1024px){
  .ct-profile{ padding:18px 12px; }
  .ct-profile .ct-p-card{ padding:20px; }
}
@media (max-width:767px){
  .ct-profile .ct-p-head{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }
  .ct-profile .ct-p-link-btn{
    margin-left:0;
    width:100%;
  }
  .ct-profile .ct-p-avatar{
    width:68px;
    height:68px;
    border-radius:16px;
  }
}


/* =========================================================
   CharterTasks Freelancer Verification Form (REPLACE CSS)
   Target: .ct-verify-wrap
   Palette only:
   blue #007FFF | white #E9F0F7 | bg #16151A | card #00B7FF08 | border rgba(133,131,140,.2196)
   ========================================================= */

.ct-verify-wrap,
.ct-verify-wrap *{ box-sizing:border-box; }

.ct-verify-wrap{
  --ct-blue:#007FFF;
  --ct-white:#E9F0F7;
  --ct-bg:#16151A;
  --ct-card:rgba(0, 183, 255, 0.03); /* #00B7FF08 */
  --ct-border:rgba(133, 131, 140, 0.2196078431372549);

  max-width:980px;
  margin:0 auto;
  padding:28px 16px;
  color:var(--ct-white);
}

/* Hide honeypot */
.ct-verify-wrap .ct-hp,
.ct-verify-wrap .ct-p-hp,
.ct-verify-wrap input[name="ct_hp"],
.ct-verify-wrap input[name="ct_profile_hp"]{
  position:absolute !important;
  left:-9999px !important;
  top:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* Card */
.ct-verify-wrap .ct-p-card{
  background:var(--ct-card);
  border:1px solid var(--ct-border);
  border-radius:24px;
  padding:44px;
  box-shadow:0 18px 60px rgba(0,0,0,.35);
}

/* Headings + intro */
.ct-verify-wrap h1,
.ct-verify-wrap h2,
.ct-verify-wrap h3{
  color:var(--ct-blue) !important;
  margin:0 0 10px;
  font-weight:900;
  letter-spacing:-0.02em;
}
.ct-verify-wrap h3{
  font-size:30px !important;
  line-height:1.15;
}
.ct-verify-wrap p{
  margin:0 0 14px;
  color:rgba(233,240,247,.82);
  line-height:1.55;
}

/* Messages (palette only) */
.ct-verify-wrap .ct-p-msg{
  margin:0 0 16px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(233,240,247,.95);
  border:1px solid var(--ct-border);
  color:var(--ct-bg);
  font-size:13px;
  font-weight:900;
  line-height:1.35;
}
.ct-verify-wrap .ct-p-msg-success{
  border-left:4px solid var(--ct-blue);
}
.ct-verify-wrap .ct-p-msg-error{
  border-left:4px solid var(--ct-bg);
}

/* Status pill */
.ct-verify-wrap .ct-v-status{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  font-weight:900;
  font-size:13px;
  line-height:1;
  border:1px solid var(--ct-border);
  background:rgba(233,240,247,.06);
  color:var(--ct-white);
}
.ct-verify-wrap .ct-v-status-approved{
  background:var(--ct-blue);
  color:var(--ct-white);
}
.ct-verify-wrap .ct-v-status-pending{
  background:rgba(233,240,247,.10);
  color:var(--ct-white);
}
.ct-verify-wrap .ct-v-status-rejected{
  background:rgba(233,240,247,.10);
  color:rgba(233,240,247,.92);
}

/* ------- FORM LAYOUT (fix spacing + premium) ------- */
.ct-verify-wrap .ct-p-card form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 18px; /* main spacing (row, col) */
  margin-top:10px;
}

/* Make non-field blocks span full width */
.ct-verify-wrap .ct-p-card form > h1,
.ct-verify-wrap .ct-p-card form > h2,
.ct-verify-wrap .ct-p-card form > h3,
.ct-verify-wrap .ct-p-card form > p,
.ct-verify-wrap .ct-p-card form > .ct-p-msg,
.ct-verify-wrap .ct-p-card form > .ct-v-cats,
.ct-verify-wrap .ct-p-card form > .ct-p-actions{
  grid-column:1 / -1;
}

/* Each field becomes a clean block */
.ct-verify-wrap .ct-v-field{
  grid-column:span 1;
  margin:0; /* important: remove stacked margin */
}

/* Labels */
.ct-verify-wrap .ct-p-label{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 10px;
  font-weight:900;
  color:rgba(233,240,247,.92);
  letter-spacing:-0.01em;
}

/* Inputs */
.ct-verify-wrap input[type="text"],
.ct-verify-wrap input[type="email"],
.ct-verify-wrap input[type="tel"],
.ct-verify-wrap input[type="number"],
.ct-verify-wrap input[type="file"],
.ct-verify-wrap select,
.ct-verify-wrap textarea{
  width:100%;
  border:1px solid var(--ct-border);
  border-radius:18px;
  padding:14px 16px;
  background:rgba(233, 240, 247, 0.06);
  color:var(--ct-white);
  outline:none;
  font-size:15px;
  box-shadow:none;
}

.ct-verify-wrap textarea{
  min-height:120px;
  resize:vertical;
}

.ct-verify-wrap input::placeholder,
.ct-verify-wrap textarea::placeholder{
  color:rgba(233,240,247,.55);
}

.ct-verify-wrap input:focus,
.ct-verify-wrap select:focus,
.ct-verify-wrap textarea:focus{
  border-color:rgba(0,127,255,.85);
  box-shadow:0 0 0 4px rgba(0,127,255,.22);
}

/* File input button */
.ct-verify-wrap input[type="file"]{
  padding:12px 14px;
}
.ct-verify-wrap input[type="file"]::file-selector-button{
  border:1px solid var(--ct-border);
  background:rgba(233,240,247,.12);
  color:var(--ct-white);
  padding:10px 12px;
  border-radius:14px;
  margin-right:12px;
  cursor:pointer;
  font-weight:900;
}
.ct-verify-wrap input[type="file"]::-webkit-file-upload-button{
  border:1px solid var(--ct-border);
  background:rgba(233,240,247,.12);
  color:var(--ct-white);
  padding:10px 12px;
  border-radius:14px;
  margin-right:12px;
  cursor:pointer;
  font-weight:900;
}

/* Categories */
.ct-verify-wrap .ct-v-cats{
  display:flex;
  flex-wrap:wrap;
  gap:12px 12px;
  margin:8px 0 4px;
}
.ct-verify-wrap .ct-v-cat{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--ct-border);
  background:rgba(233,240,247,.06);
}
.ct-verify-wrap .ct-v-cat input[type="checkbox"]{
  width:18px;
  height:18px;
  margin:0;
  accent-color:var(--ct-blue);
}
.ct-verify-wrap .ct-v-cat span{
  color:var(--ct-white);
  font-weight:900;
  letter-spacing:-0.01em;
}

/* Submit area */
.ct-verify-wrap .ct-p-actions{
  margin-top:6px;
}
.ct-verify-wrap .ct-p-btn,
.ct-verify-wrap button,
.ct-verify-wrap input[type="submit"]{
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 18px;
  border-radius:18px;
  border:0;
  background:var(--ct-blue);
  color:var(--ct-white);
  font-weight:900;
  font-size:15px;
  cursor:pointer;
  box-shadow:0 18px 40px rgba(0,127,255,.22);
}
.ct-verify-wrap .ct-p-btn:hover,
.ct-verify-wrap button:hover,
.ct-verify-wrap input[type="submit"]:hover{
  filter:brightness(1.04);
}
.ct-verify-wrap .ct-p-btn:active,
.ct-verify-wrap button:active,
.ct-verify-wrap input[type="submit"]:active{
  transform:translateY(1px);
}

/* Tooltip icon */
.ct-verify-wrap .ct-tip,
.ct-tip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border:1px solid var(--ct-border);
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  line-height:1;
  cursor:help;
  user-select:none;
  color:var(--ct-white);
  background:rgba(233,240,247,.06);
}

/* Floating tooltip bubble (palette-safe) */
.ct-float-tip{
  position:fixed;
  left:0;
  top:0;
  background:var(--ct-bg);
  color:var(--ct-white);
  padding:10px 12px;
  border-radius:14px;
  font-size:13px;
  line-height:1.25;
  max-width:min(320px, calc(100vw - 24px));
  z-index:999999;
  pointer-events:none;
  white-space:normal;
  overflow-wrap:anywhere;
  box-shadow:0 14px 40px rgba(0,0,0,.28);
  border:1px solid var(--ct-border);
}

/* Responsive */
@media (max-width:1024px){
  .ct-verify-wrap{ padding:20px 12px; }
  .ct-verify-wrap .ct-p-card{ padding:24px; }
  .ct-verify-wrap h3{ font-size:24px !important; }
  .ct-verify-wrap .ct-p-card form{
    grid-template-columns:1fr; /* one column */
    gap:16px;
  }
  .ct-verify-wrap .ct-v-field{ grid-column:1 / -1; }
}




/* Public Profile */


.ct-public-profile{
    max-width:980px;
    margin:0 auto;
}
 .ct-public-profile .ct-p-card{
    background:rgba(0, 183, 255, 0);
    border-radius:22px;
    padding:40px;
}
 .ct-public-profile .ct-p-head{
    display:flex;
    gap:36px;
    align-items:center;
}
 .ct-public-profile .ct-p-avatar{
    width:72px;
    height:72px;
    border-radius:18px;
    overflow:hidden;
    flex:0 0 auto
}
 .ct-public-profile .ct-p-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block
}
 .ct-public-profile .ct-p-head-meta{
    min-width:0
}
 .ct-public-profile .ct-p-title{
    color: #007FFF;
    font-family: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:24px;
    font-size:24px;
    font-weight:600;
    margin:0
}
 .ct-public-profile .ct-p-sub{
    font-size: 16px;
    margin-top:12px;
    color:#E9F0F7;
    font-weight:400

}
 .ct-public-profile .ct-p-bio{
    margin-top:16px !important;
    color:rgb(232,240,246, 0.8);
    line-height:1.65
}
/* Verified badge */
 .ct-public-profile .ct-verified-badge{
     display:inline-flex;
    align-items:center;
    gap:8px;
     padding:6px 10px;
    border-radius:999px;
    border:1px solid #007FFF;
    color:#007FFF;
     font-size:13px;
    font-weight:500 
}
.ct-public-profile .ct-verified-badge:before{
     content:"";
    width:16px;
    height:16px;
    display:inline-block;
    background-size:contain;
    background-repeat:no-repeat;
    background-position:center;
     background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23007FFF' d='M12 2.5l2.5 1.2 2.7-.3 1.4 2.4 2.4 1.4-.3 2.7 1.2 2.5-1.2 2.5.3 2.7-2.4 1.4-1.4 2.4-2.7-.3L12 21.5l-2.5-1.2-2.7.3-1.4-2.4-2.4-1.4.3-2.7L2.5 12l1.2-2.5-.3-2.7 2.4-1.4 1.4-2.4 2.7.3L12 2.5z' opacity='.8'/%3E%3Cpath fill='none' stroke='%2316151a' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round' d='M9.5 12.5l1.8 1.8L15.5 10'/%3E%3C/svg%3E");
}




/* Category chips */
 .ct-public-profile .ct-public-cats{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:14px
}
 .ct-public-profile .ct-cat-chip{
     display:inline-flex;
    align-items:center;
     padding:8px 12px;
    border-radius:999px;
     border:1px solid rgba(0,0,0,.12);
    background:#f8fafc;
     color:#111;
    font-weight:700;
    text-decoration:none 
}
/* View public profile button */
.ct-profile .ct-p-link-btn{
  margin-left:auto;
  margin-top:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--ct-border);
  background:rgba(233,240,247,.06);
  color:var(--ct-white);
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
  width:max-content;
}

.ct-profile .ct-p-link-btn:hover{
  filter:brightness(1.06);
}

.ct-profile .ct-p-link-btn:active{
  transform:translateY(1px);
}

/* Tablet + Mobile */
@media (max-width: 1024px){
  .ct-public-profile .ct-p-card{
    padding:20px;
  }
}
 .ct-profile .ct-p-link-btn:hover{
    opacity:.92
}




/* CharterTasks onboarding polish */
.ct-onboarding .ct-ob-progress{
  margin:0 0 16px;
}

.ct-onboarding .ct-ob-progress-bar{
  width:100%;
  height:8px;
  border-radius:999px;
  background:rgba(233,240,247,.08);
  overflow:hidden;
  border:1px solid rgba(133,131,140,.16);
}

.ct-onboarding .ct-ob-progress-fill{
  height:100%;
  border-radius:999px;
  background:#007FFF;
  box-shadow:0 0 18px rgba(0,127,255,.26);
}

.ct-onboarding .ct-ob-steps{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:0 0 18px;
}

.ct-onboarding .ct-ob-step{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(133,131,140,.2196078431);
  background:rgba(233,240,247,.04);
}

.ct-onboarding .ct-ob-step.is-current{
  border-color:rgba(0,127,255,.42);
  background:rgba(0,127,255,.10);
}

.ct-onboarding .ct-ob-step.is-done{
  border-color:rgba(0,127,255,.28);
}

.ct-onboarding .ct-ob-num{
  width:24px;
  height:24px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:800;
  color:#E9F0F7;
  background:rgba(233,240,247,.10);
}

.ct-onboarding .ct-ob-step.is-current .ct-ob-num,
.ct-onboarding .ct-ob-step.is-done .ct-ob-num{
  background:#007FFF;
}

.ct-onboarding .ct-ob-label{
  color:#E9F0F7;
  font-size:14px;
  font-weight:700;
  line-height:1;
}

.ct-onboarding .ct-onb-nav{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:18px;
}

.ct-onboarding .ct-onb-nav .ct-p-btn{
  margin-top:0;
  flex:1 1 auto;
}

.ct-onboarding .ct-onb-back{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:120px;
  height:54px;
  padding:0 18px;
  border-radius:18px;
  border:1px solid rgba(133,131,140,.2196078431);
  background:rgba(233,240,247,.06);
  color:#E9F0F7;
  text-decoration:none;
  font-weight:800;
}

.ct-onboarding .ct-onb-back:hover{
  filter:brightness(1.05);
}

.ct-onboarding .ct-onb-nav--top{
  margin:0 0 14px;
}

.ct-onboarding .ct-onb-complete{
  margin-top:6px;
}

.ct-onboarding .ct-p-actions .ct-p-btn,
.ct-onboarding a.ct-p-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  width:100%;
}

/* Onboarding step 3 only: embedded verification + disclaimer */
.ct-onboarding .ct-verify-wrap{
  max-width:none;
  margin:0;
  padding:0;
}

.ct-onboarding .ct-verify-wrap .ct-p-card{
  background:transparent;
  border:0;
  box-shadow:none;
  padding:0;
  border-radius:0;
}

.ct-onboarding .ct-verify-wrap .ct-p-card form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 18px;
  margin-top:10px;
}

.ct-onboarding .ct-verify-wrap .ct-p-card form > h1,
.ct-onboarding .ct-verify-wrap .ct-p-card form > h2,
.ct-onboarding .ct-verify-wrap .ct-p-card form > h3,
.ct-onboarding .ct-verify-wrap .ct-p-card form > p,
.ct-onboarding .ct-verify-wrap .ct-p-card form > .ct-p-msg,
.ct-onboarding .ct-verify-wrap .ct-p-card form > .ct-v-cats,
.ct-onboarding .ct-verify-wrap .ct-p-card form > .ct-p-actions{
  grid-column:1 / -1;
}

.ct-onboarding .ct-verify-wrap .ct-v-field{
  grid-column:span 1;
  margin:0;
}

.ct-onboarding .ct-verify-wrap .ct-p-actions{
  margin-top:14px;
}

.ct-onboarding .ct-verify-wrap .ct-p-btn,
.ct-onboarding .ct-verify-wrap button,
.ct-onboarding .ct-verify-wrap input[type="submit"]{
  box-shadow:none;
}

.ct-onboarding .ct-verify-wrap input[type="file"]{
  display:block;
  width:100%;
  min-height:56px;
  padding:10px 14px;
  line-height:34px;
  font:inherit;
}

.ct-onboarding .ct-verify-wrap input[type="file"]::file-selector-button{
  height:34px;
  line-height:32px;
  padding:0 16px;
  margin-right:12px;
  vertical-align:middle;
}

.ct-onboarding .ct-verify-wrap input[type="file"]::-webkit-file-upload-button{
  height:34px;
  line-height:32px;
  padding:0 16px;
  margin-right:12px;
  vertical-align:middle;
}

.ct-onboarding .ct-onb-disclaimer{
  margin-top:14px;
}

.ct-onboarding .ct-onb-disclaimer-box{
  background:rgba(233,240,247,.04);
  border:1px solid rgba(133,131,140,.2196078431);
  border-radius:18px;
  padding:16px;
}

.ct-onboarding .ct-onb-disclaimer-title{
  color:#E9F0F7;
  font-size:15px;
  font-weight:800;
  margin-bottom:8px;
}

.ct-onboarding .ct-onb-disclaimer-text{
  color:rgba(233,240,247,.80);
  font-size:14px;
  line-height:1.5;
}

.ct-onboarding .ct-onb-disclaimer-check{
  margin-top:12px;
}

.ct-onboarding .ct-onb-disclaimer-actions{
  margin-top:14px;
}

.ct-onboarding .ct-onb-skip-btn{
  width:100%;
  height:50px;
  border:1px solid rgba(133,131,140,.2196078431);
  border-radius:16px;
  background:rgba(233,240,247,.06);
  color:#E9F0F7;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  box-shadow:none;
}

.ct-onboarding .ct-onb-skip-btn:hover{
  filter:brightness(1.05);
}

@media (max-width:1024px){
  .ct-onboarding .ct-verify-wrap .ct-p-card form{
    grid-template-columns:1fr;
    gap:16px;
  }

  .ct-onboarding .ct-verify-wrap .ct-v-field{
    grid-column:1 / -1;
  }
}

@media (max-width:767px){
  .ct-onboarding .ct-onb-nav{
    flex-direction:column;
    align-items:stretch;
  }

  .ct-onboarding .ct-onb-back{
    width:100%;
  }
}



/* =========================================================
   CharterTasks Auth UI (REPLACE CSS)
   Pages: /login /signup /forgot-password /verify-email
   Uses only palette:
   blue #007FFF | white #E9F0F7 | bg #16151A | box #00B7FF08 | border rgba(133,131,140,0.2196)
   ========================================================= */

.ct-auth,
.ct-auth *{ box-sizing:border-box; }

.ct-auth{
  --ct-blue:#007FFF;
  --ct-white:#E9F0F7;
  --ct-bg:#16151A;
  --ct-box:rgba(0, 183, 255, 0.03);
  --ct-border:rgba(133, 131, 140, 0.2196078431372549);

  max-width:560px;
  margin:72px auto;
  padding:0 16px;
}

@media (max-width: 768px){
  .ct-auth{ margin:48px auto; }
}

/* hide honeypot */
.ct-auth .ct-hp{ display:none !important; }

/* Card: keep it white */
.ct-auth .ct-form,
.ct-auth .ct-auth-note{
  background: var(--ct-white);
  border: 1px solid var(--ct-border);
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 22px 70px rgba(22,21,26,.45);
}

@media (max-width: 768px){
  .ct-auth .ct-form,
  .ct-auth .ct-auth-note{
    padding: 22px;
    border-radius: 22px;
  }
}

/* Messages (no extra colors, only palette) */
.ct-auth .ct-msg{
  margin:0 0 14px;
  padding:12px 14px;
  border-radius:18px;
  background: rgba(0,127,255,.08);
  border: 1px solid var(--ct-border);
  color: #E9F0F7;
  font-weight:600;
  line-height:1.35;
}
.ct-auth .ct-msg-success{
  border-left: 4px solid var(--ct-blue);
}
.ct-auth .ct-msg-error{
  border-left: 4px solid var(--ct-bg);
}

/* Labels */
.ct-auth .ct-label{
  display:block;
  margin:14px 0 8px;
  font-size:13px;
  font-weight:700;
  color: rgba(22,21,26,.85);
}

/* Inputs */
.ct-auth .ct-input{
  width:100%;
  height:56px;
  padding:0 18px;
  border-radius:18px;
  border:1px solid var(--ct-border);
  background: var(--ct-white);
  color: var(--ct-bg);
  outline:none;
  box-shadow: inset 0 1px 0 rgba(22,21,26,.06);
  font-size:15px;
  line-height:56px;
}
.ct-auth .ct-input:focus{
  border-color: rgba(0,127,255,.85);
  box-shadow: 0 0 0 4px rgba(0,127,255,.20), inset 0 1px 0 rgba(22,21,26,.06);
}
.ct-auth .ct-input::placeholder{
  color: rgba(22,21,26,.45);
}

/* Select wrapper (signup account type) */
.ct-auth .ct-select{ position:relative; }
.ct-auth .ct-select select.ct-input{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  padding-right:58px;
}
.ct-auth .ct-select:after{
  content:"";
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  width:18px;
  height:18px;
  pointer-events:none;
  background-repeat:no-repeat;
  background-size:18px 18px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%2316151A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity:.85;
}

/* Password field + toggle (make eye not ugly) */
.ct-auth .ct-pass{ position:relative; }
.ct-auth .ct-pass .ct-input{ padding-right:62px; }

.ct-auth .ct-pass-toggle{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--ct-border);
  background: rgba(0,183,255,.03);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  cursor:pointer;
  color: var(--ct-blue); /* SVG uses currentColor */
}
.ct-auth .ct-pass-toggle svg{
  width:22px;
  height:22px;
  display:block;
}

/* Primary button */
.ct-auth .ct-btn{
  width:100%;
  height:56px;
  margin-top:16px;
  border:0;
  border-radius:18px;
  background: var(--ct-blue);
  color: var(--ct-white);
  font-size:16px;
  font-weight:700;
  cursor:pointer;
}
.ct-auth .ct-btn:hover{ filter:brightness(1.03); }
.ct-auth .ct-btn:active{ transform:translateY(1px); }

/* Links row */
.ct-auth .ct-links{
  margin-top:14px;
  display:flex;
  justify-content:center;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  font-weight:600;
}
.ct-auth .ct-links a{
  color: var(--ct-blue);
  text-decoration:none;
}
.ct-auth .ct-links a:hover{
  text-decoration:underline;
}
.ct-auth .ct-sep{
  color: rgba(22,21,26,.45);
}




/* =========================================================
   
   jobs CSS
   
   ========================================================= */

.ct-customer-jobs-wrap,
.ct-customer-completed-jobs-wrap,
.ct-freelancer-jobs-wrap,
.ct-freelancer-active-jobs-wrap,
.ct-freelancer-completed-jobs-wrap,
.ct-customer-job-detail-wrap,
.ct-freelancer-job-detail-wrap,
.ct-jobs-form-wrap{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
}

.ct-customer-jobs-wrap > .ct-p-card,
.ct-customer-completed-jobs-wrap > .ct-p-card,
.ct-freelancer-jobs-wrap > .ct-p-card,
.ct-freelancer-active-jobs-wrap > .ct-p-card,
.ct-freelancer-completed-jobs-wrap > .ct-p-card,
.ct-jobs-form-wrap > .ct-p-card{
  background:transparent;
  border:0;
  box-shadow:none !important;
  padding:0;
}

.ct-customer-job-detail-wrap > .ct-p-card,
.ct-freelancer-job-detail-wrap > .ct-p-card,
.ct-jobs-card-wrap,
.ct-job-card,
.ct-job-image-item,
.ct-job-status-tag,
.ct-job-action-row .ct-p-link-btn,
.ct-job-action-form--inline .ct-p-link-btn,
.ct-job-card__btn,
.ct-job-done-msg .ct-p-msg,
.ct-customer-job-detail-wrap .ct-p-msg,
.ct-freelancer-job-detail-wrap .ct-p-msg{
  box-shadow:none !important;
}

.ct-jobs-card-wrap{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  background:transparent;
}

.ct-jobs-list{
  display:flex;
  flex-direction:column;
  gap:20px;
  width:100%;
}

.ct-job-card{
  width:100%;
  padding:24px 26px;
  background:rgba(0,183,255,.03);
  border:1px solid rgba(133,131,140,.2196078431);
  border-radius:22px;
}

.ct-job-card__main{
  display:grid;
  grid-template-columns:minmax(0,1fr) 160px;
  gap:24px;
  align-items:start;
}

.ct-job-card__content{
  min-width:0;
}

.ct-job-card__meta{
  margin-top:8px;
}

.ct-job-card__budget{
  margin-top:10px;
}

.ct-job-card__address{
  margin-top:8px;
}

.ct-job-card__summary{
  margin-top:12px;
  max-width:62ch;
  line-height:1.65;
  overflow-wrap:anywhere;
}

.ct-job-card__side{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:flex-start;
  gap:10px;
  min-width:0;
}

.ct-job-card__btn{
  margin-top:0;
}

.ct-job-card__footer{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(133,131,140,.16);
}

.ct-jobs-list > .ct-job-action-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin:-6px 0 2px;
  padding:0 6px 2px;
}

.ct-jobs-list > .ct-job-action-row .ct-p-link-btn,
.ct-jobs-list > .ct-job-action-row .ct-job-action-form--inline,
.ct-jobs-list > .ct-job-action-row .ct-job-action-form--inline .ct-p-link-btn{
  margin:0;
}

.ct-job-status-tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(133,131,140,.2196078431);
  background:rgba(233,240,247,.06);
  color:#E9F0F7;
  font-size:13px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
}

.ct-job-status-tag--pending{
  background:rgba(233,240,247,.06);
  color:#E9F0F7;
}

.ct-job-status-tag--accepted{
  background:rgba(0,127,255,.12);
  border-color:rgba(0,127,255,.32);
  color:#8fc2ff;
}

.ct-job-status-tag--in_progress{
  background:rgba(245,158,11,.12);
  border-color:rgba(245,158,11,.28);
  color:#ffd38a;
}

.ct-job-status-tag--submitted{
  background:rgba(168,85,247,.12);
  border-color:rgba(168,85,247,.28);
  color:#d8b4fe;
}

.ct-job-status-tag--completed{
  background:rgba(16,185,129,.12);
  border-color:rgba(16,185,129,.28);
  color:#b7f0cf;
}

.ct-job-images{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:18px;
}

.ct-job-image-item{
  width:clamp(220px,31%,360px);
  flex:0 0 clamp(220px,31%,360px);
  border:1px solid rgba(133,131,140,.2196078431);
  border-radius:16px;
  overflow:hidden;
  background:rgba(233,240,247,.04);
}

.ct-job-image{
  display:block;
  width:100%;
  height:240px;
  object-fit:cover;
}

.ct-job-detail__topbar{
  display:flex;
  justify-content:flex-end;
  margin-bottom:12px;
}

.ct-job-detail__head{
  margin-bottom:10px;
}

.ct-job-detail__statusbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.ct-job-detail__budget{
  margin-top:0;
}

.ct-job-detail__notes{
  margin-top:0;
  line-height:1.7;
  max-width:76ch;
  overflow-wrap:anywhere;
}

.ct-job-action-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:18px;
}

.ct-job-action-form{
  margin-top:18px;
}

.ct-job-action-form--inline{
  margin-top:0;
}

.ct-job-action-row .ct-p-link-btn,
.ct-job-action-form--inline .ct-p-link-btn,
.ct-job-card__footer .ct-p-link-btn{
  width:auto;
  min-width:0;
  margin:0;
}

.ct-job-done-msg{
  margin-top:16px;
}

.ct-job-done-msg .ct-p-msg{
  display:block;
  width:100%;
  margin:0;
  padding:14px 16px;
  border-radius:14px;
  line-height:1.5;
}

.ct-job-done-msg .ct-p-msg-success,
.ct-job-done-msg .ct-p-msg-error{
  border-left:0;
}

.ct-jobs-form__help{
  margin-top:8px;
}

.ct-jobs-form input[type="date"],
.ct-jobs-form input[type="time"]{
  color-scheme:dark;
}

.ct-jobs-form input[type="date"]::-webkit-calendar-picker-indicator,
.ct-jobs-form input[type="time"]::-webkit-calendar-picker-indicator{
  filter:invert(1) opacity(.78);
  cursor:pointer;
}

.ct-jobs-form input[type="date"]::-webkit-inner-spin-button,
.ct-jobs-form input[type="time"]::-webkit-inner-spin-button{
  display:none;
}

.ct-customer-job-detail-wrap .ct-p-card,
.ct-freelancer-job-detail-wrap .ct-p-card{
  width:100%;
  max-width:none;
}

.ct-customer-job-detail-wrap .ct-job-image-item,
.ct-freelancer-job-detail-wrap .ct-job-image-item{
  width:clamp(240px,31%,380px);
  flex:0 0 clamp(240px,31%,380px);
}

@media (max-width:1200px){
  .ct-job-card__summary,
  .ct-job-detail__notes{
    max-width:none;
  }
}

@media (max-width:1024px){
  .ct-job-card{
    padding:22px;
  }

  .ct-job-card__main{
    grid-template-columns:1fr;
    gap:18px;
  }

  .ct-job-card__side{
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
  }

  .ct-job-image-item,
  .ct-customer-job-detail-wrap .ct-job-image-item,
  .ct-freelancer-job-detail-wrap .ct-job-image-item{
    width:calc(50% - 7px);
    flex:0 0 calc(50% - 7px);
  }
}

@media (max-width:767px){
  .ct-job-card{
    padding:18px;
  }

  .ct-job-card__side{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
  }

  .ct-job-card__btn{
    width:auto;
  }

  .ct-job-status-tag{
    min-height:36px;
    padding:8px 12px;
  }

  .ct-job-card__footer,
  .ct-job-action-row,
  .ct-jobs-list > .ct-job-action-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .ct-job-card__footer .ct-p-link-btn,
  .ct-job-card__footer .ct-job-action-form--inline,
  .ct-job-card__footer .ct-job-action-form--inline .ct-p-link-btn,
  .ct-job-action-row .ct-p-link-btn,
  .ct-job-action-form--inline,
  .ct-job-action-form--inline .ct-p-link-btn,
  .ct-jobs-list > .ct-job-action-row .ct-p-link-btn,
  .ct-jobs-list > .ct-job-action-row .ct-job-action-form--inline,
  .ct-jobs-list > .ct-job-action-row .ct-job-action-form--inline .ct-p-link-btn{
    width:100%;
  }

  .ct-job-card__footer .ct-p-link-btn,
  .ct-job-action-row .ct-p-link-btn,
  .ct-jobs-list > .ct-job-action-row .ct-p-link-btn{
    justify-content:center;
    text-align:center;
  }

  .ct-job-image-item,
  .ct-customer-job-detail-wrap .ct-job-image-item,
  .ct-freelancer-job-detail-wrap .ct-job-image-item{
    width:100%;
    flex:0 0 100%;
  }

  .ct-job-image{
    height:220px;
  }

  .ct-job-detail__topbar{
    justify-content:flex-start;
  }

  .ct-job-done-msg .ct-p-msg{
    padding:12px 14px;
  }
}



/* Jobs UI override patch */

.ct-job-card__side{
  gap:8px;
}

.ct-job-card__btn{
  min-height:46px;
  padding:10px 18px;
}

.ct-job-status-tag{
  min-height:30px;
  padding:6px 12px;
  border-radius:12px;
  font-size:12px;
  font-weight:700;
  line-height:1;
  box-shadow:none !important;
}

.ct-job-status-tag--pending{
  border-color:rgba(133,131,140,.18);
  color:rgba(233,240,247,.84);
}

.ct-job-status-tag--accepted{
  background:rgba(0,127,255,.08);
  border-color:rgba(0,127,255,.22);
  color:#8fc2ff;
}

.ct-job-status-tag--in_progress{
  background:rgba(245,158,11,.08);
  border-color:rgba(245,158,11,.20);
  color:#ffd38a;
}

.ct-job-status-tag--submitted{
  background:rgba(168,85,247,.08);
  border-color:rgba(168,85,247,.20);
  color:#d8b4fe;
}

.ct-job-status-tag--completed{
  background:rgba(16,185,129,.08);
  border-color:rgba(16,185,129,.20);
  color:#b7f0cf;
}

.ct-job-done-msg{
  display:block;
  width:100%;
  margin-top:16px;
}

.ct-job-images + .ct-job-done-msg{
  margin-top:16px;
}

.ct-job-done-msg .ct-p-msg{
  display:block;
  width:100%;
  margin:0;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(233,240,247,.03);
  border:1px solid rgba(133,131,140,.18);
  color:#E9F0F7;
  font-size:14px;
  font-weight:700;
  line-height:1.45;
  box-shadow:none !important;
}

.ct-job-done-msg .ct-p-msg-success{
  background:rgba(16,185,129,.08);
  border-color:rgba(16,185,129,.22);
  color:#b7f0cf;
}

.ct-job-done-msg .ct-p-msg-error{
  background:rgba(239,68,68,.08);
  border-color:rgba(239,68,68,.22);
  color:#fecaca;
}

.ct-customer-job-detail-wrap .ct-job-images .ct-job-image-item:only-child,
.ct-freelancer-job-detail-wrap .ct-job-images .ct-job-image-item:only-child{
  width:min(760px,100%);
  flex:0 0 min(760px,100%);
}

.ct-customer-job-detail-wrap .ct-job-images .ct-job-image-item:only-child .ct-job-image,
.ct-freelancer-job-detail-wrap .ct-job-images .ct-job-image-item:only-child .ct-job-image{
  height:320px;
}

.ct-job-card__summary{
  margin-bottom:0;
}

@media (max-width:767px){
  .ct-job-card__main{
    gap:14px;
  }
  

  .ct-job-card__side{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-start;
    gap:8px;
    margin-top:2px;
  }

  .ct-job-card__btn{
    width:auto !important;
    min-width:0;
    flex:0 0 auto;
    margin:0;
  }

  .ct-job-card__side .ct-job-status-tag{
    flex:0 0 auto;
    margin:0;
  }

  .ct-customer-job-detail-wrap .ct-job-images .ct-job-image-item:only-child,
  .ct-freelancer-job-detail-wrap .ct-job-images .ct-job-image-item:only-child{
    width:100%;
    flex:0 0 100%;
  }

  .ct-customer-job-detail-wrap .ct-job-images .ct-job-image-item:only-child .ct-job-image,
  .ct-freelancer-job-detail-wrap .ct-job-images .ct-job-image-item:only-child .ct-job-image{
    height:240px;
  }
}






/* ----------pagination------ */

.ct-jobs-loadmore{
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:12px;
	margin-top:18px;
}

.ct-jobs-loadmore.is-hidden{
	display:none;
}

.ct-jobs-loadmore__btn[disabled]{
	opacity:.65;
	pointer-events:none;
}

.ct-jobs-loadmore__sentinel{
	width:100%;
	height:1px;
}

.ct-jobs-lazy[data-loading="1"] .ct-jobs-loadmore__btn{
	pointer-events:none;
}
 
   /* =========================================================
   
   ashboard  count
   
   ========================================================= */



.ct-jobs-count-number{
  display:inline-block;
  color:#E9F0F7;
  font-size:36px;
  font-weight:800;
  line-height:1;
}




/* =========================================================
   Inbox and notification
   ========================================================= */

.ct-comms{
	--ct-blue:#007FFF;
	--ct-white:#E9F0F7;
	--ct-bg:#16151A;
	--ct-card:#00B7FF08;
	--ct-border:rgba(133,131,140,.2196);
	--ct-text:#E9F0F7;
	--ct-muted:rgba(233,240,247,.72);
	--ct-muted-2:rgba(233,240,247,.52);
	--ct-shadow:0 18px 50px rgba(0,0,0,.22);
	color:var(--ct-text);
	width:100%;
	max-width:none;
	min-width:0;
}

.ct-comms *,
.ct-comms *::before,
.ct-comms *::after{
	box-sizing:border-box;
}

.ct-comms a{
	color:var(--ct-blue);
	text-decoration:none;
}

.ct-comms a:hover{
	opacity:.92;
}

.ct-comms .ct-p-card{
	background:var(--ct-card);
	border:1px solid var(--ct-border);
	border-radius:24px;
	box-shadow:var(--ct-shadow);
}

.ct-comms-layout{
	display:grid;
	grid-template-columns:340px minmax(0,1fr);
	gap:24px;
	align-items:stretch;
	width:100%;
}

.ct-comms-sidebar,
.ct-comms-main{
	min-width:0;
}

.ct-comms-sidebar{
	background:var(--ct-card);
	border:1px solid var(--ct-border);
	border-radius:24px;
	padding:14px;
	min-height:620px;
}

.ct-comms-main{
	background:var(--ct-card);
	border:1px solid var(--ct-border);
	border-radius:24px;
	min-height:620px;
	padding:0;
	overflow:hidden;
}

.ct-comms-empty{
	display:flex;
	align-items:center;
	justify-content:center;
	min-height:240px;
	padding:28px;
	text-align:center;
	color:var(--ct-muted);
	font-size:16px;
	line-height:1.6;
}

.ct-comms-conversation-item{
	width:100%;
	display:flex;
	align-items:center;
	gap:14px;
	padding:14px;
	margin:0 0 10px;
	border:1px solid transparent;
	border-radius:18px;
	background:transparent;
	color:var(--ct-text);
	text-align:left;
	cursor:pointer;
	transition:border-color .2s ease, background .2s ease, transform .2s ease;
}

.ct-comms-conversation-item:last-child{
	margin-bottom:0;
}

.ct-comms-conversation-item:hover{
	background:rgba(255,255,255,.02);
	border-color:var(--ct-border);
	transform:translateY(-1px);
}

.ct-comms-conversation-item.is-active{
	background:rgba(0,127,255,.10);
	border-color:rgba(0,127,255,.42);
}

.ct-comms-avatar{
	flex:0 0 56px;
	width:56px;
	height:56px;
	border-radius:50%;
	overflow:hidden;
	display:flex;
	align-items:center;
	justify-content:center;
	background:rgba(255,255,255,.04);
	border:1px solid var(--ct-border);
}

.ct-comms-avatar-img{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
}

.ct-comms-avatar-fallback{
	display:block;
	width:100%;
	height:100%;
	border-radius:50%;
	background:linear-gradient(135deg, rgba(0,127,255,.28), rgba(233,240,247,.12));
}

.ct-comms-conversation-meta{
	min-width:0;
	flex:1 1 auto;
	display:flex;
	flex-direction:column;
	gap:4px;
}

.ct-comms-conversation-name{
	display:block;
	font-size:17px;
	font-weight:600;
	line-height:1.3;
	color:var(--ct-text);
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}

.ct-comms-conversation-time{
	display:block;
	font-size:13px;
	line-height:1.35;
	color:var(--ct-muted-2);
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}

.ct-comms-unread-dot{
	flex:0 0 10px;
	width:10px;
	height:10px;
	border-radius:50%;
	background:var(--ct-blue);
	box-shadow:0 0 0 4px rgba(0,127,255,.16);
}

.ct-comms-thread{
	display:flex;
	flex-direction:column;
	min-height:620px;
}

.ct-comms-thread-head{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:16px;
	padding:20px 22px;
	border-bottom:1px solid var(--ct-border);
	background:rgba(255,255,255,.015);
}

.ct-comms-thread-name{
	font-size:20px;
	font-weight:700;
	line-height:1.3;
	color:var(--ct-text);
}

.ct-comms-thread-presence{
	font-size:13px;
	line-height:1.35;
	color:var(--ct-muted);
	padding:7px 12px;
	border:1px solid var(--ct-border);
	border-radius:999px;
	background:rgba(255,255,255,.02);
	white-space:nowrap;
}

.ct-comms-thread-history{
	flex:1 1 auto;
	display:flex;
	flex-direction:column;
	min-height:0;
}

.ct-comms-thread-messages{
	flex:1 1 auto;
	padding:22px;
	display:flex;
	flex-direction:column;
	gap:14px;
	min-height:320px;
}

.ct-comms-message{
	display:flex;
	justify-content:flex-start;
}

.ct-comms-message.is-own{
	justify-content:flex-end;
}

.ct-comms-message-body{
	max-width:min(78%, 640px);
	padding:14px 16px 12px;
	border-radius:18px;
	border:1px solid var(--ct-border);
	background:rgba(255,255,255,.02);
	box-shadow:0 10px 24px rgba(0,0,0,.12);
}

.ct-comms-message.is-own .ct-comms-message-body{
	background:rgba(0,127,255,.12);
	border-color:rgba(0,127,255,.34);
}

.ct-comms-message-text{
	font-size:15px;
	line-height:1.7;
	color:var(--ct-text);
	word-break:break-word;
}

.ct-comms-message-text p{
	margin:0;
}

.ct-comms-message-time{
	margin-top:8px;
	font-size:12px;
	line-height:1.35;
	color:var(--ct-muted-2);
}

.ct-comms-attachments{
	display:flex;
	flex-wrap:wrap;
	gap:12px;
	margin-top:12px;
}

.ct-comms-attachment-preview{
	display:flex;
	flex-direction:column;
	gap:8px;
	width:min(220px, 100%);
	text-decoration:none;
}

.ct-comms-attachment-thumb{
	display:block;
	width:100%;
	height:auto;
	max-height:220px;
	object-fit:cover;
	border-radius:16px;
	border:1px solid rgba(133,131,140,.2196);
	background:#00B7FF08;
	box-shadow:0 10px 24px rgba(0,0,0,.14);
}

.ct-comms-attachment-name{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:8px 12px;
	border-radius:999px;
	border:1px solid rgba(133,131,140,.2196);
	background:rgba(255,255,255,.03);
	color:#E9F0F7;
	font-size:13px;
	line-height:1.3;
	word-break:break-word;
}

.ct-comms-attachment-link{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:8px 12px;
	border-radius:999px;
	border:1px solid rgba(133,131,140,.2196);
	background:rgba(255,255,255,.03);
	color:#E9F0F7;
	font-size:13px;
	line-height:1.3;
	text-decoration:none;
}

.ct-comms-send-form{
	display:grid;
	grid-template-columns:minmax(0,1fr) auto;
	gap:14px;
	padding:18px 22px 22px;
	border-top:1px solid var(--ct-border);
	background:rgba(255,255,255,.015);
	align-items:end;
}

.ct-comms-send-form input[type="hidden"]{
	display:none;
}

.ct-comms-send-form input[type="file"]{
	grid-column:1 / 2;
	color:var(--ct-muted);
	font-size:13px;
	line-height:1.35;
}

.ct-comms-textarea{
	grid-column:1 / 2;
	width:100%;
	min-height:120px;
	padding:14px 16px;
	border-radius:18px;
	border:1px solid var(--ct-border);
	background:rgba(255,255,255,.02);
	color:var(--ct-text);
	font-size:15px;
	line-height:1.7;
	outline:none;
	resize:vertical;
	box-shadow:none;
}

.ct-comms-textarea::placeholder{
	color:var(--ct-muted-2);
}

.ct-comms-textarea:focus{
	border-color:rgba(0,127,255,.42);
	box-shadow:0 0 0 4px rgba(0,127,255,.14);
}

.ct-comms-send-btn,
.ct-comms-start-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	min-height:48px;
	padding:0 18px;
	border-radius:14px;
	border:1px solid rgba(0,127,255,.40);
	background:rgba(0,127,255,.14);
	color:var(--ct-white);
	font-size:15px;
	font-weight:600;
	line-height:1;
	cursor:pointer;
	text-decoration:none;
	box-shadow:none;
	transition:transform .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease;
}

@media (max-width: 767px){
	.ct-comms-send-btn,
.ct-comms-start-btn{font-size:12px;
		font-weight:400;
}
}

.ct-comms-send-btn:hover,
.ct-comms-start-btn:hover{
	transform:translateY(-1px);
	background:rgba(0,127,255,.18);
	border-color:rgba(0,127,255,.56);
	color:var(--ct-white);
}

.ct-comms-send-btn{
	grid-column:2 / 3;
	grid-row:1 / span 2;
	min-width:112px;
}

/* notification center */

.ct-comms.ct-comms-notifications{
	display:block;
	width:100%;
	max-width:none;
	min-width:0;
	margin:0;
}

.ct-comms.ct-comms-notifications .ct-p-card{
	width:100%;
	max-width:none;
	min-width:0;
	margin:0;
	padding:28px;
	border-radius:30px;
}

.ct-comms.ct-comms-notifications .ct-p-head{
	display:block;
	margin:0 0 20px;
	padding:0;
}

.ct-comms.ct-comms-notifications .ct-p-head-meta{
	display:block;
	width:100%;
	margin:0;
}

.ct-comms.ct-comms-notifications .ct-p-title{
	margin:0;
}

.ct-comms.ct-comms-notifications .ct-p-sub{
	margin:4px 0 0;
	white-space:normal;
}

.ct-comms-notification-list{
	display:flex;
	flex-direction:column;
	gap:20px;
	width:100%;
	margin:0;
	padding:0;
}

.ct-comms-notification-item{
	display:flex;
	flex-direction:column;
	align-items:stretch;
	gap:12px;
	width:100%;
	margin:0;
	padding:22px 24px;
	border-radius:28px;
	border:1px solid var(--ct-border);
	background:rgba(255,255,255,.02);
}

.ct-comms-notification-item.is-unread{
	border-color:rgba(0,127,255,.38);
	background:rgba(0,127,255,.08);
}

.ct-comms-notification-head{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:16px;
	margin:0;
}

.ct-comms-notification-title{
	font-size:17px;
	font-weight:600;
	line-height:1.35;
	color:var(--ct-text);
	margin:0;
}

.ct-comms-notification-time{
	font-size:13px;
	line-height:1.35;
	color:var(--ct-muted-2);
	white-space:nowrap;
	flex:0 0 auto;
}

.ct-comms-notification-text{
	font-size:15px;
	line-height:1.7;
	color:var(--ct-muted);
	margin:0;
}

.ct-comms-notification-actions{
	display:flex;
	align-items:center;
	justify-content:flex-start;
	flex-wrap:wrap;
	gap:12px;
	margin:0;
}

.ct-comms-notification-actions a{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:40px;
	padding:0 14px;
	border-radius:999px;
	border:1px solid rgba(0,127,255,.32);
	background:rgba(0,127,255,.10);
	color:#007FFF;
	font-size:14px;
	font-weight:600;
	line-height:1;
	text-decoration:none;
}

.ct-comms-notification-actions a:hover{
	background:rgba(0,127,255,.16);
	opacity:1;
}

/* icon badge */

.ct-comms-icon-link{
	position:relative;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:38px;
	height:38px;
	overflow:visible;
	color:#E9F0F7;
	text-decoration:none;
}

.ct-comms-icon-link:hover{
	color:#E9F0F7;
	opacity:1;
}

.ct-comms-icon-link__icon{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:100%;
	height:100%;
}

.ct-comms-icon-link svg{
	display:block;
	width:20px;
	height:20px;
}

.ct-comms-icon-badge{
	position:absolute;
	top:-4px;
	right:-8px;
	min-width:18px;
	height:18px;
	padding:0 5px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius:999px;
	background:#007FFF;
	color:#E9F0F7;
	font-size:11px;
	font-weight:700;
	line-height:1;
	box-shadow:0 0 0 3px #16151A;
}

.ct-comms-icon-badge.is-empty{
	display:none;
}


.ct-job-detail__contact{
	margin-top:12px;
}

/* lazy load */

.ct-comms-loadmore{
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:10px;
	padding:12px 0 0;
}

.ct-comms-loadmore--older{
	padding:18px 22px 0;
}

.ct-comms-loadmore-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:42px;
	padding:0 16px;
	border-radius:999px;
	border:1px solid rgba(0,127,255,.40);
	background:rgba(0,127,255,.10);
	color:#E9F0F7;
	font-size:14px;
	font-weight:600;
	cursor:pointer;
}

.ct-comms-loadmore-sentinel{
	width:100%;
	height:1px;
}

@media (max-width: 1024px){
	.ct-comms-layout{
		grid-template-columns:1fr;
	}

	.ct-comms-sidebar,
	.ct-comms-main{
		min-height:auto;
	}

	.ct-comms-thread{
		min-height:unset;
	}
}

@media (max-width: 767px){
	.ct-comms .ct-p-card{
		border-radius:20px;
	}

	.ct-comms-sidebar,
	.ct-comms-main{
		padding:0;
		border-radius:20px;
	}

	.ct-comms-sidebar{
		padding:12px;
	}

	.ct-comms-conversation-item{
		padding:12px;
		border-radius:16px;
	}

	.ct-comms-avatar{
		width:52px;
		height:52px;
		flex-basis:52px;
	}

	.ct-comms-thread-head{
		padding:16px;
		flex-direction:column;
		align-items:flex-start;
	}

	.ct-comms-thread-messages{
		padding:16px;
	}

	.ct-comms-message-body{
		max-width:100%;
	}

	.ct-comms-send-form{
		grid-template-columns:1fr;
		padding:16px;
	}

	.ct-comms-send-btn{
		grid-column:auto;
		grid-row:auto;
		width:100%;
		min-width:0;
	}

	.ct-comms.ct-comms-notifications .ct-p-card{
		padding:18px;
		border-radius:22px;
	}

	.ct-comms-notification-item{
		padding:18px;
		border-radius:22px;
	}

	.ct-comms-notification-head{
		flex-direction:column;
		align-items:flex-start;
		gap:8px;
	}

	.ct-comms-notification-actions{
		justify-content:flex-start;
	}

}


 /* Notification wrapper width + item gap fix */

.ct-comms.ct-comms-notifications{
	width:100%;
	max-width:100%;
	min-width:0;
}

.ct-comms.ct-comms-notifications .ct-p-card{
	width:100%;
	max-width:none;
	min-width:0;
}

.ct-comms-notification-list{
	display:flex;
	flex-direction:column;
	width:100%;
	min-width:0;
	gap:0;
}

.ct-comms-notification-items{
	display:flex;
	flex-direction:column;
	gap:20px;
	width:100%;
	min-width:0;
}

.ct-comms-notification-item{
	width:100%;
	margin:0;
}

@media (max-width: 767px){
	.ct-comms-notification-items{
		gap:16px;
	}
}



.ct-p-job-count{
	margin-top: 14px !important;
	padding:5px !important;
	font-size: 15px !important;
	font-weight: 400 !important;
    width:60% !important;
    text-align: center !important;
	border-radius:10px !important;
	background: rgba(255,255,255,0.05) !important;
	color: rgba(255,255,255,0.78) !important;
}

@media (max-width: 767px){
	.ct-p-job-count{
	font-size: 12px !important;
	font-weight: 300 !important;
    width:60% !important;
   
}
}





/* Jobs search/filter polish */
/* Jobs search/filter polish */


.ct-jobs-filter-form{
	margin:18px 0 22px;
	padding:20px;
	border:1px solid rgba(133,131,140,.22);
	border-radius:24px;
	background:rgba(255,255,255,.02);
	box-shadow:none !important;
}

.ct-jobs-filter-grid{
	display:grid;
	grid-template-columns:minmax(0,1fr) minmax(220px,300px) 160px;
	gap:14px;
	align-items:center;
}

.ct-jobs-filter-form .ct-p-input,
.ct-jobs-filter-form input[type="text"],
.ct-jobs-filter-form select{
	width:100%;
	min-height:56px;
	height:56px;
	padding:0 18px;
	border:1px solid rgba(133,131,140,.22);
	border-radius:18px;
	background:rgba(255,255,255,.03);
	color:#E9F0F7;
	font-size:16px;
	line-height:1;
	box-shadow:none !important;
	outline:none;
	appearance:none;
	-webkit-appearance:none;
}

.ct-jobs-filter-form input[type="text"]::placeholder{
	color:rgba(233,240,247,.58);
}

.ct-jobs-filter-form .ct-p-input:focus,
.ct-jobs-filter-form input[type="text"]:focus,
.ct-jobs-filter-form select:focus{
	border-color:rgba(0,127,255,.45);
	box-shadow:none !important;
	outline:none;
}

.ct-jobs-filter-form select{
	padding-right:46px;
	background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23E9F0F7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
	background-repeat:no-repeat;
	background-position:right 16px center;
	background-size:16px 16px;
}

.ct-jobs-filter-form .ct-p-btn,
.ct-jobs-filter-form button{
	width:100%;
	min-height:56px;
	margin-top: -5px;
	height:56px;
	padding:0 22px;
	border:1px solid rgba(0,127,255,.42);
	border-radius:18px;
	background:#007FFF;
	color:#E9F0F7;
	font-size:17px;
	font-weight:700;
	line-height:1;
	box-shadow:none !important;
	cursor:pointer;
	transition:background .2s ease,border-color .2s ease,transform .2s ease;
}

.ct-jobs-filter-form .ct-p-btn:hover,
.ct-jobs-filter-form button:hover{
	background:#0a86ff;
	border-color:#0a86ff;
	transform:translateY(-1px);
	box-shadow:none !important;
}

.ct-jobs-filter-form .ct-p-btn:active,
.ct-jobs-filter-form button:active{
	transform:translateY(0);
}

.ct-public-jobs-wrap .ct-p-head,
.ct-freelancer-jobs-wrap .ct-p-head{
	margin-bottom:12px;
}

.ct-public-jobs-wrap .ct-p-head .ct-p-sub,
.ct-freelancer-jobs-wrap .ct-p-head .ct-p-sub{
	margin-top:6px;
}

.ct-public-jobs-wrap .ct-p-card,
.ct-freelancer-jobs-wrap .ct-p-card{
	box-shadow:none !important;
}

@media (max-width: 1024px){
	.ct-jobs-filter-grid{
		grid-template-columns:1fr 1fr;
	}

	.ct-jobs-filter-form .ct-p-btn,
	.ct-jobs-filter-form button{
		grid-column:1 / -1;
	}
}

@media (max-width: 767px){
	.ct-jobs-filter-form{
		margin:16px 0 18px;
		padding:16px;
		border-radius:20px;
	}

	.ct-jobs-filter-grid{
		grid-template-columns:1fr;
		gap:12px;
	}

	.ct-jobs-filter-form .ct-p-input,
	.ct-jobs-filter-form input[type="text"],
	.ct-jobs-filter-form select,
	.ct-jobs-filter-form .ct-p-btn,
	.ct-jobs-filter-form button{
		min-height:52px;
		height:52px;
		border-radius:16px;
		font-size:16px;
	}

	.ct-jobs-filter-form .ct-p-btn,
	.ct-jobs-filter-form button{
		grid-column:auto;
	}
}