/*
Theme Name: Pat Cooper 2026
Theme URI: https://patbcooper.com/
Author: Pat Cooper
Description: Résumé-first personal site for Pat Cooper: experience, results, AMA Tampa Bay, brands, consulting and reviews.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: patbcooper-2026
*/

/* Most design styles live in assets/css/design.css (generated) and inline in the templates.
   This file holds WordPress-specific additions. */

.pc-if { display: contents; }
.pc-if[hidden] { display: none !important; }

/* Keep the sticky nav below the WordPress admin bar when logged in. */
.admin-bar header[style*="sticky"] { top: 32px !important; }
@media (max-width: 782px) { .admin-bar header[style*="sticky"] { top: 46px !important; } }

/* Generic pages and posts (blog, legal pages, etc.) */
.pc-generic { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 88px) 24px 64px; font-family: Inter, system-ui, sans-serif; font-size: 17px; line-height: 1.7; color: #121826; }
.pc-generic h1, .pc-generic h2, .pc-generic h3 { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.02em; line-height: 1.15; }
.pc-generic h1 { font-size: clamp(34px, 5vw, 48px); margin: 0 0 16px; }
.pc-generic img { max-width: 100%; height: auto; border-radius: 16px; }
.pc-generic a { color: #0A66D9; }
.pc-generic .pc-meta { color: #4A5163; font-size: 14px; margin-bottom: 32px; }
.pc-generic .pc-post { padding: 24px 0; border-bottom: 1px solid #E7E9F2; }
.pc-generic .pc-post h2 { font-size: 24px; margin: 0 0 8px; }

.pc-error { color: #B42318; font-size: 14px; font-weight: 600; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Phone menu */
.pc-mobile-panel { display: none; }
@media (max-width: 820px) {
	header.pc-open .pc-mobile-panel { display: flex; }
}
.pc-mobile-panel { max-width: 1160px; margin: 8px auto 0; padding: 8px; flex-direction: column; gap: 2px; border: 1px solid #E7E9F2; border-radius: 20px; background: #FFFFFF; box-shadow: 0 12px 32px rgba(18,24,38,0.10); }
.pc-mobile-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 14px; color: #121826; font-family: Inter, system-ui, sans-serif; font-size: 16px; font-weight: 600; text-decoration: none; }
.pc-mobile-panel a:hover, .pc-mobile-panel a[aria-current="page"] { background: #E6F1FF; color: #0B4F9E; }

/* Phones and small tablets: headshot sits to the right of the headline instead of on its own row. */
@media (max-width: 900px) {
	.pc-hero { display: grid !important; grid-template-columns: minmax(0, 1fr) clamp(104px, 30vw, 210px); column-gap: 16px; row-gap: 22px; padding-top: 40px !important; gap: 22px 16px !important; }
	.pc-hero-text { display: contents !important; }
	.pc-hero-text > h1 { grid-column: 1; grid-row: 1; align-self: center; font-size: clamp(34px, 8.6vw, 60px) !important; }
	.pc-hero-text > p, .pc-hero-text > div { grid-column: 1 / -1; }
	.pc-hero-photo { grid-column: 2; grid-row: 1; align-self: center; width: 100%; max-width: none !important; }
	.pc-hero-photo img { border-radius: 18px !important; box-shadow: 0 10px 28px rgba(18,24,38,0.12); }
	.pc-hero-photo .pc-float { display: none !important; }
}
@media (max-width: 900px) {
	.pc-hero-stat { display: inline-flex !important; justify-self: start; }
}
@media (max-width: 600px) {
	.pc-hero-ctas { flex-wrap: nowrap !important; gap: 8px !important; width: 100%; }
	.pc-hero-ctas > a { min-height: 46px !important; padding: 0 12px !important; font-size: 14px !important; gap: 6px !important; white-space: nowrap; justify-content: center; }
	.pc-hero-ctas > a:not(:last-child) { flex: 1 1 auto; min-width: 0; }
	.pc-hero-ctas > a:not(:last-child) svg { display: none; }
	.pc-hero-ctas > a:last-child { flex: 0 0 46px; width: 46px; padding: 0 !important; }
	.pc-li-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 360px) {
	.pc-hero-ctas > a { padding: 0 10px !important; font-size: 13px !important; }
	.pc-brand { font-size: 16px !important; gap: 6px !important; }
	.pc-hello { padding: 0 12px !important; font-size: 13px !important; }
	nav[aria-label=Main] { padding-left: 10px !important; gap: 6px !important; }
}

/* Phones: card groups become swipe rows, long reviews collapse, project cards get shorter. */
.pc-dots, .pc-more { display: none; }
@media (max-width: 640px) {
	.pc-swipe { display: flex !important; flex-wrap: nowrap !important; flex-direction: row !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px !important; margin-left: -24px !important; margin-right: -24px !important; padding: 4px 24px 8px !important; scroll-padding-left: 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.pc-swipe::-webkit-scrollbar { display: none; }
	.pc-swipe > * { flex: 0 0 84% !important; min-width: 0; max-width: none !important; scroll-snap-align: start; }
	.pc-swipe.pc-swipe-sm > * { flex-basis: 66% !important; }
	.pc-swipe > .pc-lift:hover { transform: none; }
	.pc-dots { display: flex; flex: 1 0 100%; justify-content: center; gap: 6px; margin-top: 10px; }
	.pc-dots span { width: 6px; height: 6px; border-radius: 999px; background: #DADDE8; transition: width .25s ease, background .25s ease; }
	.pc-dots span.on { width: 18px; background: #0A66D9; }
	.pc-clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
	.pc-clamp.pc-open { display: block; -webkit-line-clamp: unset; }
	.pc-more { display: inline-flex; align-self: flex-start; margin-top: -8px; padding: 6px 0; border: 0; background: none; color: #0A66D9; font: 600 14px/1.2 Inter, system-ui, sans-serif; cursor: pointer; }
	.pc-proj-sum { display: none; }
	.pc-proj-img { aspect-ratio: 2 / 1 !important; }
	.pc-proj-grid > a > div:last-child { padding: 18px 18px 20px !important; gap: 10px !important; }
}
.pc-collapse-btn { display: none; }
@media (max-width: 640px) {
	.pc-collapse.pc-collapsed { display: none !important; }
	.pc-collapse-btn { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: #0A66D9; color: #FFFFFF; font: 600 15px/1 Inter, system-ui, sans-serif; cursor: pointer; box-shadow: 0 8px 24px rgba(10,102,217,0.25); }
	.pc-collapse-btn[hidden] { display: none; }
}
@media (max-width: 640px) {
	.pc-proj-img { overflow: hidden; min-height: 0; }
	.pc-proj-img > img { position: absolute; inset: 0; }
}
