/*
Theme Name: Bianca (Clean)
Theme URI: https://myphonefriend.com
Author: Bianca Team
Description: Clean theme for Bianca based on Twenty Twenty-Five with Bootstrap integration. Maintains all content and functionality while providing a secure, modern foundation.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myphonefriend
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news, bootstrap
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*--------------------------------------------------------------
# Bianca Custom Styles
# Based on original Bianca theme styling
--------------------------------------------------------------*/

/* Generic Styles */
body {
	font-family: "Helvetica Neue", Arial, sans-serif;
	background: url("/wp-content/uploads/2025/04/ChatGPT-Image-Apr-4-2025-08_39_53-PM.webp") no-repeat center center fixed;
	background-size: cover;
	color: #333;
	margin: 0;
	padding: 0;
	line-height: 1.6;
}

a {
	color: #007cba;
	text-decoration: none;
}

a:hover,
a:focus {
	color: #005f8f;
	text-decoration: underline;
}

.container {
	max-width: 1200px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

/* Allow full-width containers */
.wp-block-group.has-background,
.wp-block-cover,
.wp-block-group.alignfull,
.alignfull {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

/* Full-width sections */
.wp-block-group.is-layout-constrained > .wp-block-group__inner-container {
	max-width: 100% !important;
}

/* Remove excessive spacing from block wrappers */
.wp-block-group,
.wp-block-group__inner-container,
.wp-block-buttons,
.wp-block-button {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.wp-block-group__inner-container {
	padding: 0 !important;
}

/* Only add spacing where needed - sections */
section.wp-block-group {
	padding-top: 0;
	padding-bottom: 0;
}

section.wp-block-group.py-5 {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

/* Allow wide blocks to be truly wide */
.wp-block-group.alignwide,
.alignwide {
	max-width: 95%;
	margin-left: auto;
	margin-right: auto;
}

/* Header Styles */
.site-header {
	padding: 15px 0;
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Navigation Menu Spacing */
.wp-block-navigation {
	gap: 2rem !important;
}

.wp-block-navigation .wp-block-navigation-item {
	margin-left: 0;
	margin-right: 0;
}

.wp-block-navigation .wp-block-navigation-item__content {
	padding: 0.5rem 1.25rem;
	white-space: nowrap;
}

.wp-block-navigation .wp-block-navigation-link {
	margin: 0;
}

/* Add spacing between navigation items and their dropdown arrows */
.wp-block-navigation .wp-block-navigation-item__content .wp-block-navigation-item__label {
	margin-right: 0.5rem;
}

/* Ensure proper spacing for navigation submenu indicators */
.wp-block-navigation .wp-block-navigation-item__content .wp-block-navigation__submenu-icon {
	margin-left: 0.25rem;
}

/* Ensure proper spacing between navigation items */
.wp-block-navigation__responsive-container-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
	margin-bottom: 0.5rem;
}

/* Button in navigation - align with menu items */
.wp-block-navigation .wp-block-navigation-item .btn,
.wp-block-html .btn {
	margin-top: 0;
	margin-left: 2rem;
	align-self: center;
}

/* Ensure header flex container aligns items properly */
.site-header .wp-block-group.d-flex {
	align-items: center;
}

.site-header .wp-block-navigation {
	display: flex;
	align-items: center;
}

/* Persona icon styling */
.persona-icon {
	text-align: center;
}

.persona-icon i {
	display: inline-block;
}

/* btn-info button styles */
.wp-block-button__link.btn-info,
.wp-block-button__link.btn.btn-info,
.wp-block-button.btn-info .wp-block-button__link,
.wp-block-button.btn-info .wp-element-button,
.wp-element-button.btn-info,
.wp-element-button.btn.btn-info {
	background-color: #0dcaf0 !important;
	border-color: #0dcaf0 !important;
	color: #000 !important;
}

.wp-block-button__link.btn-info:hover,
.wp-block-button__link.btn.btn-info:hover,
.wp-block-button.btn-info .wp-block-button__link:hover,
.wp-block-button.btn-info .wp-element-button:hover,
.wp-element-button.btn-info:hover,
.wp-element-button.btn.btn-info:hover {
	background-color: #0aa2c0 !important;
	border-color: #0aa2c0 !important;
	color: #000 !important;
}

.site-logo img,
.custom-logo {
	max-height: 60px;
	height: auto;
	width: auto;
	display: block;
}

/* Site title on one line */
.site-logo .wp-block-site-title,
.site-logo .wp-block-site-title a {
	white-space: nowrap;
	display: inline-block;
	line-height: 1.2;
}

/* Header layout improvements */
.site-header .container > .wp-block-group {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.site-header .site-logo {
	flex-shrink: 0;
}

.site-header .wp-block-navigation {
	flex: 1 1 auto;
	justify-content: center;
	margin: 0 auto;
}

.site-header .wp-block-html {
	flex-shrink: 0;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: flex-end;
}

.main-navigation ul li {
	margin-left: 20px;
}

.main-navigation ul li a {
	display: block;
	padding: 10px 5px;
	color: #333;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 0.9em;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
	color: #007cba;
	text-decoration: none;
}

/* Content Styles */
.site-content {
	padding: 40px 0;
	width: 100%;
	max-width: 100%;
}

/* Removed width overrides that were causing misalignment - let WordPress handle layout constraints */

/* Allow full-width blocks */
.wp-block-group.alignfull,
.alignfull,
.wp-block-cover.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-left: 15px;
	padding-right: 15px;
}

/* Wide blocks should be wider */
.wp-block-group.alignwide,
.alignwide {
	max-width: 95%;
	width: 95%;
	margin-left: auto;
	margin-right: auto;
}

/* Hero Section Styles */
.hero {
	position: relative;
	background: url('/wp-content/uploads/2025/04/ChatGPT-Image-Apr-4-2025-08_51_38-PM-e1743874448734.png') no-repeat center center;
	background-size: cover;
	background-attachment: fixed;
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.hero .container {
	position: relative;
	z-index: 2;
	width: 100%;
}

.hero-content {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	padding: 40px 20px;
}

.hero h1 {
	margin-bottom: 20px;
	font-size: 3.5em;
	font-weight: bold;
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .lead {
	font-size: 1.3em;
	margin-bottom: 30px;
	color: #fff;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	line-height: 1.6;
}

.hero-buttons {
	margin-top: 30px;
}

.hero-buttons .btn {
	padding: 12px 30px;
	font-size: 1.1em;
	white-space: nowrap;
}

/* Button Styles - Ensure Bootstrap styles apply */
.hero .btn,
.demo-cta .btn,
.wp-block-button.btn,
.wp-block-button .btn {
	margin-top: 20px;
	padding: 12px 30px;
	font-size: 1.1em;
	border-radius: 0.375rem;
	border: 1px solid transparent;
	display: inline-block;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.15s ease-in-out;
}

/* Prevent button text from wrapping inside buttons - target all button links */
/* Override WordPress core button styles that use word-break: break-word */
.wp-block-button__link,
.wp-element-button,
a.wp-block-button__link,
a.wp-element-button,
.wp-block-button__link.btn-primary,
.wp-block-button__link.btn-success,
.wp-block-button__link.btn-outline-primary,
.wp-element-button.btn-primary,
.wp-element-button.btn-success,
.wp-element-button.btn-outline-primary,
.wp-block-button.btn-primary .wp-block-button__link,
.wp-block-button.btn-primary .wp-element-button,
.wp-block-button.btn-success .wp-block-button__link,
.wp-block-button.btn-success .wp-element-button,
.wp-block-button.btn-outline-primary .wp-block-button__link,
.wp-block-button.btn-outline-primary .wp-element-button,
.wp-block-button .btn-primary .wp-block-button__link,
.wp-block-button .btn-success .wp-block-button__link,
.wp-block-button .btn-outline-primary .wp-block-button__link {
	white-space: nowrap !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
	display: inline-block !important;
}

/* Force white text on Bootstrap colored buttons - highest priority */
a.wp-block-button__link.btn-primary,
a.wp-block-button__link.btn-success,
a.wp-element-button.btn-primary,
a.wp-element-button.btn-success,
.wp-block-button.btn-primary a,
.wp-block-button.btn-success a {
	color: #fff !important;
}

/* Bootstrap button color overrides for WordPress blocks */
/* Override theme.json button element styles */
.wp-block-button__link.btn-primary,
.wp-block-button__link.btn.btn-primary,
.wp-block-button .btn-primary .wp-block-button__link,
.wp-block-button.is-style-fill .btn-primary .wp-block-button__link,
.wp-block-button.btn-primary .wp-block-button__link,
.wp-block-button.btn-primary .wp-element-button,
.wp-element-button.btn-primary,
.wp-element-button.btn.btn-primary {
	background-color: #0d6efd !important;
	border-color: #0d6efd !important;
	color: #fff !important;
}

.wp-block-button__link.btn-primary:hover,
.wp-block-button__link.btn.btn-primary:hover,
.wp-block-button .btn-primary .wp-block-button__link:hover,
.wp-block-button.is-style-fill .btn-primary .wp-block-button__link:hover {
	background-color: #0b5ed7 !important;
	border-color: #0a58ca !important;
	color: #fff !important;
}

.wp-block-button__link.btn-success,
.wp-block-button__link.btn.btn-success,
.wp-block-button .btn-success .wp-block-button__link,
.wp-block-button.is-style-fill .btn-success .wp-block-button__link,
.wp-block-button.btn-success .wp-block-button__link,
.wp-block-button.btn-success .wp-element-button,
.wp-element-button.btn-success,
.wp-element-button.btn.btn-success {
	background-color: #198754 !important;
	border-color: #198754 !important;
	color: #fff !important;
}

.wp-block-button__link.btn-success:hover,
.wp-block-button__link.btn.btn-success:hover,
.wp-block-button .btn-success .wp-block-button__link:hover,
.wp-block-button.is-style-fill .btn-success .wp-block-button__link:hover {
	background-color: #157347 !important;
	border-color: #146c43 !important;
	color: #fff !important;
}

/* Ensure icons inside buttons are white */
.wp-block-button__link.btn-primary i,
.wp-block-button__link.btn-success i,
.wp-block-button__link.btn-primary .bi,
.wp-block-button__link.btn-success .bi,
.wp-element-button.btn-primary i,
.wp-element-button.btn-success i,
.wp-element-button.btn-primary .bi,
.wp-element-button.btn-success .bi {
	color: #fff !important;
}

.wp-block-button__link.btn-outline-primary,
.wp-block-button__link.btn.btn-outline-primary,
.wp-block-button.btn-outline-primary .wp-block-button__link,
.wp-block-button.btn-outline-primary .wp-element-button,
.wp-element-button.btn-outline-primary,
.wp-element-button.btn.btn-outline-primary {
	color: #0d6efd !important;
	border-color: #0d6efd !important;
	background-color: transparent !important;
	border-width: 1px !important;
	border-style: solid !important;
}

.wp-block-button__link.btn-outline-primary:hover,
.wp-block-button__link.btn.btn-outline-primary:hover,
.wp-block-button.btn-outline-primary .wp-block-button__link:hover,
.wp-block-button.btn-outline-primary .wp-element-button:hover,
.wp-element-button.btn-outline-primary:hover,
.wp-element-button.btn.btn-outline-primary:hover {
	color: #fff !important;
	background-color: #0d6efd !important;
	border-color: #0d6efd !important;
}

/* Post Thumbnail Styles */
.post-thumbnail img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-bottom: 20px;
}

/* Persona Section Styles */
#personas .wp-block-columns {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
}

#personas .wp-block-column {
	flex: 1 1 0;
	min-width: 300px;
}

.persona {
	background: #fafafa;
	border: 1px solid #ddd;
	text-align: center;
	margin-bottom: 30px;
	padding: 40px 30px;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.05);
	min-height: 100%;
	display: flex;
	flex-direction: column;
}

.persona h2 {
	margin-top: 0;
	margin-bottom: 15px;
	color: #007cba;
}

.persona p {
	margin-bottom: 20px;
	color: #555;
}

/* Features Section Styles */
.features {
	padding: 60px 20px;
	text-align: center;
	background-color: #f8f9fa;
}

.features h2 {
	margin-top: 0;
	margin-bottom: 40px;
	font-size: 2.2em;
	color: #333;
}

.features p {
	font-size: 1.2em;
	color: #555;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 40px;
}

/* General Page Title Style */
.page-title {
	text-align: center;
	margin-bottom: 40px;
	font-size: 2.5em;
	color: #333;
}

.page-title h1,
.page-title h2 {
	margin: 0;
}

/* Footer Styles */
.site-footer {
	background-color: #343a40;
	color: #f8f9fa;
	padding: 40px 20px;
	text-align: left;
	margin-top: 50px;
}

/* Footer headings - prevent wrapping */
.site-footer h5,
.site-footer h6 {
	white-space: nowrap;
	color: #fff !important;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Footer links and text - ensure visibility */
.site-footer a {
	color: #adb5bd !important;
	text-decoration: none;
}

.site-footer a:hover {
	color: #fff !important;
}

/* Override text-muted in footer to be visible */
.site-footer .text-muted {
	color: #adb5bd !important;
}

.site-footer .text-muted:hover {
	color: #fff !important;
}

/* Footer columns - prevent text wrapping in headings */
.site-footer .wp-block-column h5,
.site-footer .wp-block-column h6 {
	white-space: nowrap;
	overflow: visible;
}

/* Footer list items */
.site-footer .wp-block-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-footer .wp-block-list li {
	margin-bottom: 0.5rem;
}

/* Override WordPress core width constraints - Allow full width for specific sections only */
.wp-block-group.alignfull,
.alignfull {
	max-width: 100% !important;
	width: 100% !important;
}

/* Keep constrained layouts with proper max-width */
.wp-block-group.is-layout-constrained > .wp-block-group__inner-container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--wp--preset--spacing--50, 1.5rem);
	padding-right: var(--wp--preset--spacing--50, 1.5rem);
}

/* Recent Posts Section Styles */
.recent-posts {
	padding: 60px 20px;
}

.recent-posts .container {
	max-width: 1200px;
}

.recent-posts h2 {
	font-size: 2.2em;
	color: #333;
	margin-bottom: 0;
}

.recent-posts .card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border-radius: 8px;
	overflow: hidden;
}

