/*
Theme Name: Pawn Broker Funding
Theme URI: http://pawnbrokerfunding.com
Author: AV Social Strategies
Author URI: http://avsocialstrategies.com
Description: Pawn Broker Funding WordPress Theme
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.3
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pawn-broker-funding
Tags: Blog, Portfolio, Entertainment, Grid Layout, One Column, Two Columns, Three Columns, Four Columns, Block Editor Patterns, Block Editor Styles, Custom Logo, custom-menu, Editor Style, Featured Images, Site Editor, Full Width Template, rtl-language-support, Style Variations, Template Editing, Theme Options, translation-ready, Wide Blocks

PBF WordPress Theme, (C) 2025 AV Social Strategies.
PBF is distributed under the terms of the GNU GPL.
*/

/* CSS Reset
---------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

b,
strong {
	font-weight: var(--wp--custom--font-weight--semi-bold);
}

ol,
ul {
	padding: 0;
}

ol:where(:not([class*="wp-block"])),
ol:where(.wp-block-list),
ul:where(:not([class*="wp-block"])),
ul:where(.wp-block-list) {
	padding-inline-start: var(--wp--preset--spacing--medium);
}

div[class*="wp-block-"] figcaption {
	color: var(--wp--preset--color--secondary);
	font-size: var(--wp--preset--font-size--x-small);
	margin-bottom: 0;
	margin-top: 20px;
	text-align: center;
}

img,
figure {
	max-width: 100%;
	height: auto;
}

/* Temporary fix for text-decoration-thickness in Firefox */
@-moz-document url-prefix() {
	a {
		text-decoration-thickness: .1rem !important;
	}
}

/* Standardize form styling
--------------------------------------------- */

input,
button,
textarea,
select {
	font: inherit;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
	appearance: none;
}

input:not([type="submit"]),
select,
textarea,
.wp-block-post-comments-form input:not([type="submit"]):not([type="checkbox"]),
.wp-block-post-comments-form textarea {
	color: var(--wp--preset--color--main);
	border-radius: 5px;
	border: solid 1px var(--wp--preset--color--border-light);
	padding: .5em 1em;
	font-size: var(--wp--preset--font-size--small);
	background-color: #fff;
}

input:focus-visible,
textarea:focus-visible {
	outline-color: var(--wp--preset--color--primary);
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

label {
	width: 100%;
	display: block;
}

::placeholder {
	color: var(--wp--preset--color--secondary);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.75;
}

/* Helper styles
---------------------------------------------------------------------------- */

a.more-link {
	display: block;
}

/* Inline code */
*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--tertiary);
	padding: 3px 5px;
	position: relative;
	border-radius: 3px;
}

.wp-block-categories {
	position: relative;
}

/* Adjust terms at bottom of posts */
.single .wp-block-group .wp-block-post-terms,
.blog .wp-block-group .wp-block-post-terms {
	margin-bottom: -8px !important;
}

/* Remove margin on term description on archive pages */
.wp-block-term-description p:last-child {
	margin-bottom: 0;
}

/* Remove last separator on post list */
.remove-border-and-padding .wp-block-post-template li:last-child .wp-block-separator {
	display: none;
}

/* Hide post meta div if no tags assigned */
.single .wp-block-group:has(> .post-meta:empty) {
	display: none;
}

.wp-block-group:empty:has(+ .comment-respond) {
	display: none;
}

.row-logos > figure {
	flex-shrink: 1 !important;
}

/* Sticky header */

header:has(>.is-position-sticky) {
	position: sticky;
	top: calc( 0px + var( --wp-admin--admin-bar--height, 0px ) );
	z-index: 100;
}

/* Account for admin bar on mobile */

@media (max-width: 600px) {
	header:has(>.is-position-sticky) {
		top: 0;
	}
}

@media (min-width: 782px) {
	.secure-fast-approvals {
		width: 100% !important;
		max-width: none;
		top: -93px;
		left: -87px;
	}
}

