/*
Theme Name: WSPG Publishing
Theme URI: https://westernsydneypublishinggroup.com.au/
Author: Western Sydney Publishing Group
Description: Independent editorial publishing group website based on WSPG Corporate v5.
Version: 1.9
Text Domain: wspg-publishing
*/
/*
Theme Name: WSPG Publishing 2026
Description: Bespoke corporate theme for Western Sydney Publishing Group. Preserves WordPress page content and URLs.
Version: 3.0.0
Requires PHP: 7.4
Text Domain: wspg-corporate
*/
:root{--blue:#087ba2;--ink:#172632;--muted:#61717d;--pale:#f1f6f8;--line:#dce6eb}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:17px/1.7 system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:#fff}a{color:var(--blue)}img{max-width:100%;height:auto}.wrap{width:min(1160px,calc(100% - 42px));margin:auto}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.head-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:92px}.brand img{width:205px;display:block}.nav ul{display:flex;gap:21px;list-style:none;margin:0;padding:0;align-items:center}.nav a{font-size:14px;font-weight:700;text-decoration:none;color:var(--ink)}.nav a:hover{color:var(--blue)}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--blue);color:white;text-decoration:none;border:0;border-radius:5px;padding:12px 21px;font-weight:750;cursor:pointer}.btn:hover{background:#055d7d;color:white}.btn-light{background:white;color:var(--ink)}.hero{background:linear-gradient(90deg,rgba(10,28,40,.91),rgba(10,28,40,.47)),url('assets/photo1.jpg') center/cover;color:white;padding:115px 0 125px}.eyebrow{letter-spacing:.18em;text-transform:uppercase;font-weight:800;font-size:12px;color:#59c5e6}.hero h1{font-size:clamp(42px,6vw,76px);line-height:1.08;max-width:850px;margin:16px 0 25px;letter-spacing:-.045em}.hero p{max-width:710px;font-size:20px;color:#e8f2f6}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.section{padding:85px 0}.section.alt{background:var(--pale)}h2{font-size:clamp(30px,4vw,46px);line-height:1.17;letter-spacing:-.035em;margin:0 0 19px}h3{line-height:1.25;font-size:24px}.lead{font-size:19px;color:#475b68;max-width:850px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white}.card-body{padding:26px}.card h3{margin:0 0 12px}.brand-card{display:flex;min-height:142px;align-items:center;justify-content:center;padding:25px;background:#fff;border:1px solid var(--line);border-radius:10px;transition:transform .2s}.brand-card:hover{transform:translateY(-4px)}.brand-card img{max-height:85px;object-fit:contain}.brand-card.dark{background:#202020}.brand-card.orange{background:#ef8024}.brand-card.green{background:#4e7f26}.brand-card.red{background:#f3133e}.brand-card.cyan{background:#00c6d4}.feature{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.feature img{border-radius:10px;width:100%;object-fit:cover}.quote{border-left:5px solid var(--blue);padding:15px 25px;background:white}.quote p{font-size:19px}.video{position:relative;aspect-ratio:16/9;width:100%;border:0;border-radius:10px}.paper-card{display:grid;grid-template-columns:140px 1fr;gap:24px;align-items:start}.paper-card img{width:140px;border:1px solid var(--line);box-shadow:0 10px 24px #0002}.staff-photo{width:100%;aspect-ratio:4/3;object-fit:cover}.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.contact-form label{font-size:14px;font-weight:700}.contact-form input,.contact-form textarea{display:block;width:100%;border:1px solid #bdcbd2;border-radius:5px;padding:12px;font:inherit}.contact-form .wide{grid-column:1/-1}.site-footer{background:#142633;color:#dbe6ec;padding:50px 0}.site-footer a{color:#c6eaf6}.footer-grid{display:grid;grid-template-columns:2fr 1fr;gap:30px}.site-footer img{width:200px;background:white;padding:10px;border-radius:5px}.content{max-width:900px}.content h1{font-size:clamp(36px,5vw,56px)}.notice{padding:15px;border-radius:5px;background:#e6f6ec}.error{background:#ffe7e7}.mobile-toggle{display:none}@media(max-width:850px){.head-inner{min-height:76px}.brand img{width:165px}.mobile-toggle{display:block;background:none;border:1px solid var(--line);padding:8px 12px;border-radius:5px;font-size:20px}.nav{display:none;position:absolute;top:76px;left:0;right:0;background:white;border-bottom:1px solid var(--line);padding:18px}.nav.open{display:block}.nav ul{flex-direction:column;align-items:flex-start}.hero{padding:75px 0}.grid,.grid.two,.feature{grid-template-columns:1fr}.section{padding:55px 0}.footer-grid{grid-template-columns:1fr}}@media(max-width:520px){.paper-card{grid-template-columns:1fr}.contact-form{grid-template-columns:1fr}.contact-form .wide{grid-column:auto}}

/* V3: faithful brand presentation, consistent copy blocks and mobile polish */
.brand-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.brand-grid .brand-card,.brand-grid .brand-card.dark,.brand-grid .brand-card.orange,.brand-grid .brand-card.green,.brand-grid .brand-card.red,.brand-grid .brand-card.cyan{background:#fff;border:1px solid #e1e7eb;min-height:168px;padding:24px;box-shadow:0 3px 14px rgba(14,37,54,.035)}
.brand-grid .brand-card img{display:block;max-width:100%;width:auto;height:auto;max-height:116px;object-fit:contain;filter:none;mix-blend-mode:normal}
.brand-grid .brand-card:hover{box-shadow:0 12px 28px rgba(14,37,54,.1);border-color:#a8c8d5}
.section:not(.alt) .grid:not(.brand-grid) .card-body>p{max-width:34ch}
.staff-photo{aspect-ratio:4/3;object-fit:cover;object-position:center 32%}
.contact-form,.wpcf7 form{max-width:100%}.wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]),.wpcf7 textarea,.wpcf7 select{max-width:100%;width:100%;border:1px solid #bdcbd2;border-radius:6px;padding:12px;font:inherit}.wpcf7 input[type=submit]{background:var(--blue);color:white;border:0;border-radius:5px;padding:12px 24px;cursor:pointer;font-weight:700}
@media(max-width:850px){.brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-grid .brand-card{min-height:135px}.brand-grid .brand-card img{max-height:90px}.head-inner{gap:10px}.feature img{max-height:none}.staff-photo{aspect-ratio:4/3}}
@media(max-width:520px){.brand-grid{grid-template-columns:1fr 1fr;gap:10px}.brand-grid .brand-card{min-height:112px;padding:12px}.brand-grid .brand-card img{max-height:75px}.wrap{width:calc(100% - 32px)}.hero h1{font-size:clamp(35px,10vw,48px)}.hero p{font-size:17px}.card-body{padding:20px}.staff-photo{aspect-ratio:4/3}.actions .btn{width:100%}.section{padding:48px 0}}

/* v4: staff portraits and cards */
.staff-photo{display:block;width:100%;height:245px;aspect-ratio:auto;object-fit:cover;object-position:center 28%;image-rendering:auto}
@media(max-width:520px){.staff-photo{height:220px;object-position:center 25%}}

.editorial-hero{background:#092d4b;color:white;padding:90px 0 75px}.editorial-hero h1{color:white;max-width:820px}.editorial-hero p{color:#e4edf6;max-width:750px;font-size:1.2rem}.editorial-hero .eyebrow{color:#7bd5ff}.editorial-strip{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:16px;margin-top:35px}.editorial-strip img{width:100%;height:270px;object-fit:cover;border-radius:12px}.editorial-strip img:first-child{height:270px}.editorial-person{display:flex;gap:18px;align-items:center;border:1px solid #e4eaf0;border-radius:14px;padding:16px;background:white}.editorial-person img{width:100px;height:110px;object-fit:cover;border-radius:9px}.editorial-person h3{margin:0 0 5px}.editorial-person p{margin:0}.editorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.editorial-feature-photo{width:100%;max-height:460px;object-fit:cover;border-radius:14px}.editorial-spotlight{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}.editorial-note{background:#f0f6fa;border-left:4px solid #0788bb;padding:24px;border-radius:8px}@media(max-width:760px){.editorial-hero{padding:48px 0}.editorial-strip{grid-template-columns:1fr 1fr}.editorial-strip img{height:160px!important}.editorial-strip img:first-child{grid-column:span 2;height:210px!important}.editorial-grid,.editorial-spotlight{grid-template-columns:1fr}.editorial-person img{width:88px;height:100px}}

/* Publishing v1.1 refinements */
.editorial-person img.keely-photo{object-fit:contain;object-position:center center;background:#f2f3f5}
.editorial-person img{flex-shrink:0}
.wspg-contact-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wspg-contact-form label{display:block;font-weight:650}.wspg-contact-form input,.wspg-contact-form textarea{display:block;width:100%;font:inherit;border:1px solid #b7c7d0;border-radius:6px;padding:12px}.wspg-contact-form .full{grid-column:1/-1}.wspg-contact-form .hidden-field{position:absolute;left:-9999px}.wspg-contact-form button{font:inherit}@media(max-width:600px){.wspg-contact-form{grid-template-columns:1fr}}

/* Timeline and long staff email fixes */
.timeline-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.timeline-grid .card-body{padding:20px}.timeline-grid h3{font-size:26px}.card-body,.editorial-person>div{min-width:0}.card-body a[href^="mailto:"],.editorial-person a[href^="mailto:"]{overflow-wrap:anywhere;word-break:break-word;display:inline-block;max-width:100%}@media(max-width:900px){.timeline-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.timeline-grid{grid-template-columns:1fr}}
