/*
Theme Name: bankular-directory
Text Domain: bankular-directory
Description: A fast, data-first WordPress theme for U.S. bank, credit-union, branch, routing-number and rate directories using GeoDirectory and Rank Math.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

/* This file holds the WordPress theme header (above) plus truly global
 * rules only. Tailwind handles everything else.
 *
 * - Design tokens live in theme.css's @theme block.
 * - Prose + form styles live in presets.css.
 * - Layout, color, typography utilities come from Tailwind v4.
 *
 * Do NOT add component classes here (.btn-primary, .card, etc.). Use
 * Tailwind utilities in templates instead.
 */

html {
	scroll-behavior: smooth;
}

/* GeoDirectory integration overrides for the shared branch Archive Item. */
.bankular-gd-archive-card {
	display: grid;
	gap: 0.9rem;
	height: 100%;
	padding: 1.1rem;
	background: #ffffff;
}

.bankular-gd-archive-head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
}

.bankular-gd-archive-logo {
	flex: 0 0 auto;
}

.bankular-gd-archive-logo > span {
	border-radius: 0.75rem !important;
}

.bankular-gd-archive-heading {
	min-width: 0;
}

.bankular-gd-archive-heading .geodir-entry-title {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.4;
}

.bankular-gd-service {
	display: block;
	margin-top: 0.3rem;
	color: #6b7d83;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.35;
}

.bankular-gd-archive-heading .geodir-entry-title a {
	color: #102f39;
	font-weight: 700;
	text-decoration: none;
}

.bankular-gd-archive-heading .geodir-entry-title a:hover {
	color: #0b6f67;
}

.bankular-gd-archive-address {
	color: #596b72;
	font-size: 0.9rem;
	line-height: 1.55;
}

.bankular-gd-archive-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	padding-top: 0.85rem;
	margin-top: auto;
	border-top: 1px solid #dfe7e8;
}

.bankular-gd-archive-card .gd-badge {
	border-radius: 999px !important;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 0.55rem 0.75rem;
}

.bankular-gd-archive-distance .gd-badge {
	background: #e4f4f1 !important;
	border-color: #c7e8e2 !important;
	color: #0b615a !important;
}

.bankular-gd-archive-directions .gd-badge {
	background: #ffffff !important;
	border: 1px solid #c9d6d8 !important;
	color: #153f49 !important;
}

.bankular-gd-search .geodir-search-form-wrapper {
	margin-bottom: 0 !important;
}

.bankular-gd-search .geodir-search {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
