/*
Theme Name: Joyce Tech
Author: Ethan Spark
Description: Creative technology agency theme with ACF section editing and case studies.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: joyce-tech
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
.joyce-case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem;width:100%}
.grid>.joyce-case-grid{grid-column:1/-1}
.joyce-case-grid-work{grid-template-columns:repeat(6,minmax(0,1fr))}
.joyce-case-grid-work>article{grid-column:span 3}
.joyce-case-grid-work>article:first-child{grid-column:span 6}
.joyce-case-grid-work>article:nth-child(n+4){grid-column:span 2}
.joyce-case-card{background:#1c1b1d;border:1px solid #ffffff14;border-radius:1rem;overflow:hidden;display:flex;flex-direction:column}
.joyce-case-card img{width:100%;height:20rem;object-fit:cover;transition:transform .6s}
.joyce-case-card:hover img{transform:scale(1.025)}
.joyce-case-copy{padding:2rem;flex:1}.joyce-case-copy h2{font-size:1.8rem;font-weight:700;margin:.5rem 0}
.joyce-case-copy p{color:#c2c6d6;line-height:1.7}.joyce-case-copy a{display:inline-block;color:#4cd7f6;margin-top:1.5rem}
.joyce-page{max-width:1400px;margin:auto;padding:9rem 2rem 4rem}.joyce-page h1{font-size:clamp(2.5rem,6vw,5rem);font-weight:700;line-height:1.05;margin:1rem 0 2rem}
.joyce-page h2{font-size:2rem;margin:2rem 0 1rem}.joyce-page p{line-height:1.8;color:#c2c6d6}
.joyce-cover{width:100%;max-height:650px;object-fit:cover;border-radius:1rem;margin:2rem 0}
.joyce-meta{display:flex;flex-wrap:wrap;gap:2rem;padding:2rem 0;border-block:1px solid #ffffff20}
.joyce-meta dt{font-size:.75rem;color:#4cd7f6;text-transform:uppercase}.joyce-meta dd{margin-top:.5rem}
.joyce-richtext>*{margin-bottom:1rem}.joyce-richtext ul,.joyce-richtext ol{padding-left:1.5rem;list-style:revert}.joyce-richtext a{color:#4cd7f6;text-decoration:underline}
.joyce-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.joyce-gallery img{width:100%;border-radius:.75rem}
.joyce-form-status{padding:1rem;margin-top:1rem;border:1px solid #4cd7f6;border-radius:.5rem;color:#4cd7f6}
.joyce-menu-link{white-space:nowrap}.joyce-menu-link[aria-current="page"]{background:#201f22;color:#fff}
body.admin-bar .fixed.top-0,body.admin-bar header.fixed{top:32px}
@media(max-width:782px){body.admin-bar .fixed.top-0,body.admin-bar header.fixed{top:46px}}
@media(max-width:1023px){.joyce-case-grid-work{grid-template-columns:repeat(2,minmax(0,1fr))}.joyce-case-grid-work>article,.joyce-case-grid-work>article:nth-child(n+4){grid-column:span 1}.joyce-case-grid-work>article:first-child{grid-column:1/-1}}
@media(max-width:640px){.joyce-case-grid,.joyce-gallery{grid-template-columns:1fr}.joyce-case-grid-work>article{grid-column:1/-1}.joyce-case-copy{padding:1.25rem}.joyce-page{padding-inline:1.25rem}}
@media(prefers-reduced-motion:reduce){.joyce-case-card img{transition:none}}
