/* Jollof Rice King — kitchen buyer's-guide site, styled after the archived jollofriceking.com (GoDaddy theme). */

:root {
	--jrk-red: #fe0000;
	--jrk-red-dark: #d10000;
	--jrk-red-soft: #ff6666;
	--jrk-head: 'Raleway', Arial, sans-serif;
	--jrk-body: Helvetica, Arial, sans-serif;
	--jrk-ink: #1b1b1b;
	--jrk-text: #595959;
	--jrk-grey: #f6f6f6;
	--jrk-line: #e2e2e2;
	--jrk-page: 1200px;
}

body.jrk-site { font-family: var(--jrk-body); color: #474747; }
.jrk-site h1, .jrk-site h2, .jrk-site h3, .jrk-site h4, .jrk-site h5, .jrk-site h6 { font-family: var(--jrk-head); color: var(--jrk-ink); }
.jrk-site img { max-width: 100%; height: auto; }

/* ---------- Shared ---------- */
.jrk-wrap { max-width: var(--jrk-page); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.jrk-narrow { max-width: 760px; text-align: center; }
.jrk-section { padding: 56px 0; }
.jrk-center { text-align: center; margin: 36px 0 0; }
.jrk-empty { padding: 18px 20px; background: var(--jrk-grey); border-radius: 8px; color: var(--jrk-ink); text-align: center; margin: 0; }
.jrk-icon { width: 1em; height: 1em; flex: 0 0 auto; }

.jrk-btn, .jrk-site .wp-block-button__link, .jrk-site .wpcf7-submit, .jrk-site .post-more-link {
	display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
	min-height: 48px; padding: 0 34px; border-radius: 48px; border: 0;
	background: var(--jrk-red); color: #fff !important; font-family: var(--jrk-body); font-size: 14px; font-weight: 700;
	letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; text-decoration: none !important; cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}
.jrk-btn:hover, .jrk-site .wp-block-button__link:hover, .jrk-site .wpcf7-submit:hover, .jrk-site .post-more-link:hover { background: var(--jrk-red-dark); transform: translateY(-1px); }

/* Section heading with red lines on both sides. */
.jrk-heading { display: flex; align-items: center; gap: 22px; margin: 0 0 36px; font-family: var(--jrk-head) !important; font-size: clamp(25px, 2.6vw, 32px); font-weight: 700 !important; color: var(--jrk-red) !important; text-align: center; line-height: 1.25; }
.jrk-heading::before, .jrk-heading::after { content: ""; flex: 1 1 0; height: 2px; background: var(--jrk-red-soft); opacity: .6; }
.jrk-heading span { flex: 0 1 auto; }

/* ---------- Header ---------- */
.jrk-site #masthead { box-shadow: 0 1px 0 var(--jrk-line); }
.jrk-site .site-branding .site-title { font-family: var(--jrk-head) !important; font-weight: 700; color: var(--jrk-red) !important; letter-spacing: .01em; margin: 0; }
.jrk-site .site-branding .site-title a { color: var(--jrk-red) !important; text-decoration: none; }
.jrk-site .site-branding .site-description { display: none; }
.jrk-site .main-navigation .primary-menu-container > ul > li.menu-item > a { font-family: var(--jrk-body); }
.jrk-site .main-navigation .primary-menu-container > ul > li.current-menu-item > a,
.jrk-site .main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a { color: var(--jrk-red); font-weight: 700; }
.jrk-site .site-header button.search-toggle-open, .jrk-site .site-header button.menu-toggle-open, .jrk-site .site-header button.drawer-toggle { background: transparent !important; box-shadow: none !important; }
.jrk-site #search-drawer .drawer-inner { background: rgba(255,255,255,.98); }
.jrk-site #search-drawer .drawer-inner, .jrk-site #search-drawer .drawer-inner .drawer-header button { color: var(--jrk-ink); }
.jrk-site #search-drawer .drawer-content input.search-field { color: var(--jrk-ink); border-color: var(--jrk-line); border-radius: 48px; }
.jrk-site #mobile-drawer .mobile-navigation ul li a { font-family: var(--jrk-body); }

/* ---------- Home: full-width page with no extra spacing ---------- */
.jrk-site.home .content-area, .jrk-site.home .site-main { margin: 0; }
.jrk-site.home .entry-content-wrap { padding: 0; }
.jrk-site.home .entry-content > * { margin-top: 0; margin-bottom: 0; max-width: none; }
.jrk-site .entry-content .jrk-section p { margin-top: 0; }

/* ---------- Hero (full-width food photo, like the original) ---------- */
.jrk-hero { line-height: 0; background: #2a0b0b; }
.jrk-hero img { display: block; width: 100%; height: clamp(260px, 38vw, 560px) !important; object-fit: cover; object-position: center 45%; }

/* ---------- Welcome ---------- */
.jrk-welcome { padding-top: 48px; }
.jrk-welcome__title { font-family: var(--jrk-head) !important; font-size: clamp(26px, 2.6vw, 34px) !important; font-weight: 500 !important; color: var(--jrk-ink); margin: 0 0 18px; line-height: 1.3; }
.jrk-welcome__text { font-size: 17px; line-height: 1.75; color: var(--jrk-text); margin: 0 auto 26px !important; }

/* ---------- Kitchen categories ---------- */
.jrk-cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.jrk-cat-grid li { margin: 0; padding: 0; }
.jrk-cat { display: flex; flex-direction: column; align-items: center; height: 100%; box-sizing: border-box; padding: 30px 22px 26px; background: #fff; border: 1px solid var(--jrk-line); border-radius: 12px; text-align: center; text-decoration: none !important; color: var(--jrk-text); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.jrk-cat:hover { border-color: var(--jrk-red); box-shadow: 0 10px 24px rgba(254,0,0,.08); transform: translateY(-3px); }
.jrk-cat__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: #fff0f0; color: var(--jrk-red); font-size: 34px; margin-bottom: 16px; transition: background .2s ease, color .2s ease; }
.jrk-cat:hover .jrk-cat__icon { background: var(--jrk-red); color: #fff; }
.jrk-cat__name { font-family: var(--jrk-head); font-weight: 700; font-size: 18px; color: var(--jrk-ink); line-height: 1.3; margin-bottom: 8px; }
.jrk-cat__desc { font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.jrk-cat__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--jrk-red); }
.jrk-cat__more .jrk-icon { font-size: 16px; transition: transform .2s ease; }
.jrk-cat:hover .jrk-cat__more .jrk-icon { transform: translateX(3px); }

/* ---------- Latest buying guides ---------- */
.jrk-latest { background: var(--jrk-grey); }
.jrk-card-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.jrk-card { margin: 0; display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.05); transition: box-shadow .2s ease, transform .2s ease; }
.jrk-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,.09); transform: translateY(-3px); }
.jrk-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #fff0f0; }
.jrk-card__media img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .5s ease; }
.jrk-card:hover .jrk-card__media img { transform: scale(1.04); }
.jrk-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--jrk-red); font-size: 64px; }
.jrk-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.jrk-card__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--jrk-red); margin-bottom: 8px; }
.jrk-card__title { font-family: var(--jrk-head) !important; font-size: 19px !important; font-weight: 700 !important; line-height: 1.35 !important; margin: 0 0 10px !important; }
.jrk-card__title a { color: var(--jrk-ink); text-decoration: none; }
.jrk-card__title a:hover { color: var(--jrk-red); }
.jrk-card__excerpt { font-size: 15px; line-height: 1.65; color: var(--jrk-text); margin: 0 0 16px !important; }
.jrk-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--jrk-red); text-decoration: none; }
.jrk-card__more .jrk-icon { font-size: 16px; transition: transform .2s ease; }
.jrk-card__more:hover .jrk-icon { transform: translateX(3px); }