@media (min-width: 1000px) {
	.stats-columns {
		padding-left: 14rem;
		padding-right: 14rem;
	}
}

/* Mobile helper classes */

@media (max-width: 781px) {
	.pbf-hide-on-mobile {
		display: none;
	}

	.pbf-unstick-mobile {
		position: static;
	}

	header:has(>.pbf-unstick-mobile) {
		position: static;
	}
}

.cta-get-my-offer {
	border-top: 3px solid #fff;
}

@media (min-width: 1000px) {
	.cta-get-my-offer .wp-block-columns::before {
		position: absolute;
		background-size: 167px;
		width: 167px;
		height: 167px;
		top: -35px;
		right: 63px;
	}
}

.cta-get-my-offer::before {
	content: "";
	height: 100px;
	background: linear-gradient(to right, #0c4a6e, #e1e1e1);
	position: absolute;
	top: -22px;
	left: 0;
	width: 100%;
	z-index: -1;
}

@media (min-width: 1080px) {
	.cta-get-my-offer::before{
		height: 215px;
	}
}

.cta-get-my-offer .wp-block-columns {
	position: relative;
}

@media (max-width: 781px) {
	.cta-get-my-offer .wp-block-columns::before {
		display: none;
	}
}

.cta-get-my-offer .wp-block-columns::before {
	content: "";
	position: absolute;
	background-image: url(patterns/images/blue-pawn-icon.png);
	background-size: 60px;
	background-position: center;
	background-repeat: no-repeat;
	width: 100px;
	height: 100px;
	top: -52px;
	right: 63px;
}

@media (min-width: 1080px) {
	.cta-get-my-offer .wp-block-columns::before {
		background-size: 100px;
		top: -7px;
		right: 63px;
	}
}

@media (min-width: 1500px) {
	.cta-get-my-offer .wp-block-button {
		position: relative;
		left: 61px;
		top: 10px;
	}
}

@media (min-width: 768px) and (max-width: 825px) {
	.footer-details p {
		font-size: .8rem !important;
	}
}

@media (min-width: 826px) and (max-width: 1200px) {
	.footer-details p {
		font-size: 1rem !important;
	}
}

@media (min-width: 768px) and (max-width: 1399px) {
	.loan-application-container {
		padding: 2rem !important;
	}

	.loan-application-section .loan-application-left-col {
		padding-right: 0 !important;
	}

	.loan-application-section .loan-application-left-col h2 {
		font-size: 2rem !important;
	}
}

@media (max-width: 781px) {
	.center-on-mobile {
		text-align: center;
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin: 0 auto !important;
		float: none !important;
	}

	.cta-get-my-offer .easy-reliable-secure {
		text-align: center;
		padding-top: 0 !important;
	}

	.quick-cash .wp-block-heading {
		background: rgba(255,255,255, .8);
		border-radius: 10px;
		padding: 16px;
	}

	.quick-cash .wp-block-buttons {
		justify-content: center;
	}

	.why-choose-us .wp-block-heading {
		padding: 0 1rem !important;
		background: none;
	}

	.why-choose-us .wp-block-buttons {
		justify-content: center;
		margin-top: 2rem !important;
	}

	.loan-application-section {
		padding: 1rem !important;
	}

	.start-loan-application {
		padding: 1rem!important;
	}

	.start-loan-application .loan-application-container {
		padding: 1rem !important;
	}

	.wp-block-blockons-accordions .accordion-label {
		padding: 1rem !important;
	}

	.site-footer .wp-block-image {
		text-align: center;
	}

	.site-footer .copyright {
		text-align: center;
	}
}

@media (max-width: 1080px) {
	.cta-get-my-offer .wp-block-button__link {
		padding-left: 2.3em !important;
		padding-right: 2.3em !important;
	}
}

.cta-get-my-offer .wp-block-button__link {
	padding-left: 100px;
	padding-right: 100px;
}

.secure-fast-approvals {
	position: relative;
	width: auto !important;
	max-width: none;
}

.steps-mini-bar-top {
	border-bottom: 3px solid #fff;
	width: 100%;
	padding: 6px 0;
}

.steps-mini-bar-bottom{
	border-top: 3px solid #fff;
	width: 100%;
	padding: 6px 0;
}

.quick-cash{
	background-size: 1000px !important;
	background-repeat: no-repeat;
}

.quick-cash p.alpha-bg {
	background: rgba(255,255,255, .8);
	border-radius: 10px;
	padding: 19px;
}

.loan-application-container {
	box-shadow: 30px 30px 0px #003954;
}

.loan-application-form {
	height: 415px;
}

/* FAQ */

.wp-block-blockons-accordions .accordion-label .accordion-label-title{
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
	font-size: 2rem !important;
}

@media (max-width: 781px) {
	.wp-block-blockons-accordions .accordion-label .accordion-label-title {
		font-size: 1rem !important;
	}
}

.wp-block-blockons-accordions .accordion-label{
	padding: 30px 42px;
}

.wp-block-blockons-accordion{
	margin-bottom: 45px !important;
}

.wp-block-blockons-accordion .accordion-content-inner {
	padding: 12px 42px;
}

/* CF7 Form Styles */

.application-form h2 {
	font-size: 3rem;
	font-family: "DM Sans";
	font-weight: 900;
	text-align: center;
}

.application-form h3 {
	font-family: "DM Sans";
	font-size: 1.5rem;
}
/* ===== Pawnbroker Funding – Form Styles ===== */

/* Brand tokens (fall back if theme.json names differ) */
:root{
	--pf-teal: var(--wp--preset--color--primary);
	--pf-gold: var(--wp--preset--color--primary-accent, #d6a324);
	--pf-text: var(--wp--preset--color--contrast, #0b1720);
	--pf-muted: #6b7785;
	--pf-border: #dbe4ea;
	--pf-bg: #ffffff;
  
	--pf-radius: 12px;
	--pf-radius-sm: 8px;
	--pf-gap: clamp(12px, 1.6vw, 18px);
	--pf-pad: clamp(16px, 2vw, 24px);
  }
  
  /* Optional: add this class to your CF7 shortcode to get the card look:
	 [contact-form-7 id="123" class="pf-form"] */
  .wpcf7.pf-form .wpcf7-form{
	background: var(--pf-bg);
	border: 1px solid var(--pf-border);
	border-radius: var(--pf-radius);
	padding: clamp(20px, 3vw, 36px);
	/* subtle brand shadow with gold offset, matching your cards */
	box-shadow: 16px 16px 0 0 var(--pf-gold);
  }
  
  /* Base */
  .wpcf7 form, .wp-block-form form{
	color: var(--pf-text);
	font-size: clamp(16px, 1.1rem, 18px);
  }
  .wpcf7-form p{ margin: 0 0 14px; }
  
  /* Labels */
  .wpcf7-form label{
	display: block;
	font-weight: 600;
	margin: 0 0 30px 0;
	color: var(--pf-text);
  }

.wpcf7-form-control-wrap {
	position: relative;
	margin-top: 10px;
	display: block;
}
  
  /* Inputs */
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="date"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="url"],
  .wpcf7-form input[type="number"],
  .wpcf7-form select,
  .wpcf7-form textarea{
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--pf-border);
	border-radius: var(--pf-radius-sm);
	background: #fff;
	color: var(--pf-text);
	line-height: 1.4;
	transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
  }
  
  /* Placeholder */
  .wpcf7-form ::placeholder{ color: #8b96a3; }
  
  /* Hover / focus */
  .wpcf7-form input:hover,
  .wpcf7-form select:hover,
  .wpcf7-form textarea:hover{
	border-color: color-mix(in srgb, var(--pf-teal), #fff 70%);
  }
  .wpcf7-form input:focus-visible,
  .wpcf7-form select:focus-visible,
  .wpcf7-form textarea:focus-visible{
	outline: none;
	border-color: var(--pf-teal);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-teal), #fff 75%);
  }
  
  /* Textarea height */
  .wpcf7-form textarea{ min-height: 140px; resize: vertical; }
  
  /* Checkboxes & radios (modern, accessible) */
  .wpcf7-form input[type="checkbox"],
  .wpcf7-form input[type="radio"]{
	accent-color: var(--pf-teal);
	width: 1.05rem; height: 1.05rem;
  }
  .wpcf7-form .wpcf7-list-item{ margin: 0 14px 8px 0; }
  .wpcf7-form .wpcf7-list-item-label{ margin-left: 6px; }
  
  /* File input */
  .wpcf7-form input[type="file"]{
	padding: 10px;
	border: 1px dashed var(--pf-border);
	border-radius: var(--pf-radius-sm);
	background: #fcfdff;
  }
  .wpcf7-form input[type="file"]::file-selector-button{
	padding: 10px 14px;
	border: 0;
	background: var(--pf-teal);
	color: #fff;
	cursor: pointer;
	margin-right: 12px;
  }
  .wpcf7-form input[type="file"]:focus-visible{
	outline: none;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-teal), #fff 75%);
  }
  
  /* Buttons */
  .wpcf7-form .button-primary{
	background: var(--pf-teal);
	color: #fff;
  }
  .wpcf7-form .wpcf7-submit,
  .wpcf7-submit{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 18px;
	font-weight: 700;
	border: 0;
	background: var(--pf-teal);
	color: #fff;
	cursor: pointer;
	box-shadow: 8px 8px 0 var(--wp--preset--color--primary-accent);
	transition: transform .05s ease, filter .15s ease, box-shadow .15s ease;
  }
  .wpcf7-form .wpcf7-submit:hover{ filter: brightness(1.05); }
  .wpcf7-form .wpcf7-submit:active{ transform: translateY(1px); }
  .wpcf7-form .wpcf7-submit:focus-visible{
	outline: none;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--pf-gold), #fff 65%);
  }
  
  /* Helper buttons row */
  .wpcf7-form .wp-block-buttons, .wpcf7-form .buttons{
	display: flex; gap: 10px; flex-wrap: wrap;
  }
  
  /* Two/three column helpers (you already use these classnames) */
  .wpcf7-columns{
	display: grid;
	gap: var(--pf-gap);
	margin: var(--pf-gap) 0;
  }
  .wpcf7-2cols{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wpcf7-3cols{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  @media (max-width: 782px){
	.wpcf7-2cols, .wpcf7-3cols{ grid-template-columns: 1fr; }
	.wpcf7.pf-form .wpcf7-form{ box-shadow: 12px 12px 0 0 var(--pf-gold); }
	.wpcf7-form .wpcf7-submit{ width: 100%; }
  }
  
  /* Validation & messages */
  .wpcf7-form .wpcf7-not-valid-tip{
	margin-top: 6px;
	color: #b93838;
	font-size: .9em;
  }
  .wpcf7 form .wpcf7-response-output{
	margin-top: 16px;
	border-radius: var(--pf-radius-sm);
	border-width: 1px;
  }
  .wpcf7 form.sent .wpcf7-response-output{
	border-color: #b6e3c3;
	background: #f2fbf5;
	color: #155d2a;
  }
  .wpcf7 form.invalid .wpcf7-response-output{
	border-color: #f0c2c2;
	background: #fff6f6;
	color: #8f2b2b;
  }
  
  /* Small print / help text */
  .wpcf7-form .help, .wpcf7-form small{
	color: var(--pf-muted);
	font-size: .9em;
  }
  

.clear-both {
	clear: both;
}
