/*
Theme Name:   OpportunityHub
Theme URI:    https://studentopportunities.online/
Description:  Child theme of Twenty Twenty-Five for OpportunityHub. Design tokens live in theme.json (spec Section 15).
Author:       HexaDecals (OpportunityHub)
Template:     twentytwentyfive
Version:      0.1.0
Requires at least: 6.7
Requires PHP: 8.1
License:      GNU General Public License v2 or later
Text Domain:  opportunityhub
*/

/* Header */
.oh-header { border-bottom: 1px solid var(--wp--preset--color--border); }
.oh-header .wp-block-site-title a { text-decoration: none; color: var(--wp--preset--color--ink); }
.oh-header .wp-block-site-title a span { color: var(--wp--preset--color--primary); }
.oh-header .wp-block-navigation a { text-decoration: none; }
.oh-header .wp-block-navigation a:hover { text-decoration: underline; }
.oh-header .wp-block-navigation__submenu-container { border: 1px solid var(--wp--preset--color--border) !important; border-radius: 8px; padding: .25rem 0; }
.oh-header .wp-block-navigation .wp-block-navigation-item__content { padding-block: .5rem; }
@media (max-width: 599px) { .oh-header .oh-fit-btn { display: none; } }

/* Visible focus everywhere (spec 15.5) */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }

/* Hero */
.oh-hero { background: var(--wp--preset--color--surface-alt); border-bottom: 1px solid var(--wp--preset--color--border); }
.oh-hero p.oh-hero__lead { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--ink-muted); max-width: 46rem; }

/* Trust points */
.oh-points { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .oh-points { grid-template-columns: repeat(3, 1fr); } }
.oh-points li { padding: 1rem; border: 1px solid var(--wp--preset--color--border); border-radius: 12px; }

/* Guide article */
.oh-answer { background: var(--wp--preset--color--primary-soft); border-left: 4px solid var(--wp--preset--color--primary); padding: 1rem 1.25rem; border-radius: 0 8px 8px 0; }
.oh-author-box { border: 1px solid var(--wp--preset--color--border); border-radius: 12px; padding: 1rem 1.25rem; }
.oh-post-meta { color: var(--wp--preset--color--ink-muted); font-size: var(--wp--preset--font-size--small); }
.entry-content > * + h2 { margin-top: 2.5rem; }

/* Footer */
.oh-footer { border-top: 1px solid var(--wp--preset--color--border); background: var(--wp--preset--color--surface-alt); }
.oh-footer ul { list-style: none; padding: 0; margin: 0; }
.oh-footer li { margin: .35rem 0; }
.oh-footer a { color: var(--wp--preset--color--ink); text-decoration: none; }
.oh-footer a:hover { text-decoration: underline; color: var(--wp--preset--color--primary); }
.oh-footer h2 { font-size: var(--wp--preset--font-size--small); text-transform: uppercase; letter-spacing: .06em; color: var(--wp--preset--color--ink-muted); margin: 0 0 .5rem; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* Hero content aligns left with its heading */
.oh-hero > * { margin-left: 0 !important; }
.oh-hero { padding-left: var(--wp--preset--spacing--50) !important; padding-right: var(--wp--preset--spacing--50) !important; border-radius: 12px; border: 1px solid var(--wp--preset--color--border); }
