/* Coast2Coast USA 1.0.1: one small stylesheet.
   Component classes only. Reading styles sit under .c2c-t-prose with :where() so a page builder's or the
   plugin's own styles always win. Page-builder and plugin pages (.c2c-t-full) get no typography at all.
   No resets: nothing is set to none, 0 or initial on plain tags. Brand colours come from the plugin's Settings
   (inline variables); the fallbacks below are the house colours. */

.c2c-t { margin: 0; background: #fff; color: var(--c2c-d-text, #1c2540); font-family: var(--c2c-d-font, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif); font-size: 17px; line-height: 1.65; -webkit-text-size-adjust: 100%; }
.c2c-t :where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #ffbf47; outline-offset: 2px; }

/* skip link */
.c2c-t-skip { position: absolute; left: 12px; top: -80px; z-index: 100000; padding: 10px 16px; border-radius: 8px; background: #1c2540; color: #fff; font-weight: 700; text-decoration: none; }
.c2c-t-skip:focus { top: 12px; }

/* layout */
.c2c-t-wrap { box-sizing: border-box; width: 100%; max-width: var(--c2ct-wrap, 1120px); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.c2c-t-wrap.c2c-t-prose { max-width: calc(var(--c2ct-prose, 860px) + 40px); }
.c2c-t-full { width: 100%; }
.c2c-t-main { display: block; min-height: 40vh; }
.c2c-t-main:focus { outline: none; }
.c2c-t-head { padding-top: 40px; padding-bottom: 8px; }
.c2c-t-h1 { margin: 0 0 12px; color: var(--c2c-d-head, var(--c2ct-acc-d, #1a1f66)); font-size: clamp(28px, 4.4vw, 42px); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.c2c-t-h2 { margin: 32px 0 12px; color: var(--c2c-d-head, var(--c2ct-acc-d, #1a1f66)); font-size: clamp(22px, 3vw, 28px); line-height: 1.2; font-weight: 800; }
.c2c-t-meta { margin: 0 0 18px; color: #5b6580; font-size: 14.5px; }
.c2c-t-p { margin: 0 0 16px; }
.c2c-t-feat { padding-top: 8px; padding-bottom: 8px; }
.c2c-t-feat-img { display: block; width: 100%; height: auto; border-radius: 14px; }

/* buttons */
.c2c-t-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 36px; }
.c2c-t-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 2px solid var(--c2ct-brand, #b53031); border-radius: 10px; background: var(--c2ct-brand, #b53031); color: #fff; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; }
.c2c-t-btn:hover { background: var(--c2ct-brand-d, #8c1a1a); border-color: var(--c2ct-brand-d, #8c1a1a); color: #fff; }
.c2c-t-btn--line { background: #fff; color: var(--c2ct-brand, #b53031); }
.c2c-t-btn--line:hover { color: #fff; }

/* the simple header (only when the plugin header is off) */
.c2c-t-header { position: relative; z-index: 50; border-bottom: 1px solid #dfe5f1; background: #fff; }
.c2c-t-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; min-height: 68px; }
.c2c-t-logo { flex: 0 0 auto; }
.c2c-t-brand { color: var(--c2ct-acc-d, #1a1f66); font-size: 20px; font-weight: 800; text-decoration: none; }
.c2c-t-burger { margin-left: auto; min-height: 44px; padding: 8px 16px; border: 1px solid #b9c3d9; border-radius: 10px; background: #fff; color: #1c2540; font-size: 15px; font-weight: 700; cursor: pointer; }
.c2c-t-nav { display: none; flex: 1 1 100%; order: 3; padding: 4px 0 14px; }
.c2c-t-nav.is-open { display: block; }
.c2c-t-menu { margin: 0; padding: 0; list-style: none; }
.c2c-t-menu .menu-item { position: relative; }
.c2c-t-menu .menu-item > a { display: block; padding: 11px 4px; color: #1c2540; font-weight: 600; text-decoration: none; }
.c2c-t-menu .menu-item > a:hover { color: var(--c2ct-brand, #b53031); }
.c2c-t-menu .sub-menu { margin: 0; padding: 0 0 0 14px; list-style: none; }
.c2c-t-phone { order: 2; color: var(--c2ct-brand, #b53031); font-weight: 800; text-decoration: none; }
@media (min-width: 900px) {
	.c2c-t-burger { display: none; }
	.c2c-t-nav { display: block; flex: 1 1 auto; order: 0; padding: 0; }
	.c2c-t-menu { display: flex; flex-wrap: wrap; gap: 4px 18px; }
	.c2c-t-menu .menu-item > a { padding: 10px 2px; }
	.c2c-t-menu .sub-menu { position: absolute; left: 0; top: 100%; z-index: 60; display: none; min-width: 220px; padding: 8px; border: 1px solid #dfe5f1; border-radius: 12px; background: #fff; box-shadow: 0 10px 28px rgba(20, 31, 79, .14); }
	.c2c-t-menu .menu-item:hover > .sub-menu, .c2c-t-menu .menu-item:focus-within > .sub-menu { display: block; }
	.c2c-t-phone { order: 0; margin-left: auto; }
}

/* the simple footer (only when the plugin footer is off) */
.c2c-t-footer { margin-top: 56px; padding: 32px 0; background: #0b1730; color: #d7deea; }
.c2c-t-fmenu { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 14px; padding: 0; list-style: none; }
.c2c-t-fmenu .menu-item > a { color: #fff; text-decoration: none; }
.c2c-t-copy { margin: 0; font-size: 14px; }

/* reading text: plain pages and posts only (.c2c-t-prose), at the lowest specificity */
.c2c-t-prose :where(h2, h3, h4) { margin: 1.8em 0 .5em; color: var(--c2c-d-head, var(--c2ct-acc-d, #1a1f66)); line-height: 1.25; font-weight: 800; }
.c2c-t-prose :where(h2) { font-size: 1.6em; }
.c2c-t-prose :where(h3) { font-size: 1.3em; }
.c2c-t-prose :where(p, ul, ol, blockquote, figure, table, pre) { margin: 0 0 1.1em; }
.c2c-t-prose :where(ul, ol) { padding-left: 1.4em; }
.c2c-t-prose :where(li) { margin: 0 0 .35em; }
.c2c-t-prose :where(a) { color: var(--c2c-d-link, var(--c2ct-brand, #b53031)); }
.c2c-t-prose :where(blockquote) { padding: 4px 0 4px 18px; border-left: 4px solid var(--c2ct-brand, #b53031); color: #3b4666; }
.c2c-t-prose :where(table) { width: 100%; border-collapse: collapse; }
.c2c-t-prose :where(th, td) { padding: 8px 10px; border: 1px solid #dfe5f1; text-align: left; }
.c2c-t-content :where(img) { max-width: 100%; height: auto; }
.c2c-t-content :where(iframe, video) { max-width: 100%; }

/* post lists */
.c2c-t-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; margin: 22px 0 32px; }
.c2c-t-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dfe5f1; border-radius: 16px; background: #fff; box-shadow: 0 6px 22px rgba(20, 31, 79, .06); }
.c2c-t-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eef1f8; }
.c2c-t-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.c2c-t-card-b { padding: 18px 20px 20px; }
.c2c-t-card-h { margin: 0 0 6px; font-size: 20px; line-height: 1.3; font-weight: 800; }
.c2c-t-card-a { color: var(--c2ct-acc-d, #1a1f66); text-decoration: none; }
.c2c-t-card-a:hover { color: var(--c2ct-brand, #b53031); }
.c2c-t-card-x { margin: 0; color: #4b5675; font-size: 15.5px; }
.c2c-t-main .navigation .nav-links, .c2c-t-pn { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 32px; }
.c2c-t-main .navigation .page-numbers { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; justify-content: center; padding: 6px 14px; border: 1px solid #b9c3d9; border-radius: 10px; color: #1c2540; text-decoration: none; }
.c2c-t-main .navigation .page-numbers.current { border-color: var(--c2ct-brand, #b53031); background: var(--c2ct-brand, #b53031); color: #fff; }
.c2c-t-pn { justify-content: space-between; padding-top: 18px; border-top: 1px solid #dfe5f1; }
.c2c-t-pn-a a { color: var(--c2ct-brand, #b53031); font-weight: 700; text-decoration: none; }

/* search form (core markup) */
.c2c-t-main .search-form { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.c2c-t-main .search-form .search-field { box-sizing: border-box; flex: 1 1 220px; min-height: 48px; padding: 8px 14px; border: 1px solid #b9c3d9; border-radius: 10px; font: inherit; }
.c2c-t-main .search-form .search-submit { min-height: 48px; padding: 8px 22px; border: 2px solid var(--c2ct-brand, #b53031); border-radius: 10px; background: var(--c2ct-brand, #b53031); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

/* comments */
.c2c-t-comments { margin: 40px 0; }
.c2c-t-clist { padding-left: 1.2em; }

/* shop pages */
.c2c-t-woo { padding-top: 32px; padding-bottom: 32px; }

@media (max-width: 640px) {
	.c2c-t { font-size: 16.5px; }
	.c2c-t-head { padding-top: 28px; }
	.c2c-t-actions { flex-direction: column; align-items: stretch; }
	.c2c-t-actions .c2c-t-btn { width: 100%; }
}
@media print {
	.c2c-t-header, .c2c-t-footer, .c2c-t-skip { display: none; }
}