.recent-posts .card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.12) !important;
}

.recent-posts .card-img-top {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.recent-posts .card-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
	color: #333;
}

.recent-posts .card-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.recent-posts .card-title a:hover {
	color: #0d6efd;
}

.recent-posts .card-text {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #666;
}

.recent-posts .wp-block-post-terms a {
	color: #0d6efd;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.recent-posts .wp-block-post-terms a:hover {
	color: #0a58ca;
	text-decoration: underline;
}

.recent-posts .wp-block-post-date {
	color: #6c757d;
	font-size: 0.875rem;
}

/* Responsive adjustments for recent posts */
@media (max-width: 992px) {
	.recent-posts .wp-block-query[class*="columnCount-3"] {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

/* Contact Form Styles */
#contact-form {
	max-width: 600px;
	margin: 0 auto;
	padding: 2rem;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	position: relative;
	z-index: 1;
}

#contact-form .form-label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: #333;
	pointer-events: auto;
}

#contact-form .form-control {
	width: 100%;
	padding: 0.75rem;
	margin-bottom: 1rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1rem;
	background-color: #fff;
	color: #333;
	box-sizing: border-box;
	pointer-events: auto;
	position: relative;
	z-index: 2;
}

#contact-form .form-control:focus {
	outline: none;
	border-color: #0d6efd;
	box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