/* ---------- Why trust us ---------- */
.jrk-feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; text-align: center; }
.jrk-feature { margin: 0; }
.jrk-feature__icon { display: inline-flex; color: var(--jrk-red); font-size: 46px; margin-bottom: 12px; }
.jrk-feature__title { font-family: var(--jrk-head) !important; font-size: 20px !important; font-weight: 700 !important; margin: 0 0 10px !important; }
.jrk-feature__text { font-size: 15px; line-height: 1.7; color: var(--jrk-text); margin: 0 !important; }

/* ---------- Get in touch ---------- */
.jrk-cta { padding-top: 20px; padding-bottom: 72px; }
.jrk-cta__title { font-family: var(--jrk-head) !important; font-size: clamp(25px, 2.4vw, 30px) !important; font-weight: 500 !important; margin: 0 0 14px; }
.jrk-cta__text { color: var(--jrk-text); line-height: 1.7; margin: 0 auto 24px !important; }

/* ---------- Footer (light grey, centred) ---------- */
.jrk-footer { background: var(--jrk-grey); color: var(--jrk-text); text-align: center; padding: 44px 0 30px; margin-top: 0; }
.jrk-social { list-style: none; display: flex; justify-content: center; gap: 6px; margin: 0 0 18px; padding: 0; }
.jrk-social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; transition: transform .15s ease; }
.jrk-social a:hover { transform: scale(1.12); }
.jrk-social svg { width: 20px; height: 20px; }
.jrk-footer__name { font-weight: 700; color: var(--jrk-ink); margin: 0 0 4px !important; font-size: 16px; }
.jrk-footer__tag { margin: 0 0 18px !important; font-size: 15px; }
.jrk-footer__links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0 0 22px; padding: 0; }
.jrk-footer__links a { color: var(--jrk-ink); font-size: 14px; text-decoration: none; }
.jrk-footer__links a:hover { color: var(--jrk-red); text-decoration: underline; }
.jrk-footer__copy { font-size: 14px; margin: 0 !important; padding-top: 20px; border-top: 1px solid var(--jrk-line); }

