/*
Theme Name: UnderStrap Child
Theme URI: https://understrap.com
Description: Child theme for UnderStrap
Author: Web Admin
Template: understrap
Version: 1.0.0
*/

body {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

a:hover {
	color: #015476 !important;
}

.archive-hero {
	background-color: transparent;
	background-image: linear-gradient(90deg, #012737 0%, #795334 100%);
}

@media (min-width: 1440px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
		max-width: 1280px !important;
	}
}
.card-img-top {
	object-fit: cover;
	height: 240px;
}

.card-img-top {
	height: 240px;
	object-fit: cover;
}

.card {
	transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.entry-content p {
	font-size: 1.05rem;
	line-height: 1.8;
}

/* .single-sidebar {
position: sticky;
top: 100px;
} */

.sidebar-card {
	background: #ffffff;
	border-radius: 14px;
	padding: 20px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 6px 20px rgba(0,0,0,.04);
}

.sidebar-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 16px;
	color: #0f172a;
}

.sidebar-title-icon {
	font-size: 20px;
}

.sidebar-post-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar-post-item {
	margin-bottom: 16px;
}

.sidebar-post-item:last-child {
	margin-bottom: 0;
}

.sidebar-post-date {
	display: block;
	font-size: 12px;
	color: #64748b;
	margin-bottom: 4px;
}

.sidebar-post-title {
	font-size: 15px;
	font-weight: 600;
	color: #0f172a;
	text-decoration: none;
	line-height: 1.4;
}

.sidebar-post-title:hover {
	color: #2563eb;
}

/* Search */

.sidebar-search {
	display: flex;
	align-items: center;
	background: #f8fafc;
	border-radius: 10px;
	padding: 10px 14px;
	border: 1px solid #e5e7eb;
}

.sidebar-search input {
	border: none;
	outline: none;
	background: transparent;
	width: 100%;
	font-size: 14px;
	margin-left: 8px;
}

.search-icon {
	font-size: 16px;
	color: #64748b;
}


/* ATS Card */
.ats-card {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(0,0,0,.08);
	transition: transform .2s ease, box-shadow .2s ease;
	background: #fff;
}

.ats-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* Image area */
.ats-card-image {
	height: 240px;
	overflow: hidden;
}

.ats-card-image img {
	height: 100%;
	object-fit: cover;
}

/* Overlay */
.ats-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.15));
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.ats-d-flex {
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
}
/* Body */
.ats-card-body {
	border-top: 1px solid #eee;
}
.d-flex {
	gap: 9px;
}
/* Sidebar Panel */
/* .single-sidebar {
background: #0f172a;
color: #fff;
} */

/* Sidebar item */
.sidebar-item {
	padding: 16px 0;
	color: #fff;
}

.sidebar-item:hover h6 {
	text-decoration: underline;
}

/* Thumbnail */
.sidebar-thumb img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 12px;
}

/* Divider */
.sidebar-divider {
	border-color: rgba(255,255,255,.1);
}
/* Editorial Title */
h1.display-5 {
	line-height: 1.2;
	letter-spacing: -0.02em;
}

/* Breadcrumbs */
nav a {
	color: #6c757d;
}

nav a:hover {
	text-decoration: underline;
}

/* Featured image */
.single-post .wp-post-image {
	border-radius: 16px;
}

