/*
Theme Name: Fenix Locksmith
Theme URI: https://fenixlocksmiths.com
Author: EM Marketing
Description: Custom theme for Fenix Locksmith LLC (Plantation, FL / Broward County).
Version: 1.0
Text Domain: fenix-locksmith
*/

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: #F6F7F4; font-family: Barlow, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #0B0C0A; text-decoration: none; }
a:hover { color: #E8302A; }
h1, h2, h3, h4 { margin: 0; font-family: Oswald, 'Barlow Condensed', Helvetica, sans-serif; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

/* dropdown nav mechanics */
.dd-panel{display:none !important}
.dd:hover .dd-panel{display:block !important}
.dd>a{color:#D6DAD2 !important}
.dd:hover>a{color:#CBF230 !important}

/* semantic hover utilities (replaces the old per-page x1..xN classes) */
.hov-lime-text:hover{color:#CBF230 !important}
.hov-red-bg:hover{background:#ff3b34 !important; color:#fff !important}
.hov-lime-bg:hover{background:#CBF230 !important; color:#0B0C0A !important}
.hov-card:hover{border-color:#0B0C0A !important; box-shadow:0 12px 28px rgba(11,12,10,0.08) !important}
.hov-accent-text:hover{color:#E8302A !important}
.hov-accent-bg:hover{background:#E8302A !important; color:#fff !important}
.hov-white-text:hover{color:#fff !important}
.hov-dd-item:hover{background:rgba(203,242,48,0.12) !important; color:#CBF230 !important}
.hov-card-dark:hover{border-color:#0B0C0A !important; box-shadow:0 12px 28px rgba(11,12,10,0.08) !important; color:#0B0C0A !important}
.hov-border-dark:hover{border-color:#0B0C0A !important}
.hov-white-shadow:hover{color:#fff !important; box-shadow:0 14px 32px rgba(11,12,10,0.25) !important}
.hov-lime-border:hover{border-color:#CBF230 !important; color:#fff !important}

/* Real photos dropped into fixed-height image slots (cards, galleries,
   hero banners) must crop to fill their box instead of rendering at
   native pixel size and spilling over the text below. This mirrors
   what the original <image-slot> placeholder element used to do. */
figure.wp-block-image{margin:0; height:100%; line-height:0}
figure.wp-block-image img{display:block; width:100%; height:100%; object-fit:cover}
.fenix-article figure.wp-block-image{height:auto}
.fenix-article figure.wp-block-image img{height:auto; object-fit:initial}

/* Blog article body (used by single.php around the_content()) */
.fenix-article{font-size:17.5px; line-height:1.75; color:#3A3F36}
.fenix-article > *:first-child{margin-top:0}
.fenix-article h2{font-family:Oswald, 'Barlow Condensed', sans-serif; font-weight:700; font-size:clamp(24px,3vw,32px); text-transform:uppercase; line-height:1.15; margin:44px 0 14px; color:#0B0C0A}
.fenix-article h3{font-family:Oswald, 'Barlow Condensed', sans-serif; font-weight:700; font-size:clamp(19px,2.2vw,23px); text-transform:uppercase; line-height:1.2; margin:32px 0 12px; color:#0B0C0A}
.fenix-article p{margin:0 0 20px}
.fenix-article ul, .fenix-article ol{margin:0 0 20px; padding-left:24px}
.fenix-article li{margin-bottom:8px; line-height:1.65}
.fenix-article a{color:#E8302A; text-decoration:underline; text-underline-offset:2px}
.fenix-article a:hover{color:#0B0C0A}
.fenix-article strong{color:#0B0C0A}
.fenix-article blockquote{margin:28px 0; padding:18px 24px; border-left:3px solid #CBF230; background:#FBFCFA; font-style:italic; color:#4A4F47}
.fenix-article blockquote p{margin-bottom:0}
.fenix-article hr{border:0; border-top:1px solid #E4E7E0; margin:36px 0}
.fenix-article figure{margin:28px 0}
.fenix-article img{max-width:100%; height:auto; border-radius:8px; display:block}
.fenix-article figcaption{margin-top:8px; font-size:14px; color:#7A806F; text-align:center}

/* Mobile header: let the menu wrap instead of running off-screen */
@media (max-width: 720px){
  header nav{flex-wrap:wrap !important; gap:4px 18px !important; margin-left:0 !important; width:100%}
  header nav .dd{padding:6px 0 !important}
  header nav > a, header nav .dd > a{font-size:13px !important}
}
