/*
Theme Name: GRU International Blog
Theme URI: https://gruih.com/
Author: GRU International
Description: GeneratePress child theme styled to match the GRU International website.
Version: 1.0.0
Template: generatepress
Text Domain: gru-international-blog
*/

:root {
	--gru-red: #b02024;
	--gru-red-dark: #8f171d;
	--gru-ink: #222222;
	--gru-muted: #777078;
	--gru-line: #eee5e5;
	--gru-soft: #fff8f8;
	--gru-width: 1180px;
}

html { scroll-behavior: smooth; }
body {
	background: #fff;
	color: var(--gru-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.75;
}
a { color: var(--gru-red); }
a:hover, a:focus { color: var(--gru-red-dark); }

/* Branded top navigation */
.site-header { display: none !important; }
.gru-site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	width: 100%;
	background: rgba(255,255,255,.97);
	border-bottom: 1px solid rgba(34,34,34,.07);
	box-shadow: 0 3px 16px rgba(30,20,20,.045);
	backdrop-filter: blur(12px);
}
.gru-header-inner {
	width: min(var(--gru-width), calc(100% - 48px));
	min-height: 86px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 34px;
}
.gru-brand, .gru-footer-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.gru-brand img { display: block; width: 180px; height: auto; }
.gru-primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 2.2vw, 34px); }
.gru-primary-nav a {
	color: #303030;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.gru-primary-nav a:hover, .gru-primary-nav a:focus, .gru-primary-nav .gru-nav-current { color: var(--gru-red); }
.gru-primary-nav .gru-nav-cta {
	padding: 12px 20px;
	border: 1px solid var(--gru-red);
	border-radius: 999px;
	color: #fff;
	background: var(--gru-red);
}
.gru-primary-nav .gru-nav-cta:hover, .gru-primary-nav .gru-nav-cta:focus { color: #fff; background: var(--gru-red-dark); border-color: var(--gru-red-dark); }
.gru-menu-toggle { display: none; }

/* Main blog and article layout */
.site-content { padding-top: 0; padding-bottom: 80px; }
.content-area { width: 100%; }
.inside-article, .comments-area, .page-header, .paging-navigation { border: 0; }
.inside-article { padding: 0; background: transparent; }
.site-main { width: min(var(--gru-width), calc(100% - 48px)); margin: 0 auto; }
.page-header { margin: 0 0 34px; padding: 54px 0 25px; }
.page-header .page-title, .entry-title { color: var(--gru-ink); font-weight: 750; letter-spacing: -.045em; line-height: 1.16; }
.page-header .page-title { margin: 0; font-size: clamp(34px, 5vw, 54px); }
.page-header .taxonomy-description { max-width: 700px; margin-top: 12px; color: var(--gru-muted); }
.site-main > article { margin: 0 0 32px; padding: 0 0 30px; border-bottom: 1px solid var(--gru-line); }
.post-image, .featured-image { margin-bottom: 0; }
.post-image img, .featured-image img { width: 100%; height: auto; border-radius: 14px; }
.entry-header { margin-bottom: 14px; }
.entry-title { font-size: clamp(27px, 3.4vw, 42px); }
.entry-title a { color: inherit; text-decoration: none; }
.entry-title a:hover { color: var(--gru-red); }
.entry-meta, .entry-meta a, .cat-links a, .tags-links a { color: var(--gru-muted); font-size: 13px; }
.entry-summary, .entry-content { color: #4d4b4b; }
.entry-summary p, .entry-content p { margin-bottom: 1.25em; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--gru-ink); font-weight: 750; letter-spacing: -.025em; line-height: 1.25; margin-top: 1.6em; }
.entry-content h2 { font-size: clamp(26px, 3vw, 36px); }
.entry-content h3 { font-size: clamp(22px, 2.5vw, 28px); }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { border-left: 4px solid var(--gru-red); background: var(--gru-soft); padding: 18px 22px; color: #55494a; }
.entry-content a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content .wp-block-button__link, .button, button, input[type="button"], input[type="submit"] { background: var(--gru-red); border-radius: 999px; }
.entry-content .wp-block-button__link:hover, .button:hover, button:hover, input[type="button"]:hover, input[type="submit"]:hover { background: var(--gru-red-dark); }
.pagination, .paging-navigation { margin-top: 35px; }
.nav-links .page-numbers, .nav-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; margin: 3px; padding: 7px 12px; border: 1px solid var(--gru-line); border-radius: 50px; color: var(--gru-red); text-decoration: none; }
.nav-links .current, .nav-links a:hover { color: #fff; background: var(--gru-red); border-color: var(--gru-red); }
.comments-area { margin-top: 45px; padding: 28px; border: 1px solid var(--gru-line); border-radius: 14px; }
.sidebar .widget { margin-bottom: 25px; padding: 24px; border: 1px solid var(--gru-line); border-radius: 14px; }
.sidebar .widget-title { color: var(--gru-ink); font-size: 20px; font-weight: 750; }
.sidebar a { text-decoration: none; }

/* Site-wide booking callout and footer */
.gru-footer-cta { background: var(--gru-red); color: #fff; }
.gru-footer-cta-inner { width: min(var(--gru-width), calc(100% - 48px)); margin: 0 auto; padding: 48px 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.gru-footer-cta .gru-eyebrow { color: rgba(255,255,255,.76); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; }
.gru-footer-cta h2 { margin: 8px 0; color: #fff; font-size: clamp(27px, 3vw, 38px); font-weight: 750; letter-spacing: -.035em; }
.gru-footer-cta p { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; }
.gru-footer-cta-inner > a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; padding: 13px 22px; border: 1px solid #fff; border-radius: 999px; color: var(--gru-red); background: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.gru-footer-cta-inner > a:hover { color: #fff; background: transparent; }
.gru-custom-footer { background: #171717; color: #fff; }
.gru-footer-main { width: min(var(--gru-width), calc(100% - 48px)); margin: 0 auto; padding: 44px 0 30px; }
.gru-footer-brand img { width: 176px; height: auto; padding: 7px; border-radius: 5px; background: #fff; }
.gru-footer-main > p { margin: 15px 0 22px; color: #c9c4c4; font-size: 14px; }
.gru-footer-links { display: flex; flex-wrap: wrap; gap: 12px 25px; }
.gru-footer-links a { color: #e4dede; font-size: 13px; text-decoration: none; }
.gru-footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.gru-footer-bottom { width: min(var(--gru-width), calc(100% - 48px)); margin: 0 auto; padding: 17px 0 20px; display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid rgba(255,255,255,.15); color: #aaa; font-size: 12px; }
.site-footer { background: #171717; }
.site-footer .inside-site-info, .site-footer .footer-widgets { display: none !important; }

@media (max-width: 860px) {
	.gru-header-inner { min-height: 74px; width: calc(100% - 36px); }
	.gru-brand img { width: 158px; }
	.gru-menu-toggle { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--gru-line); border-radius: 50%; color: var(--gru-ink); background: #fff; cursor: pointer; }
	.gru-menu-icon { display: flex; flex-direction: column; gap: 4px; }
	.gru-menu-icon i { display: block; width: 18px; height: 2px; background: currentColor; }
	.gru-primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 9px 18px 17px; border-bottom: 1px solid var(--gru-line); background: #fff; box-shadow: 0 12px 18px rgba(30,20,20,.07); }
	.gru-primary-nav.is-open { display: flex; flex-direction: column; }
	.gru-primary-nav a { padding: 13px 5px; }
	.gru-primary-nav .gru-nav-cta { margin-top: 7px; padding: 12px 16px; text-align: center; }
	.site-main, .gru-footer-cta-inner, .gru-footer-main, .gru-footer-bottom { width: calc(100% - 36px); }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.site-content { padding-bottom: 52px; }
	.page-header { padding: 37px 0 18px; margin-bottom: 22px; }
	.site-main > article { margin-bottom: 24px; padding-bottom: 23px; }
	.entry-title { font-size: 29px; }
	.gru-footer-cta-inner { padding: 35px 0; align-items: flex-start; flex-direction: column; }
	.gru-footer-cta-inner > a { align-self: flex-start; }
	.gru-footer-main { padding-top: 35px; }
	.gru-footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