/* Author block */
.single-post .author-box img {
	border: 2px solid #fff;
}
.single-hero {
	background-color: transparent;
	background-image: linear-gradient(90deg, #012737 0%, #795334 100%);
}

.single-breadcrumbs,
.single-breadcrumbs a {
	color: rgba(255,255,255,.75);
}

.hero-meta {
	color: rgba(255,255,255,.8);
}

.hero-author {
	color: rgba(255,255,255,.65);
}

.hero-image img {
	border-radius: 20px;
	box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.post-navigation a {
	color: #0b3a4a;
}

.post-navigation a:hover {
	text-decoration: underline;
}

.post-navigation strong {
	font-size: 1rem;
	line-height: 1.4;
	color: #0b3a4a;
}

.post-navigation a:hover strong {
	text-decoration: underline;
}
/* Prev / Next title one-line clamp */
.post-navigation strong {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	max-width: 100%;
}
/* Equal width prev/next navigation */
.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
}

.post-navigation .prev-post,
.post-navigation .next-post {
	width: 50%;
}

/* Keep text aligned properly */
.post-navigation .prev-post {
	text-align: left;
}

.post-navigation .next-post {
	text-align: right;
}/* HERO */
/* .archive-hero {
background: linear-gradient(135deg,#0b1f2a,#0f3a4a);
color: #fff;
} */

/* Filter nav container */
.archive-filter-nav {
	background: #ffffff;
	border-bottom: 1px solid #e5e7eb;
}

/* Inner wrapper */
.archive-filter-nav .filter-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;              /* left-right spacing */
}

/* Filter row */
.archive-filter-bar {
	display: flex;
	align-items: center;         /* vertical centering */
	height: 64px;               /* consistent nav height */
	gap: 20px;
	overflow-x: auto;
	white-space: nowrap;
}


.archive-filter-bar a {
	color:#015D82;
	text-decoration:none;
	font-weight:500;
}

.archive-filter-bar a.active {
	font-weight:700;
	border-bottom:2px solid #015D82;
}

.archive-filter-bar span {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #64748b;
	font-weight: 600;
	margin-right: 8px;
}


/* CARDS */
.archive-card {
	background:#fff;
	border-radius:16px;
	overflow:hidden;
	box-shadow:0 10px 28px rgba(0,0,0,.08);
	transition:.2s;
}

.archive-card:hover {
	transform:translateY(-6px);
}
/* Force archive card titles to max 2 lines */
.ats-card-title,
.archive-card-body h3 {
	display: -webkit-box;
	-webkit-line-clamp: 2;      /* max 2 lines */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;

	line-height: 1.4;
	min-height: calc(1.4em * 2); /* keeps cards same height */
}

/* Force fixed height for archive card images */
.ats-card-image,
.archive-card-image {
	height: 220px;        /* adjust if needed */
	overflow: hidden;
	border-radius: 16px 16px 0 0;
}

/* Make image fill container */
.ats-card-image img,
.archive-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;   /* crop instead of stretch */
	display: block;
}
.archive-badge {
	position:absolute;
	top:16px;
	left:16px;
	background:#2563eb;
	color:#fff;
	padding:6px 12px;
	border-radius:20px;
	font-size:.7rem;
	text-transform:uppercase;
}

.archive-card-body {
	padding:22px;
}

.archive-card-body h3 {
	font-size:1.1rem;
	margin:10px 0;
}

/* ============================
ARCHIVE SIDEBAR EVENTS
============================ */

.archive-events {
	background: #ffffff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 8px 24px rgba(0,0,0,.06);
	border: 1px solid #e5e7eb;
}

/* Section header */
.archive-events h5,
.archive-events h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	padding-bottom: 12px;
	/*     margin-bottom: 16px; */
	border-bottom: 1px solid #e5e7eb;
}

/* Event list */
.archive-events .event-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Event item */
.archive-events .event-list li {
	padding: 16px 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 14px;
	line-height: 1.5;
}

/* Remove border last */
.archive-events .event-list li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

/* Date */
.archive-events .event-list strong {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #015D82;
	margin-bottom: 4px;
}

/* Event title */
.archive-events .event-list h4 {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	margin: 2px 0;
}

/* Meta */
.archive-events .event-list p {
	font-size: 12px;
	color: #64748b;
	margin: 2px 0;
}

/* Emails */
.archive-events a {
	font-size: 12px;
	color: #2563eb;
	text-decoration: none;
}

