/*
Theme Name: RWX Kitchen
Theme URI: https://restaurantwebx.com/
Description: Restaurant Web X — home-cooking blog: recipes, cooking tips, kitchen gear, drinks and food travel. Child theme of Twenty Twenty-Five.
Author: JK Web Service
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: rwx-kitchen
*/

/* Ad containers: reserve space so ads don't shift the layout */
.rwx-ad { text-align: center; overflow: hidden; }
.rwx-ad--leaderboard { min-height: 90px; max-width: 970px; margin-left: auto; margin-right: auto; }
.rwx-ad--rect { min-height: 250px; }
.rwx-ad--infeed { min-height: 120px; }
.rwx-ad-label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin: 0 0 4px; text-align: center; }

/* Full-width bars keep side padding */
.rwx-header, .rwx-footer { padding-left: clamp(16px, 4vw, 64px) !important; padding-right: clamp(16px, 4vw, 64px) !important; }
.rwx-tagline { font-family: var(--wp--preset--font-family--fraunces); font-style: italic; font-weight: 600; font-size: 18px; margin: 0; }

/* Pill navigation */
.rwx-nav a { text-decoration: none; padding: 8px 13px; border-radius: 999px; display: inline-block; }
.rwx-nav a:hover, .rwx-nav a:focus { background: var(--wp--preset--color--tint); color: var(--wp--preset--color--accent); }
.rwx-search .wp-block-search__button { background: transparent !important; color: var(--wp--preset--color--ink) !important; border: 0 !important; padding: 8px !important; }
.rwx-search .wp-block-search__button:hover { color: var(--wp--preset--color--accent) !important; }

/* Headlines */
.wp-block-post-title a { text-decoration: none; }
.wp-block-post-title a:hover { color: var(--wp--preset--color--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Kicker (category label) */
.rwx-kicker, .rwx-chip-cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.rwx-kicker a { color: var(--wp--preset--color--olive); text-decoration: none; }
.rwx-kicker .wp-block-post-terms__separator { color: var(--wp--preset--color--muted); }

/* Cards */
.rwx-card { border-radius: 20px; overflow: hidden; height: 100%; }
.rwx-card .wp-block-post-featured-image { margin: 0; }
.rwx-card .wp-block-post-featured-image img { border-radius: 0 !important; }
.rwx-card-body { padding: 18px 22px 22px; }
.rwx-card--lead .rwx-card-body { padding: 24px 28px 28px; }
.rwx-card .wp-block-post-title { margin: 0; }
.rwx-tile .wp-block-post-title { margin: 0; }
.rwx-tile .wp-block-post-featured-image img { border-radius: 16px; }

/* Mood chips */
.rwx-chip { margin: 0; }
.rwx-chip a { display: inline-block; background: var(--wp--preset--color--tint); color: var(--wp--preset--color--ink); font-weight: 700; padding: 11px 20px; border-radius: 999px; text-decoration: none; }
.rwx-chip a:hover { background: #e6d3bb; }
.rwx-chip--on a { background: var(--wp--preset--color--accent); color: #fff; }
.rwx-chip--on a:hover { background: #7a3317; }

/* Write-for-us band */
.rwx-write p { margin: 0; }
.rwx-write-btn a { display: inline-block; background: var(--wp--preset--color--ground); color: var(--wp--preset--color--ink) !important; font-weight: 700; padding: 13px 22px; border-radius: 999px; text-decoration: none; }
.rwx-write-btn a:hover { background: #fff; }
.rwx-more { margin: 0; font-weight: 700; }
.rwx-more a { text-decoration: none; }
.rwx-more a::after { content: " \2192"; }

/* Footer */
.rwx-footer p { margin: 0; }
.rwx-footer-links a { color: var(--wp--preset--color--ink); text-decoration: none; }
.rwx-footer-links a:hover { color: var(--wp--preset--color--accent); text-decoration: underline; }

/* Article list rows (archives) */
.rwx-row .wp-block-post-featured-image, .rwx-row .rwx-noimg { flex: 0 0 200px; width: 200px; }
.rwx-row .wp-block-post-featured-image img { border-radius: 14px; }

/* Fallback when a post has no featured image */
.rwx-noimg { display: flex; align-items: flex-end; box-sizing: border-box; padding: 12px; border-radius: 14px; background-color: #ecd9c2; background-image: radial-gradient(rgba(154,66,32,.14) 1.5px, transparent 1.6px); background-size: 14px 14px; color: var(--wp--preset--color--muted); font-weight: 700; font-size: 13px; text-decoration: none; aspect-ratio: 16 / 10; }

/* Single post */
.rwx-chip-single a, .rwx-sidebar .wp-block-categories a { text-decoration: none; }
.wp-block-post-content blockquote { border-left: 3px solid var(--wp--preset--color--olive); padding-left: 18px; font-style: italic; }

/* Sticky sidebar ad */
.rwx-sticky { position: sticky; top: 24px; }

@media (max-width: 781px) {
  .rwx-row { flex-wrap: nowrap !important; }
  .rwx-row .wp-block-post-featured-image, .rwx-row .rwx-noimg { flex-basis: 110px; width: 110px; }
  .rwx-sidebar { margin-top: 32px; }
  .rwx-tagline { display: none; }
  .rwx-card--lead .wp-block-post-title { font-size: 28px !important; }
}