#contact-form textarea.form-control {
	min-height: 120px;
	resize: vertical;
}

#contact-form .btn-primary {
	background-color: #0d6efd;
	border-color: #0d6efd;
	color: #fff;
	padding: 0.75rem 2rem;
	font-size: 1rem;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

#contact-form .btn-primary:hover {
	background-color: #0b5ed7;
	border-color: #0a58ca;
}

#contact-message {
	padding: 1rem;
	border-radius: 4px;
	margin-top: 1rem;
}

#contact-message.alert-success {
	background-color: #d1e7dd;
	border: 1px solid #badbcc;
	color: #0f5132;
}

#contact-message.alert-danger {
	background-color: #f8d7da;
	border: 1px solid #f5c2c7;
	color: #842029;
}

/* 404 Page Styles - Force button visibility */
/* Target all possible button selectors on 404 page */
main .wp-block-button__link,
main .wp-block-button a,
.wp-block-pattern .wp-block-button__link,
.wp-block-pattern .wp-block-button a,
.wp-block-button.btn-primary .wp-block-button__link,
.wp-block-button.btn-primary a,
.wp-block-button__link.has-primary-background-color,
.wp-block-button__link.has-base-color,
.wp-block-button__link.wp-element-button,
a.wp-block-button__link,
.wp-block-button__link,
.wp-block-button a,
.btn-primary .wp-block-button__link,
.btn-primary a {
	background-color: #0d6efd !important;
	color: #fff !important;
	border-color: #0d6efd !important;
	padding: 0.75rem 2rem !important;
	border-radius: 4px !important;
	text-decoration: none !important;
	display: inline-block !important;
}

