/* =================================================================
   BASE STYLES - Global HTML elements and reset
   ================================================================= */

body {
	font-family: "Libre Franklin", sans-serif;
	color: white;
	background-color: black;
	font-size: 0.8rem;
	margin: 0;
	padding: 0;
}

h1, h2, h3, h4, h5, h6 {
      margin: 0;
      padding: 0;
      font-size: inherit;
      font-weight: inherit;
      line-height: inherit;
}

p {
	margin: 0 0 5px 0;
	line-height: 1.3;
	font-size: 0.9rem;
}

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

a:hover {
	color: white;
	text-decoration: none;
}

img {
	border: none;
}

td {
	padding: 0 5px;
}

/* =================================================================
   LAYOUT SYSTEM - Container and main layout components
   ================================================================= */

.container-one-col {
    display: grid;
    justify-items: center;
    min-height: 100vh;
    padding: 50px;
    gap: 40px;
    box-sizing: border-box;
}

.wide-col {
	display: flex;
	flex-direction: column;
	flex: 1;
	margin: 20px;
}

.narrow-col {
	width: 360px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* =================================================================
   DESIGN ELEMENTS, ICONS
   ================================================================= */

.title-letters {
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.lowercase {
	text-transform: lowercase;
}

.gradient-text {
    background: linear-gradient(135deg, #4a7aa7 0%, #ff6b35 30%, #ffd23f 60%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback for browsers that don't support background-clip */
}

.gradient-text-reverse {
    background: linear-gradient(135deg, #ffd23f 0%, #ff6b35 30%, #4a7aa7 60%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback for browsers that don't support background-clip */
}

.outline {
	box-sizing: border-box;
	border: 2px solid white;
	border-radius: 5px;
}

.divider {
      border: none;
      height: 1px;
      background-color: rgba(255, 255, 255, 0.5);
      margin: 10px 0;
      width: 360px;
  }

.faux-link {
	color: lightblue;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s ease;
}

.faux-link:hover {
	color: white;
	text-decoration: none;
}

/* =================================================================
   ONE COLUMN (Index, Manifesto)
   ================================================================= */

.banner {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.banner__title {
	font-size: 3em;
	font-weight: 700;
}

.banner__tagline {
	margin: 0 0 5px 0;
	line-height: 1.3;
	font-size: 0.9rem;
}

.invitation__title {
}

.invitation__text {
}

.faq {
	/*margin-top: 20px;*/
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.faq__set > p {
	margin: 0;
	line-height: 1.3;
	font-size: 0.9rem;
}

.faq__set--question {
	font-style: italic;
}

.faq__set--answer {
}

.faq__set--answer + .faq__set--answer {
      margin-top: 1em; /* Space between answer paragraphs */
  }


/* =================================================================
   MAIN SEARCH (MIDDLE) COLUMN
   ================================================================= */

.search-grid {
	display: flex;
	flex-direction: column;
	gap: 60px;
	width: 100%;
	margin: 0 auto;
}

.search-row {
	width: 100%;
	display: flex;
	flex-direction: row;
	gap: 30px;
	justify-content: center;
	align-items: flex-start;
	height: 360px;
	overflow: hidden;
}

.search-profile {

}

.search-profile__image {
      width: 640px;
      height: 360px;
      flex: 0 0 640px;
      border-radius: 5px;
      box-sizing: border-box;
      overflow: hidden;
}

.search-profile__image img {
	width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
}

.search-profile__image a {
	display: block;
	text-decoration: none;
	border: none;
	outline: none;
}

.search-profile__card {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 20px;
	width: 270px;
	/*min-height: 200px;*/
	flex-shrink: 0;
	overflow: visible;
	position: relative;
}

.card__header {
	margin-bottom: 12px;
}

.card__name {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.card__industry {
	font-size: 0.7rem;
	line-height: 1.2;
	margin: 0;
	font-style: italic;
}

.card__location {
	font-size: 0.7rem;
	line-height: 1.2;
	margin: 0;
	font-style: italic;
}

.card__specialties {
	display: flex;
	flex-direction: column;
}

.card__specialties--specialty {
	font-size: 0.8rem;
	line-height: 1.2;
	margin: 0;	
}

.card__detail {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 0.8rem;
}

.card__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.card__item--icon {
	flex-shrink: 0;
}

.card__item--icon img {
	width: 18px;
	height: 18px;
	display: block;
	opacity: 0.8;
}
.card__item--detail {
	display: flex;
	flex-direction: column;
	gap: 3px;
	flex: 1;
}

.card__location--icon {

}

.card__location--city2 {
	padding: 10px 0 0 0;
}

/* =================================================================
   RIGHT (NAV) COLUMN
   ================================================================= */



.search {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.search__title {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.search__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.search--input {
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 1);
	border-radius: 3px;
	background-color: transparent;
	color: white;
	font-size: 0.8rem;
	font-family: inherit;
}

.search--input-short {
	width: 250px;
}

.search--input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.search--input:focus {
	outline: none;
	border-color: white;
	background-color: transparent;
}

.search--submit {
	padding: 8px 20px;
	border: 1px solid rgba(255, 255, 255, 1);
	border-radius: 3px;
	background-color: rgba(255, 255, 255, 0.1);
	color: white;
	font-size: 0.8rem;
	font-family: inherit;
	cursor: pointer;
	transition: background-color 0.2s ease;
	align-self: flex-start;
}

.search--submit:hover {
	background-color: rgba(255, 255, 255, 1);
	color: black;
}

.nav-links {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

/*.nav-links a:hover {
	color: rgba(255, 255, 255, 1);
	text-decoration: none;
}*/

.nav-links li {
	margin-bottom: 0;
	padding: 5px 0;
}

/* =================================================================
   EMAIL SIGNUP FORM
   ================================================================= */

.email-signup {
	/*margin-top: 10px;*/
	margin-bottom: 20px;
}

.email-signup__form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	/*margin-top: 20px;*/
}

.email-signup__input {
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 1);
	border-radius: 3px;
	background-color: white;
	color: black;
	font-size: 0.8rem;
	font-family: inherit;
}

.email-signup__input::placeholder {
	color: rgba(0, 0, 0, 0.7)
	/*color: rgba(255, 255, 255, 0.5);*/
}

.email-signup__input:focus {
	outline: none;
	border-color: white;
	background-color: white;
}


.email-signup__checkboxes {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 10px 0;
}

.email-signup__checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	cursor: pointer;
}

.email-signup__checkbox input[type="checkbox"] {
	margin: 0;
	accent-color: #007AFF;
	width: 16px;
	height: 16px;
}

/* Mobile-specific checkbox fix */
@media screen and (max-width: 768px) {
	.email-signup__checkbox input[type="checkbox"] {
		width: 20px;
		height: 20px;
	}
}

.email-signup__submit {
	padding: 8px 20px;
	border: 1px solid white;
	border-radius: 3px;
	background-color: white;
	color: black;
	font-size: 0.8rem;
	font-family: inherit;
	cursor: pointer;
	transition: background-color 0.2s ease;
	align-self: flex-start;
}

.email-signup__submit:hover {
	background-color: black;
	color: white;
}

/* reCAPTCHA badge positioning - move from bottom right to inline below form */
.grecaptcha-badge {
	position: static !important;
	display: block !important;
	margin: 10px 0 0 0 !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	width: auto !important;
	transform: none !important;
	box-shadow: 0 1px 3px rgba(255,255,255,0.1) !important;
}

/* =================================================================
   SITE FOOTER
   ================================================================= */

.site-footer {
	width: 100%;
	padding: 20px;
	background-color: black;
	color: white;
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	margin-top: 100px;
	box-sizing: border-box;
	font-size: 0.8rem;
}

/* =================================================================
   MOBILE RESPONSIVE STYLES
   ================================================================= */

@media screen and (max-width: 768px) {
	/* Single column layouts - index and db-declaration pages */
	.container-one-col {
		padding: 10px;
		min-height: 100vh;
	}
	
	.index-center-col {
		width: 100%;
		max-width: 400px;
		gap: 30px;
	}

	/* Main search section adjustments for mobile */
	.wide-col {
		width: 100%;
		margin: 20px 10px 0 0;
	}

	.narrow-col {
		width: 100%;
		margin: 20px 10px 0 0;
	}
	
	/* Adjust search layout for mobile */
	.search-grid {
		gap: 100px;
	}
	
	.search-row {
		flex-direction: column;
		height: auto;
		gap: 15px;
	}

	.search-profile__image {
		width: 100%;
		height: 200px;
		flex: none;
		order: 1; /* Image always first on mobile */
	}

	.search-profile__card {
		width: 100%;
		flex: none;
		order: 2; /* Card always second on mobile */
	}
	
	/* Mobile typography adjustments */
	body {
		font-size: 0.9rem;
	}
	
	.hero-title {
		font-size: 2rem;
		line-height: 1.2;
	}
	
	.hero-subtitle {
		font-size: 1rem;
	}
	
	/* Form adjustments for mobile */
	.email-signup__form {
		gap: 15px;
	}

	.email-signup__input {
		font-size: 1rem; /* Prevent zoom on iOS */
	}

	/* Navigation adjustments */
	.site-nav ul {
		flex-direction: column;
		gap: 10px;
	}

	/* Sidebar adjustments */
	.sidebar-section {
		padding: 15px;
	}

	/* Card specialties - make horizontal on mobile to save vertical space */
	.card__specialties {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px;
		font-size: 0.9rem;

	}

	/* Ensure links in card details match text size on mobile */
	.card__detail a {
		font-size: 0.9rem;
	}
}