.archive-events a:hover {
	text-decoration: underline;
}
.archive-event-item {
	padding: 12px 0;
	border-bottom: 1px solid #E5E7EB;
}

.archive-event-date {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #015D82;
	text-transform: uppercase;
}

.archive-event-title {
	font-size: 15px;
	font-weight: 700;
	margin-top: 4px;
}
.archive-events-widget {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.archive-events-title {
	font-size: 18px;
	font-weight: 700;
	/*     margin-bottom: 16px; */
	padding-bottom: 10px;
	border-bottom: 1px solid #e5e7eb;
}

.archive-event-location {
	font-size: 13px;
	color: #64748b;
	margin-bottom: 6px;
}

.archive-event-email {
	display: block;
	font-size: 12px;
	color: #015D82;
	margin-top: 4px;
	text-decoration: none;
}


/* Tailwind-style Pagination */
.archive-pagination .nav-links {
	display: flex;
	gap: 8px;
	justify-content: center;
	align-items: center;
}

.archive-pagination .page-numbers {
	padding: 0.5rem 1rem;
	border-radius: 0.375rem; /* rounded-md */
	border: 1px solid #d1d5db; /* gray-300 */
	font-size: 0.875rem;
	font-weight: 500;
	color: #475569; /* slate-600 */
	background-color: #ffffff;
	transition: all 0.2s ease;
	text-decoration: none;
}

.archive-pagination .page-numbers:hover {
	background-color: #f9fafb; /* gray-50 */
	color: #1d4ed8; /* blue-700 */
}

.archive-pagination .page-numbers.current {
	background-color: #015D82; /* blue-700 */
	color: #ffffff;
	border-color: #1d4ed8;
	box-shadow: 0 1px 3px rgba(0,0,0,.15);
}

.archive-pagination .page-numbers.dots {
	border: none;
	background: transparent;
	color: #94a3b8;
}


@media (max-width: 768px) {
	.ats-card-image,
	.archive-card-image {
		height: 180px;
	}
	.container {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}
.author-profile-card.horizontal {
	display: flex;
	align-items: center;
	gap: 18px;
	background: #fff;
	border-radius: 14px;
	margin-top: 20px;
	border: 1px solid #E5E7EB;
	padding: 20px;
	box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

.profile-image img {
	width: 110px;
	height: 110px;
	object-fit: cover;
	border-radius: 12px;
}

.profile-details h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
}

.profile-details .title {
	margin: 4px 0 12px;
	font-size: 15px;
	color: #666;
}

.profile-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.meta-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: #333;
}

.meta-row a {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: inherit;
}

.icon svg {
	width: 16px;
	height: 16px;
	fill: #003b5c;
}

.meta-row a:hover svg {
	fill: #b1001a;
}

@media (max-width: 600px) {
	.author-profile-card.horizontal {
		flex-direction: column;
		text-align: center;
	}

	.profile-meta {
		align-items: center;
	}
}
/* In your custom-styles.css file */
.btn.custom-info-btn {
	background-color: #015D82; /* Your custom color */
	border-color: #015D82; /* Match the border color */
	color: white; /* Ensure text color has enough contrast */
}

/* Define hover, focus, and active states for a better user experience */
.btn.custom-info-btn:hover {
	background-color: #06779A;
	border-color: #06779A;
	color: #fff
}

.btn.custom-info-btn:active,
.btn.custom-info-btn.active {
	background-color: #06779A;
	border-color:#06779A;
}
/* In your custom-styles.css file */
.btn.custom-danger-btn {
	background-color: #920020; /* Your custom color */
	border-color: #920020; /* Match the border color */
	color: white; /* Ensure text color has enough contrast */
}

/* Define hover, focus, and active states for a better user experience */
.btn.custom-danger-btn:hover {
	background-color: #ae0101;
	border-color: #ae0101;
	color: #fff
}

.btn.custom-danger-btn:active,
.btn.custom-danger-btn.active {
	background-color: #ae0101;
	border-color: #ae0101;
}

.hero-image {
	position: relative;
	overflow: hidden;
	border-radius: 12px; /* optional */
	/* 	background-color: white; */
}

.hero-image img {
	/* 	object-fit: contain;
	height: 440px; */
}

.featured-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	padding: 10px 14px;
	margin: 15px;
	font-size: 14px;
	line-height: 1.4;
	border-radius: 8px;
	text-align: center;
}


