/*
Theme Name: TireFitment
Theme URI: https://tirefitment.online/
Description: Theme for the TireFitment website: header, footer, the API site pages (home, WooCommerce, moving from the CSV, Shopify waitlist), pricing for the database editions, License, Refund and Terms pages, and WooCommerce pages in the TireFitment design. Works with the TireFitment Core and TireFitment SEO Pages plugins.
Version: 1.1.3
Requires at least: 6.0
Requires PHP: 7.4
Author: TireFitment
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tirefitment
Tags: e-commerce, one-column, custom-menu
*/

/* Base layout for ordinary pages and posts. Brand styles are in assets/css/site.css. */
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #f7f7f5; color: #16191d; font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.55; }
img, video { max-width: 100%; height: auto; }
a { background-color: transparent; color: var(--tfp-accent, #c2410c); text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin-block-start: .5rem; margin-block-end: 1rem; font-weight: 600; line-height: 1.2; }
table { border-collapse: collapse; border-spacing: 0; }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: #16191d; display: block; height: auto; left: 8px; padding: 10px 16px; top: 8px; width: auto; z-index: 100000; }

/* Uploaded logo (Appearance → Customize → Site Identity → Logo), both header modes. */
.tfp-logo .tft-logo-img { display: block; height: 40px; width: auto; max-width: 240px; object-fit: contain; }
@media (max-width: 1024px) { .tfp-logo .tft-logo-img { height: 34px; } }

/* Comments (comments.php) */
.tft-comments { margin-top: 56px; padding-top: 32px; border-top: 1px solid #deddd8; }
.tft-comments .comment-list { list-style: none; margin: 0 0 32px; padding: 0; }
.tft-comments .comment-list .children { list-style: none; padding-left: 24px; }
.tft-comments .comment-body { padding: 16px 0; border-bottom: 1px solid #deddd8; }
.tft-comments textarea, .tft-comments input[type="text"], .tft-comments input[type="email"], .tft-comments input[type="url"] { width: 100%; box-sizing: border-box; border: 1px solid #c8c8c2; border-radius: 4px; padding: 10px 12px; font: inherit; }

.tft-main { display: block; }
.tft-wrap { max-width: 1200px; margin: 0 auto; padding: 56px 16px 96px; box-sizing: border-box; }
.tft-narrow { max-width: 820px; }

.tft-title,
.tft-entry .entry-content h1, .tft-entry .entry-content h2, .tft-entry .entry-content h3 {
	font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
	font-weight: 700;
	line-height: 1.05;
	color: #16191d;
	letter-spacing: .01em;
}
.tft-title { text-transform: uppercase; font-size: clamp(2.4rem, 5vw, 3.4rem); margin: 0 0 24px; }
.tft-entry .entry-content { font-size: 1.05rem; line-height: 1.65; color: #3e434a; }
.tft-entry .entry-content h2 { font-size: 1.8rem; margin: 40px 0 12px; text-transform: uppercase; }
.tft-entry .entry-content h3 { font-size: 1.35rem; margin: 28px 0 10px; }
.tft-entry .entry-content > :first-child { margin-top: 0; }
.tft-meta { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .85rem; color: #5b6068; margin: -12px 0 24px; }

.tft-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tft-list li { background: #fff; border: 1px solid #deddd8; border-radius: 8px; padding: 22px 24px; }
.tft-list h2 { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; text-transform: uppercase; font-size: 1.6rem; margin: 0 0 6px; line-height: 1.1; }
.tft-list h2 a { color: #16191d; text-decoration: none; }
.tft-list p { margin: 0; color: #3e434a; }
.tft-pagination { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.tft-pagination a, .tft-pagination span { padding: 8px 14px; border: 1px solid #deddd8; border-radius: 4px; background: #fff; text-decoration: none; }

.tft-404 { text-align: left; }
.tft-404 p { font-size: 1.15rem; color: #3e434a; }
.tft-search { display: flex; gap: 8px; max-width: 520px; margin-top: 20px; }
.tft-search input[type="search"] { flex: 1; min-height: 48px; border: 1px solid #c8c8c2; border-radius: 4px; padding: 0 14px; font: inherit; }
.tft-search button { min-height: 48px; padding: 0 20px; border: 0; border-radius: 4px; background: #16191d; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }

.alignwide { max-width: 1200px; }
.alignfull { width: 100%; }
body.tfp-wc .tft-wrap { padding: 0; max-width: none; }
body:not(.tfp-wc) .tft-main .tft-entry { max-width: 820px; }