main .wp-block-button__link:hover,
main .wp-block-button a:hover,
.wp-block-pattern .wp-block-button__link:hover,
.wp-block-pattern .wp-block-button a:hover,
.wp-block-button.btn-primary .wp-block-button__link:hover,
.wp-block-button.btn-primary a:hover,
.wp-block-button__link.has-primary-background-color:hover,
a.wp-block-button__link:hover,
.wp-block-button__link:hover,
.wp-block-button a:hover,
.btn-primary .wp-block-button__link:hover,
.btn-primary a:hover {
	background-color: #0b5ed7 !important;
	border-color: #0a58ca !important;
	color: #fff !important;
}

/* Extra specific rule for 404 page button */
body.error404 .wp-block-button__link,
body.error404 .wp-block-button a,
body.error404 main .wp-block-button__link {
	background-color: #0d6efd !important;
	color: #fff !important;
	border: 2px solid #0d6efd !important;
}

/* Media Queries */
@media (max-width: 768px) {
	.hero h1 {
		font-size: 2.5em;
	}
	.hero p {
		font-size: 1.1em;
	}
	.main-navigation ul {
		justify-content: center;
		flex-direction: column;
		align-items: center;
	}
	.main-navigation ul li {
		margin-left: 0;
		margin-bottom: 10px;
	}
	.page-title {
		font-size: 2em;
	}
}