.featured-caption:empty {
	display: none;
}
.search-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 32px;
}

.search-card {
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(0,0,0,.08);
	display: flex;
	flex-direction: column;
}

.search-thumb img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.search-content {
	padding: 22px;
}

.search-category {
	font-size: 13px;
	color: #fff;
	background: #003b5c;
	padding: 4px 10px;
	border-radius: 20px;
	display: inline-block;
	margin-bottom: 10px;
}

.search-heading {
	font-size: 20px;
	margin: 8px 0;
}

.search-excerpt {
	color: #555;
	margin-bottom: 12px;
}

.search-readmore {
	font-weight: 600;
	color: #003b5c;
	text-decoration: none;
}/* Smooth modern input */
/* Base look */
/* default small state */
.hfe-search-form__input {
	width: 160px;
	transition: all .35s ease;
	border-radius: 14px !important;
	padding: 12px 18px !important;
}

/* expanded centered state */
.hfe-search-icon-toggle:focus-within .hfe-search-form__input {
	position: fixed;
	top: 30%;
	left: 50%;
	transform: translateX(-50%) scale(1.03);
	width: 520px;
	z-index: 1001;
	box-shadow: 0 0 0 3px rgba(0,140,255,.35);
}


/* Make icon feel attached */
.hfe-search-icon-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
}

.search-overlay {
	position: fixed;
	inset: 0;
	background: rgba(6,18,34,.85);
	opacity: 0;
	pointer-events: none;
	transition: .25s ease;
	z-index: 999;
}

.search-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

/* Desktop normal */
.table-responsive-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* Prevent column crushing */
.capes-table-css {
	min-width: 900px;
	border-collapse: collapse;
}

/* Nice mobile scroll hint */
.table-responsive-wrap::-webkit-scrollbar {
	height: 6px;
}
.table-responsive-wrap::-webkit-scrollbar-thumb {
	background: rgba(0,0,0,.3);
	border-radius: 4px;
}

/* Optional: stacked layout for very small screens */
@media (max-width: 640px) {
	.capes-table-css {
		min-width: 700px;
	}
}
.capes-btn-search-wrapper {
	padding: 10px 0;
	display: flex;
	gap: 20px;
}
.capes-btns-wrap {
	width: 70%;
	display: flex;
	justify-content: flex-end;
	gap: 20px;
	flex-direction: row;
}
.capes-btns-wrap .btn {
	width: auto;
	line-height:inherit;
	font-size:14px;
	z-index:99;
	height:37px;
	border-radius:4px;
}
.capes-search-wrap {
	width: 30%;
}
.capes-footer {
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	align-items: center;
}
@media (max-width: 1024px) {
	.container {
		width: 100%;
	}
	.capes-btns-wrap,
	.capes-search-wrap{
		width: 50%;
	}
}
@media (max-width: 768px) {
	.capes-btn-search-wrapper {
		flex-direction: column;
	}
	.capes-btns-wrap,
	.capes-search-wrap,
	.btn {
		width: 100% !important;
	}
	.capes-btns-wrap {
		gap: 10px;
		flex-direction: column;
	}
	.capes-footer {
		margin-top: 25px;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}
	.modal-footer .btn,
	.dl-email-footer .btn {
		width: auto !important;
	}
}
@media (max-width: 465px) {
	.emailwithfilterbox button {
    width: 15% !important;
    padding: .4rem .4rem !important;

}
}
.modal-header {
    justify-content: space-between !important;
    padding: .7rem 1rem !important;

}