/*
Theme Name: 3rd Gen Drywall
Theme URI: https://3rdgendrywall.ca
Author: 3rd Generation Drywall & Taping
Description: Single-page marketing site for 3rd Generation Drywall & Taping.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: thirdgen-drywall
*/

body { margin: 0; background: #f4f7f8; color: #12394d; font-family: Barlow, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
  * { box-sizing: border-box; }
  a { color: #12394d; text-decoration: none; }
  a:hover { color: #1a9488; }
html { scroll-behavior: smooth; }
body.admin-bar header[style*="sticky"] { top: 32px !important; }
@media (max-width: 782px) { body.admin-bar header[style*="sticky"] { top: 46px !important; } }
[hidden] { display: none !important; }
.nav-narrow { display: none !important; }
@media (max-width: 999px) {
  .nav-wide { display: none !important; }
  .nav-narrow { display: flex !important; }
}
.work-tab { transition: background .15s, color .15s; }
#lightbox img { max-height: 100%; }
select option { color: #12394d; background: #fff; }
input::placeholder, textarea::placeholder { color: #7f9aa5; }
.footer-brand { row-gap: 14px; }
@media (max-width: 600px) {
  .footer-brand img { height: 34px !important; }
  footer > div { justify-content: flex-start !important; }
}
.tg-notice { margin: 0 0 4px; padding: 12px 14px; background: #1a9488; color: #fff; font-family: Archivo, sans-serif; font-weight: 700; }
.s1:hover{color: #35cfc0;}
.s2:hover{color: #35cfc0;}
.s3:hover{color: #35cfc0;}
.s4:hover{color: #35cfc0;}
.s5:hover{color: #35cfc0;}
.s6:hover{color: #35cfc0;}
.s7:hover{color: #35cfc0;}
.s8:hover{color: #35cfc0;}
.s9:hover{background: #22a89b;}
.s10:hover{background: #22a89b;}
.s11:hover{background: rgba(246,245,242,0.12);}
.s12:hover{background: #fbfdfd;}
.s13:hover{background: #fbfdfd;}
.s14:hover{background: #fbfdfd;}
.s15:hover{background: #fbfdfd;}
.s16:hover{background: #fbfdfd;}
.s17:hover{background: #fbfdfd;}
.s18:hover{background: #e2ebee;}
.s19:hover{background: #e2ebee;}
.s20:hover{color: #35cfc0;}
.s21:hover{color: #35cfc0;}
.s22:hover{background: #1a9488; border-color: #1a9488;}
.s23:hover{background: #1a9488; border-color: #1a9488;}
.s24:hover{background: #22a89b;}
.s25:hover{background: #1a9488; border-color: #1a9488;}
.s26:hover{background: #1a9488; border-color: #1a9488;}
.s27:hover{background: #1a9488; border-color: #1a9488;}
.s28:hover{background: #1a9488; border-color: #1a9488;}
.s29:hover{background: #1a9488; border-color: #1a9488;}
.s30:focus-visible{border-color: #35cfc0; outline: 2px solid #35cfc0; outline-offset: 1px;}
.s31:focus-visible{border-color: #35cfc0; outline: 2px solid #35cfc0; outline-offset: 1px;}
.s32:focus-visible{border-color: #35cfc0; outline: 2px solid #35cfc0; outline-offset: 1px;}
.s33:focus-visible{border-color: #35cfc0; outline: 2px solid #35cfc0; outline-offset: 1px;}
.s34:focus-visible{border-color: #35cfc0; outline: 2px solid #35cfc0; outline-offset: 1px;}
.s35:focus-visible{outline: 2px solid #35cfc0; outline-offset: 2px;}

/* --- Mobile header: compact single row, stuck to the very top --- */
@media (max-width: 999px) {
  header[style*="sticky"] > div { flex-wrap: nowrap !important; padding: 10px 14px !important; gap: 10px !important; }
  header[style*="sticky"] > div > a:first-child { flex: 1 1 auto; min-width: 0; }
  header[style*="sticky"] > div > a:first-child img { height: 34px !important; max-width: 100% !important; }
  .nav-narrow { flex: 0 0 auto; gap: 8px !important; }
  .nav-narrow a { padding: 11px 12px !important; font-size: 14px !important; }
  .nav-narrow button { width: 44px !important; height: 44px !important; }
}
@media (max-width: 420px) {
  header[style*="sticky"] > div > a:first-child img { height: 30px !important; }
}
/* WP admin bar is not fixed on phones, so no offset there */
@media (max-width: 600px) {
  body.admin-bar header[style*="sticky"] { top: 0 !important; }
}

/* Mobile footer: domain on its own line, social buttons together */
@media (max-width: 600px) {
  .footer-brand > img { flex-basis: 100%; }
  .footer-brand > span { flex-basis: 100%; }
}
