/*
Theme Name: Skull&Hooks Neon Blog
Theme URI: https://skullandhooks.ca
Author: skull&hooks
Author URI: https://skullandhooks.ca
Description: A clean, vibrant, blog-first WordPress theme created for Skull&Hooks.
Version: 2.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: skullandhooks-neon
Tags: blog, custom-logo, custom-menu, featured-images, wide-blocks, accessibility-ready
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --turquoise: #63f2e6; --black: #000000; --pink: #eb0583; --white: #ffffff;
  --orange: #f76a18; --purple: #70179d; --lime: #cfe612; --yellow: #fcf40b;
  --content: 1180px; --reading: 760px; --border: 3px solid var(--black); --shadow: 7px 7px 0 var(--black);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--black); font-family: Roboto, Arial, sans-serif; font-size: 17px; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--purple); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--pink); }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 4px solid var(--turquoise); outline-offset: 4px; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute; white-space: nowrap; }
.screen-reader-text:focus { clip: auto; clip-path: none; width: auto; height: auto; top: 8px; left: 8px; padding: .65rem 1rem; background: var(--white); color: var(--black); z-index: 1000; }
.site-shell { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; }

.announcement { background: var(--yellow); border-bottom: var(--border); padding: .55rem 1rem; text-align: center; font-weight: 900; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.site-header { background: var(--white); border-bottom: var(--border); }
.masthead { min-height: 145px; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.brand { display: flex; flex-direction: column; align-items: center; color: var(--black); text-decoration: none; }
.brand img, .brand .custom-logo { width: 106px; height: 106px; object-fit: contain; }
.brand-name { display: none; }
.nav-bar { border-top: var(--border); }
.nav-inner { min-height: 58px; display: flex; align-items: center; justify-content: center; position: relative; }
.site-nav ul { display: flex; align-items: center; justify-content: center; gap: 3rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--black); font-size: .95rem; font-weight: 900; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--pink); }
.site-nav .shop-link > a, .site-nav li:nth-child(2) > a { color: var(--pink); }
.menu-toggle { display: none; border: 2px solid var(--black); background: var(--turquoise); color: var(--black); padding: .5rem .9rem; font-weight: 900; text-transform: uppercase; }

.blog-intro { padding: 3.4rem 0 2rem; text-align: center; }
.blog-intro h1, .page-title, .entry-title, .section-title { margin: 0; font-weight: 900; line-height: 1.02; letter-spacing: -.045em; }
.blog-intro h1 { font-size: clamp(3rem,8vw,6.4rem); text-transform: lowercase; }
.blog-intro h1 span { color: var(--pink); }
.blog-intro p { max-width: 610px; margin: .8rem auto 0; font-size: 1.08rem; }
.featured-wrap { padding: 1.2rem 0 5rem; }
.featured-post { display: grid; grid-template-columns: 1.15fr .85fr; border: var(--border); background: var(--turquoise); box-shadow: var(--shadow); }
.featured-image { min-height: 430px; background: var(--purple); overflow: hidden; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; }
.featured-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem,5vw,4rem); }
.label { display: inline-block; align-self: flex-start; background: var(--yellow); border: 2px solid var(--black); padding: .35rem .65rem; font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.featured-copy h2 { margin: 1rem 0 .75rem; font-size: clamp(2rem,4vw,3.7rem); line-height: 1.04; letter-spacing: -.04em; }
.featured-copy h2 a { color: var(--black); text-decoration: none; }
.post-meta { color: #332d35; font-size: .8rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.button, input[type="submit"], .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; align-self: flex-start; background: var(--pink); color: var(--white); border: 2px solid var(--black); border-radius: 0; box-shadow: 4px 4px 0 var(--black); padding: .65rem 1.1rem; font-weight: 900; text-decoration: none; text-transform: uppercase; transition: transform .15s, box-shadow .15s; }
.button:hover, input[type="submit"]:hover, .wp-block-button__link:hover { color: var(--white); transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--black); }
.button.alt { background: var(--turquoise); color: var(--black); }
.featured-copy .button { margin-top: 1rem; }
.recent-section { padding: 0 0 6rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.8rem; padding-bottom: .8rem; border-bottom: var(--border); }
.section-title { font-size: clamp(2.4rem,5vw,4.5rem); }
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.7rem; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: var(--border); box-shadow: 5px 5px 0 var(--black); }
.post-card:nth-child(3n+1) { border-top: 12px solid var(--pink); }
.post-card:nth-child(3n+2) { border-top: 12px solid var(--orange); }
.post-card:nth-child(3n+3) { border-top: 12px solid var(--purple); }
.post-card-image { display: block; aspect-ratio: 4/3; background: var(--turquoise); overflow: hidden; border-bottom: var(--border); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.post-card:hover .post-card-image img { transform: scale(1.025); }
.post-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.3rem; }
.post-card h3 { margin: .55rem 0 .6rem; font-size: 1.45rem; line-height: 1.15; }
.post-card h3 a { color: var(--black); text-decoration: none; }
.post-card p { margin: 0 0 1rem; }
.read-more { margin-top: auto; color: var(--pink); font-weight: 900; text-transform: uppercase; }
.colour-strip { display: grid; grid-template-columns: repeat(6,1fr); height: 16px; }
.colour-strip span:nth-child(1) { background: var(--turquoise); } .colour-strip span:nth-child(2) { background: var(--pink); }
.colour-strip span:nth-child(3) { background: var(--orange); } .colour-strip span:nth-child(4) { background: var(--purple); }
.colour-strip span:nth-child(5) { background: var(--lime); } .colour-strip span:nth-child(6) { background: var(--yellow); }

.content-wrap { width: min(calc(100% - 2rem), var(--content)); margin-inline: auto; padding: clamp(3rem,7vw,6rem) 0; }
.archive-header { max-width: 850px; margin-bottom: 2.5rem; }
.page-title { font-size: clamp(3rem,8vw,6.8rem); }
.entry { max-width: var(--reading); margin-inline: auto; }
.entry-header { margin-bottom: 2rem; }
.entry-title { font-size: clamp(2.8rem,7vw,5.5rem); }
.entry-featured { margin: 0 0 2.2rem; border: var(--border); box-shadow: var(--shadow); }
.entry-content > * { margin-block: 0 1.35rem; }
.entry-content > .alignwide { width: min(1100px,calc(100vw - 2rem)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content > .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.entry-content h2, .entry-content h3 { line-height: 1.16; margin-top: 2rem; }
.entry-content blockquote { margin-inline: 0; border-left: 8px solid var(--pink); background: var(--yellow); padding: 1rem 1.3rem; font-size: 1.2rem; font-weight: 700; }
.entry-footer { margin-top: 2.5rem; padding-top: 1rem; border-top: var(--border); }
.pagination, .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-top: 3rem; }
.page-numbers { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: .4rem .7rem; border: 2px solid var(--black); color: var(--black); font-weight: 900; text-decoration: none; }
.page-numbers.current { background: var(--pink); color: var(--white); }
.search-form { display: flex; gap: .6rem; max-width: 640px; }
.search-field, input[type="text"], input[type="email"], input[type="url"], textarea { width: 100%; padding: .75rem .9rem; border: 2px solid var(--black); border-radius: 0; background: var(--white); color: var(--black); }
.search-submit { min-height: 48px; border: 2px solid var(--black); background: var(--yellow); padding: .55rem 1rem; font-weight: 900; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.contact-note { background: var(--turquoise); border: var(--border); box-shadow: var(--shadow); padding: 1.5rem; }
.contact-note h2 { margin-top: 0; font-size: 2rem; }

.site-footer { background: var(--black); color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding: 3.5rem 0; }
.footer-logo { width: 90px; background: var(--white); }
.footer-main h2 { color: var(--turquoise); font-size: .92rem; letter-spacing: .09em; text-transform: uppercase; }
.footer-main ul { list-style: none; margin: 0; padding: 0; }
.footer-main a { color: var(--white); }
.social-links { display: flex; gap: .65rem; flex-wrap: wrap; }
.social-links a { padding: .42rem .7rem; border: 2px solid var(--white); text-decoration: none; font-weight: 900; }
.footer-bottom { padding: 1rem 0 1.5rem; border-top: 1px solid #555; color: #d8d8d8; font-size: .82rem; }

@media (max-width: 880px) {
  .masthead { min-height: 92px; justify-content: flex-start; padding-inline: 0; }
  .brand { flex-direction: row; gap: .75rem; }
  .brand img, .brand .custom-logo { width: 70px; height: 70px; }
  .brand-name { display: block; font-weight: 900; font-size: 1.5rem; letter-spacing: -.04em; }
  .nav-bar { margin-top: -95px; border-top: 0; height: 95px; pointer-events: none; }
  .nav-inner { height: 95px; justify-content: flex-end; pointer-events: auto; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 95px; left: -1rem; right: -1rem; background: var(--white); border-block: var(--border); padding: .5rem 1rem 1rem; z-index: 20; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--black); }
  .featured-post { grid-template-columns: 1fr; }
  .featured-image { min-height: 340px; }
  .post-grid { grid-template-columns: repeat(2,1fr); }
  .contact-layout, .footer-main { grid-template-columns: 1fr; }
}
@media (max-width: 590px) {
  body { font-size: 16px; }
  .announcement { font-size: .72rem; }
  .blog-intro { padding-top: 2.5rem; }
  .blog-intro h1 { font-size: 3.8rem; }
  .featured-image { min-height: 260px; }
  .featured-copy { padding: 1.5rem; }
  .post-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .search-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