/* ---------- Pages + contact form ---------- */
.jrk-site .entry-header { text-align: center; }
.jrk-site .page .entry-title, .jrk-site h1.entry-title, .jrk-site h1.page-title { font-weight: 600; }
.jrk-site .entry-content input[type="text"], .jrk-site .entry-content input[type="email"], .jrk-site .entry-content input[type="tel"], .jrk-site .entry-content input[type="url"], .jrk-site .entry-content textarea {
	width: 100%; border: 1px solid #dadada; border-radius: 4px; padding: 12px 14px; font-family: var(--jrk-body); font-size: 15px; background: #fff; box-shadow: none;
}
.jrk-site .entry-content input:focus, .jrk-site .entry-content textarea:focus { border-color: var(--jrk-red); outline: none; box-shadow: 0 0 0 3px rgba(254,0,0,.1); }
.jrk-site .wpcf7 label { display: block; color: var(--jrk-ink); font-size: 14px; }

/* ---------- Single post (buyer's guides) ---------- */
.jrk-site.single-post .entry-header .entry-title { font-size: clamp(29px, 3.2vw, 40px); line-height: 1.25; }
.jrk-site .entry-header .title-entry-excerpt { font-size: 18px; color: var(--jrk-text); }
.jrk-site .single-content { font-size: 17px; line-height: 1.8; }
.jrk-site .single-content h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.6em; }
.jrk-site .single-content h3 { font-size: 21px; margin-top: 1.3em; }
.jrk-site .single-content a { color: var(--jrk-red); text-decoration: underline; text-underline-offset: .2rem; }
.jrk-site .single-content a:hover { color: var(--jrk-red-dark); }
.jrk-site .single-content ul li::marker, .jrk-site .single-content ol li::marker { color: var(--jrk-red); }
.jrk-site .single-content .wp-block-table { overflow-x: auto; }
.jrk-site .single-content .wp-block-table table { border-collapse: collapse; width: 100%; font-size: 15px; }
.jrk-site .single-content .wp-block-table th { background: var(--jrk-red); color: #fff; font-family: var(--jrk-head); font-weight: 700; text-align: left; padding: 12px 14px; border: 1px solid var(--jrk-red); }
.jrk-site .single-content .wp-block-table td { padding: 11px 14px; border: 1px solid var(--jrk-line); }
.jrk-site .single-content .wp-block-table tbody tr:nth-child(even) td { background: var(--jrk-grey); }
.jrk-site .single-content blockquote { border-left: 4px solid var(--jrk-red); background: #fff6f6; padding: 16px 20px; margin-left: 0; }
.jrk-postmeta { text-align: center; margin: 0 0 28px; font-size: 14px; }
.jrk-crumbs { color: var(--jrk-text); }
.jrk-crumbs a { color: var(--jrk-red) !important; text-decoration: none !important; }
.jrk-crumbs a:hover { text-decoration: underline !important; }
.jrk-crumbs span { margin: 0 4px; opacity: .5; }
.jrk-byline { margin: 6px 0 0 !important; color: var(--jrk-text); }
.jrk-byline span { margin: 0 6px; }
.jrk-disclosure { margin: 14px auto 0 !important; padding: 10px 16px; background: var(--jrk-grey); border-radius: 6px; font-size: 13px; line-height: 1.6; max-width: 680px; }
.jrk-site .entry-related { background: var(--jrk-grey); }

/* ---------- Blog category / archives ---------- */
.jrk-site.archive .archive-title, .jrk-site.search .archive-title { font-weight: 700; }
.jrk-site .archive-description { color: var(--jrk-text); max-width: 760px; margin-left: auto; margin-right: auto; }
.jrk-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.jrk-pills a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border: 1px solid #dadada; border-radius: 40px; color: var(--jrk-ink); font-size: 13px; text-decoration: none; background: #fff; }
.jrk-pills a:hover, .jrk-pills a.is-active { background: var(--jrk-red); border-color: var(--jrk-red); color: #fff; }
.jrk-site .loop-entry { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.jrk-site .loop-entry .entry-content-wrap { padding: 20px 22px 24px; display: flex; flex-direction: column; }
.jrk-site .loop-entry .entry-taxonomies { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.jrk-site .loop-entry .entry-taxonomies a { color: var(--jrk-red); }
.jrk-site .loop-entry .entry-title { font-size: 19px; line-height: 1.35; }
.jrk-site .loop-entry .entry-title a { color: var(--jrk-ink); }
.jrk-site .loop-entry .entry-title a:hover { color: var(--jrk-red); }
.jrk-site .loop-entry .entry-summary { font-size: 15px; line-height: 1.65; color: var(--jrk-text); }
.jrk-site .loop-entry .post-more-link { min-height: 40px; padding: 0 22px; font-size: 13px; }
.jrk-site .pagination .page-numbers { border-radius: 40px; }
.jrk-site .pagination .page-numbers.current { background: var(--jrk-red); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.jrk-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jrk-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.jrk-section { padding: 40px 0; }
	.jrk-wrap { padding: 0 18px; }
	.jrk-heading { gap: 12px; }
	.jrk-cat-grid { gap: 12px; }
	.jrk-cat { padding: 22px 12px 20px; }
	.jrk-cat__icon { width: 58px; height: 58px; font-size: 28px; }
	.jrk-cat__name { font-size: 16px; }
	.jrk-cat__desc { display: none; }
	.jrk-card-grid, .jrk-feature-grid { grid-template-columns: 1fr; }
	.jrk-site .single-content { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.jrk-cat, .jrk-card, .jrk-card__media img, .jrk-btn, .jrk-icon { transition: none !important; }
}
