/*
Theme Name: JJ Speaker
Theme URI: https://example.com
Author: Joshua Jones
Description: Single-page speaker site for Joshua Jones — keynotes on AI and higher education. Block theme.
Version: 1.0.2
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jj-speaker
*/

/* Header overlays the hero on the front page only */
.home .jj-header{position:absolute;top:0;left:0;right:0;z-index:20;background:transparent !important}
.jj-header .wp-block-site-title a{text-decoration:none}
.jj-header .wp-block-navigation a{text-decoration:none}
.jj-header .jj-nav-cta a{border:1.5px solid rgba(255,255,255,.7);padding:.55em 1.1em;border-radius:4px}

/* Hero */
.jj-hero .wp-block-cover__inner-container{max-width:900px;margin-left:0}
.jj-hero h1{text-wrap:pretty}

/* Press strip */
.jj-press{filter:grayscale(1);opacity:.82;align-items:center}
.jj-press figure{display:flex;align-items:center;justify-content:center;height:42px;margin:0}
.jj-press img{display:block;width:100% !important;max-width:126px !important;height:34px !important;object-fit:contain}

/* Eyebrow label */
.jj-eyebrow{font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;font-weight:600}

/* Stats */
.jj-stat-number{font-family:var(--wp--preset--font-family--serif);font-size:2.25rem;font-weight:600;line-height:1;color:var(--wp--preset--color--navy)}

/* Topic cards */
.jj-card{border:1px solid var(--wp--preset--color--line);border-radius:6px}

/* Gallery */
.jj-gallery img{border-radius:6px;object-fit:cover;width:100%;height:100%}

/* Article cards */
.jj-articles .wp-block-post-featured-image img{border-radius:6px;aspect-ratio:16/10;object-fit:cover}
.jj-articles .wp-block-post-title a{text-decoration:none;color:inherit}

/* Contact form — styles whatever form plugin you drop in */
.jj-form-wrap{background:var(--wp--preset--color--base);border:1px solid var(--wp--preset--color--line);border-radius:8px;padding:2.25rem}
.jj-form-wrap label{display:block;font-size:.875rem;font-weight:600;margin-bottom:.375rem}
.jj-form-wrap input:not([type=submit]):not([type=checkbox]):not([type=radio]),.jj-form-wrap select,.jj-form-wrap textarea{width:100%;border:1px solid #cfd3d6;border-radius:4px;padding:.75rem;font:inherit;font-size:1rem;background:#fff;margin-bottom:1rem}
.jj-form-wrap input[type=submit],.jj-form-wrap button{background:var(--wp--preset--color--navy);color:#fff;border:0;font:inherit;font-weight:600;font-size:1rem;padding:.875rem 1.5rem;border-radius:4px;cursor:pointer;width:100%}
.jj-form-wrap input[type=submit]:hover,.jj-form-wrap button:hover{background:var(--wp--preset--color--blue)}
.jj-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}
.jj-honeypot{position:absolute !important;left:-10000px !important;width:1px !important;height:1px !important;overflow:hidden !important}
.jj-form-notice{margin:0 0 1rem;padding:.75rem 1rem;border-radius:4px}
.jj-form-success{background:#edf7f0;color:#1e6037}
.jj-form-error{background:#fff1f0;color:#8a2424}

/* Smooth anchor scrolling */
html{scroll-behavior:smooth}
@media (max-width:781px){.jj-hero{min-height:80vh !important}.jj-hero h1{font-size:2.25rem !important}.home .jj-header{position:relative;background:var(--wp--preset--color--navy) !important}.jj-form-grid{grid-template-columns:1fr}.jj-press{grid-template-columns:repeat(2,minmax(0,1fr)) !important;column-gap:24px !important;row-gap:14px !important}.jj-press figure{height:44px}.jj-press img{max-width:140px !important;height:38px !important}}

.jj-articles h3 a{text-decoration:none;color:inherit}
.jj-logo-card{display:flex;align-items:center;justify-content:center;min-height:72px}
.jj-logo-card img{display:block;width:200px !important;height:60px !important;max-width:100% !important;object-fit:contain}
