/*
Theme Name: IT Hub
Theme URI: https://it-hub.net
Description: Child theme of Twenty Twenty-Five matching the IT Hub website. Colors, fonts, header and footer live here so WordPress and parent-theme updates never overwrite them.
Author: IT Hub LLC
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: ithub
*/

/* Base */
body { margin: 0; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--wp--preset--font-family--heading); font-weight: 600; }
a { color: var(--wp--preset--color--accent-700); }
a:hover { color: var(--wp--preset--color--cta); }

/* Header */
.ithub-header { position: sticky; top: 0; z-index: 20; width: 100%; }
.ithub-topbar { background: var(--wp--preset--color--accent-900); color: #fff; }
.ithub-topbar-inner { max-width: 1200px; margin: 0 auto; padding: 6px 24px; display: flex; justify-content: flex-end; font-family: var(--wp--preset--font-family--body); font-size: 13px; }
.ithub-topbar-inner a { color: #fff; text-decoration: none; opacity: .85; }
.ithub-nav { background: #fff; border-bottom: 1px solid var(--wp--preset--color--divider); }
.ithub-nav-inner { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); }
.ithub-logo img { height: 34px; width: auto; display: block; }
.ithub-links { display: flex; align-items: center; gap: 20px; flex: 1; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 15px; }
.ithub-links a { text-decoration: none; color: var(--wp--preset--color--text); }
.ithub-links a.is-active, .ithub-links a:hover { color: var(--wp--preset--color--accent-700); }
.ithub-btn { text-decoration: none; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 14px; padding: 10px 22px; border-radius: 8px; flex: none; color: #fff; }
.ithub-btn-blue { background: var(--wp--preset--color--accent); font-weight: 500; }
.ithub-btn-red { background: var(--wp--preset--color--cta); border: 1px solid var(--wp--preset--color--cta); }
.ithub-menu { display: none; }

@media (max-width: 1060px) {
  .ithub-links, .ithub-btn-blue { display: none; }
  .ithub-menu { display: block; margin-left: auto; }
  .ithub-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--wp--preset--color--divider); border-radius: 8px; }
  .ithub-menu summary::-webkit-details-marker { display: none; }
  .ithub-menu summary span { display: block; width: 20px; height: 2px; background: var(--wp--preset--color--text); }
  .ithub-menu-panel { position: absolute; left: 0; right: 0; background: #fff; border-top: 1px solid var(--wp--preset--color--divider); border-bottom: 1px solid var(--wp--preset--color--divider); padding: 8px 24px 16px; display: flex; flex-direction: column; font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 16px; }
  .ithub-menu-panel a { text-decoration: none; color: var(--wp--preset--color--text); padding: 12px 0; border-bottom: 1px solid var(--wp--preset--color--divider); }
  .ithub-menu-panel a:last-child { border-bottom: none; color: var(--wp--preset--color--accent-700); }
}

/* Footer */
.ithub-footer { background: var(--wp--preset--color--accent-900); color: #fff; font-family: var(--wp--preset--font-family--body); }
.ithub-footer-grid { max-width: 1200px; margin: 0 auto; padding: 56px 24px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.ithub-footer-brand { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 20px; margin-bottom: 12px; }
.ithub-footer p { font-size: 14px; line-height: 1.6; opacity: .75; max-width: 280px; margin: 0 0 16px; }
.ithub-footer-kicker { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin-bottom: 14px; }
.ithub-footer-list { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ithub-footer a { color: #fff; text-decoration: none; opacity: .85; }
.ithub-footer-cities { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; }
.ithub-footer-cities span { opacity: .4; }
.ithub-footer-rule { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ithub-footer-rule div { height: 1px; background: rgba(255,255,255,.15); }
.ithub-footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; opacity: .6; }

/* Blog content polish */
.wp-block-post-title a { text-decoration: none; }
.entry-content img, .wp-block-image img { border-radius: 12px; }
.wp-block-button__link { border-radius: 8px; font-family: var(--wp--preset--font-family--heading); font-weight: 600; }
