/*
Theme Name:        PatRunning
Theme URI:         https://patrunning.com
Author:            PatRunning (fork of Pixwell 11.5 by Theme-Ruby)
Description:       Theme of patrunning.com, forked from Pixwell 11.5 and trimmed to what the site uses (HANDOFF §19/§28). No vendor updates: maintained in github.com/patrunningclub/patrunning-site.
Requires at least: 6.6
Requires PHP:      8.1
Version:           1.1.0
Text Domain:       patrunning
License:           GNU General Public License v2 or later (PHP code, as Pixwell's PHP); see LICENSE-NOTES.md for assets
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
*/

/* patrunning additions (HANDOFF §28) */
.pr-event-archive .pr-events--archive { width: 100%; }
.pr-event-archive .pagination-wrap { margin-top: 30px; }
.pr-event-single .single-cat-info .cat-info-el { margin-right: 8px; }

/* P2 ข้อ 10: keep the 7 menu items on one row (Pixwell wraps to two at 1200px) */
@media (min-width: 1025px) {
	.main-menu > li > a { padding: 0 10px; font-size: 15px; }
	.main-menu > li > a > .menu-text-wrap, .main-menu > li > a { letter-spacing: 0; }
}
.pr-archive-intro { margin: 8px 0 0; font-size: .95em; color: #4b5563; }

/* Old-layout header (posts + pages without a new layout) in the colours of the new header (header-next.php, pr.css):
   dark ink #032a2b on the turquoise bar (white on #00c8c8 is ~1.9:1), Kanit 600 logo, pill hover. Dark mode keeps the light ink. */
@font-face { font-family: "Kanit"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/kanit-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
body:not([data-theme="dark"]) .navbar-wrap:not(.transparent-navbar-wrap),
body:not([data-theme="dark"]) #mobile-sticky-nav { color: #032a2b; }
body:not([data-theme="dark"]) .header-wrap .logo-title a,
body:not([data-theme="dark"]) .header-wrap .main-menu > li > a,
body:not([data-theme="dark"]) .header-wrap .navbar-right,
body:not([data-theme="dark"]) .header-wrap .m-nav-right,
body:not([data-theme="dark"]) .header-wrap .search-icon,
body:not([data-theme="dark"]) .header-wrap .dark-mode-toggle { color: #032a2b; }
body:not([data-theme="dark"]) .header-wrap .icon-toggle,
body:not([data-theme="dark"]) .header-wrap .icon-toggle::before,
body:not([data-theme="dark"]) .header-wrap .icon-toggle::after { background-color: #032a2b; }
.header-wrap .is-logo-text .logo-title { font-family: "Kanit", "Jost", sans-serif; font-weight: 600; font-size: 21.6px; letter-spacing: .02em; }
.header-wrap .is-logo-text .logo-title a { color: inherit; }
@media (max-width: 1024px) { .header-wrap .is-logo-text .logo-title { font-size: 18px; letter-spacing: 0; } }
@media (min-width: 1025px) {
	.header-wrap .main-menu > li > a { font-weight: 500; padding: 0 2px; }
	.header-wrap .main-menu > li > a > span { padding: 7px 8px; border-radius: 999px; transition: background-color .15s; }
	.header-wrap .main-menu > li > a:hover,
	.header-wrap .main-menu > li.current-menu-item > a { color: inherit; }
	.header-wrap .main-menu > li > a:hover > span,
	.header-wrap .main-menu > li.current-menu-item > a > span,
	.header-wrap .main-menu > li.current-menu-ancestor > a > span { background: rgb(3 42 43 / .1); }
	[data-theme="dark"] .header-wrap .main-menu > li > a:hover > span,
	[data-theme="dark"] .header-wrap .main-menu > li.current-menu-item > a > span { background: rgb(230 238 238 / .12); }
}