/* Navigation Menu Styles */
.navbar-nav {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1rem;
}

.navbar-nav .nav-item {
	list-style: none;
	margin: 0;
}

.navbar-nav .nav-link {
	color: #212529;
	text-decoration: none;
	padding: 0.5rem 1rem;
	display: block;
}

.navbar-nav .nav-link:hover {
	color: #0d6efd;
}

.navbar-nav .dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	min-width: 200px;
	padding: 0.5rem 0;
	margin: 0;
	background-color: #fff;
	border: 1px solid rgba(0,0,0,.15);
	border-radius: 0.25rem;
	box-shadow: 0 0.5rem 1rem rgba(0,0,0,.175);
}

/* Let Bootstrap JS handle dropdown visibility - don't use CSS hover */
.navbar-nav .dropdown-menu .dropdown-item {
	padding: 0.5rem 1rem;
	color: #212529;
	white-space: nowrap;
	display: block;
	width: 100%;
	clear: both;
	font-weight: 400;
	text-align: inherit;
	text-decoration: none;
	background-color: transparent;
	border: 0;
}

.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:focus {
	background-color: #f8f9fa;
	color: #0d6efd;
}

/* Careers Page Styles */
.careers-page {
	background: rgba(255, 255, 255, 0.95);
	padding: 2rem;
	border-radius: 8px;
	margin-bottom: 2rem;
}

.careers-page .table {
	background: white;
}

.careers-cards-container {
	width: 100%;
}

.careers-row {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin-bottom: 2rem;
}

.careers-card-wrapper {
	flex: 1 1 calc(50% - 0.75rem);
	min-width: 300px;
	position: relative;
	display: flex;
	flex-direction: column;
	contain: layout style;
	margin-bottom: 2rem;
}

.careers-card-wrapper-full {
	width: 100%;
	margin-bottom: 1.5rem;
}

.careers-two-column {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
}

.careers-two-column > div {
	flex: 1 1 calc(50% - 1rem);
	min-width: 250px;
}

.careers-benefits {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
}

.careers-benefits > div {
	flex: 1 1 calc(50% - 1rem);
	min-width: 250px;
}

@media (max-width: 768px) {
	.careers-card-wrapper {
		flex: 1 1 100%;
	}
	
	.careers-two-column > div {
		flex: 1 1 100%;
	}
	
	.careers-benefits > div {
		flex: 1 1 100%;
	}
}

.careers-page .card {
	margin-bottom: 0;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	overflow: hidden;
	width: 100%;
	contain: layout;
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 0.25rem;
}

.careers-page .card-body {
	flex: 1 1 auto;
	padding: 1rem;
}

.careers-page .card-header {
	font-weight: 600;
	padding: 0.75rem 1rem;
}

.careers-page .card-footer {
	padding: 0.75rem 1rem;
	background-color: rgba(0,0,0,0.03);
	border-top: 2px solid rgba(0,0,0,0.125);
	margin-top: auto;
	position: relative;
	z-index: 1;
	flex-shrink: 0;
	border-bottom-left-radius: 0.25rem;
	border-bottom-right-radius: 0.25rem;
}

.careers-page .btn {
	white-space: nowrap;
}
