/*
Theme Name: RummyCrew
Theme URI: https://rummycrew.com/
Author: RummyCrew
Description: A content-first rummy and Teen Patti app directory theme with editable App listings.
Version: 1.0.19
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rummycrew
*/

:root {
  --rc-ink: #173b32;
  --rc-ink-2: #234e42;
  --rc-green: #0f6b4d;
  --rc-mint: #e9f7ef;
  --rc-lime: #b7e35d;
  --rc-orange: #f28b35;
  --rc-cream: #fbfaf6;
  --rc-line: #dfe8e2;
  --rc-muted: #64746d;
  --rc-shadow: 0 16px 40px rgba(23, 59, 50, .09);
  --rc-radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--rc-ink);
  background: var(--rc-cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--rc-green); text-decoration: none; }
a:hover { color: var(--rc-orange); }
img { max-width: 100%; height: auto; }
.rc-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.rc-site-header { position: relative; z-index: 20; background: var(--rc-ink); color: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.rc-header-inner { min-height: 88px; display: flex; align-items: center; gap: 32px; }
.rc-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-weight: 800; letter-spacing: -.02em; font-size: 1.14rem; }
.rc-brand:hover { color: var(--rc-lime); }
.rc-brand img { width: 60px; height: 60px; object-fit: cover; border-radius: 16px; background: #fff; }
.rc-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.rc-site-header .rc-nav ul.menu { display: flex !important; flex-direction: row !important; align-items: center; gap: 24px; width: auto; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.rc-site-header .rc-nav ul.menu > li { display: block !important; width: auto; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.rc-site-header .rc-nav ul.menu > li::before,
.rc-site-header .rc-nav ul.menu > li::after { display: none !important; content: none !important; }
.rc-nav a { color: rgba(255,255,255,.84); font-size: .92rem; font-weight: 600; }
.rc-nav a:hover, .rc-nav .current-menu-item > a { color: var(--rc-lime); }
.rc-search { display: flex; align-items: center; gap: 7px; margin-left: 4px; }
.rc-search input { width: 150px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.09); color: #fff; border-radius: 999px; padding: 8px 13px; font: inherit; font-size: .82rem; }
.rc-search input::placeholder { color: rgba(255,255,255,.55); }
.rc-search button, .rc-button { border: 0; cursor: pointer; border-radius: 999px; padding: 11px 19px; background: var(--rc-orange); color: #fff; font: inherit; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.rc-search button { padding: 8px 13px; background: var(--rc-lime); color: var(--rc-ink); font-size: .8rem; }
.rc-button:hover { color: #fff; background: #de7424; transform: translateY(-2px); box-shadow: 0 9px 18px rgba(242,139,53,.22); }
.rc-button--secondary { background: var(--rc-ink); }
.single-app svg, .single-app svg[aria-hidden="true"], .single-app .rc-article svg, .single-app a[data-download] svg { display: inline-block; flex: 0 0 16px; width: 16px !important; height: 16px !important; max-width: 16px !important; max-height: 16px !important; vertical-align: -0.18em; }
.rc-menu-toggle { display: none; margin-left: auto; border: 1px solid rgba(255,255,255,.28); color: #fff; background: transparent; border-radius: 8px; padding: 8px 10px; font-size: 1.15rem; }

.rc-hero { padding: 78px 0 64px; background: radial-gradient(circle at 82% 15%, rgba(183,227,93,.21), transparent 31%), linear-gradient(130deg, var(--rc-mint), #f7f7ed 70%); }
.rc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 52px; align-items: center; }
.rc-eyebrow { margin: 0 0 14px; color: var(--rc-green); font-size: .77rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.rc-hero h1 { max-width: 760px; margin: 0; color: var(--rc-ink); font-size: clamp(2.35rem, 6vw, 4.5rem); line-height: 1.04; letter-spacing: -.055em; }
.rc-hero p { max-width: 640px; margin: 22px 0 0; color: var(--rc-muted); font-size: 1.08rem; }
.rc-hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.rc-trust-panel { padding: 26px; border: 1px solid rgba(15,107,77,.15); border-radius: 24px; background: rgba(255,255,255,.72); box-shadow: var(--rc-shadow); }
.rc-trust-panel h3 { margin: 0 0 16px; font-size: 1.05rem; }
.rc-trust-panel p { margin: 0 0 16px; font-size: .9rem; }
.rc-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.rc-stat { padding: 12px 10px; border-radius: 13px; background: var(--rc-ink); color: #fff; text-align: center; }
.rc-stat strong { display: block; color: var(--rc-lime); font-size: 1.25rem; line-height: 1.1; }
.rc-stat span { display: block; margin-top: 3px; color: rgba(255,255,255,.75); font-size: .66rem; }

.rc-section { padding: 68px 0; }
.rc-section--soft { background: #f0f6f0; }
.rc-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.rc-section-heading h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.45rem); letter-spacing: -.035em; line-height: 1.14; }
.rc-section-heading p { max-width: 580px; margin: 8px 0 0; color: var(--rc-muted); }
.rc-section-link { font-weight: 800; white-space: nowrap; }
.rc-app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rc-app-card { position: relative; display: flex; flex-direction: column; min-height: 100%; padding: 20px; border: 1px solid var(--rc-line); border-radius: var(--rc-radius); background: #fff; box-shadow: 0 8px 22px rgba(23,59,50,.04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.rc-app-card:hover { transform: translateY(-4px); border-color: rgba(15,107,77,.4); box-shadow: var(--rc-shadow); }
.rc-app-card-top { display: flex; align-items: center; gap: 14px; }
.rc-app-icon { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 17px; object-fit: cover; background: var(--rc-mint); box-shadow: 0 4px 10px rgba(23,59,50,.12); }
.rc-app-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.22; }
.rc-app-meta { margin-top: 4px; color: var(--rc-muted); font-size: .78rem; }
.rc-app-excerpt { display: -webkit-box; margin: 16px 0 18px; overflow: hidden; color: var(--rc-muted); font-size: .88rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.rc-app-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid #edf2ee; }
.rc-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; background: var(--rc-mint); color: var(--rc-green); font-size: .7rem; font-weight: 800; }
.rc-card-link { font-size: .82rem; font-weight: 900; }

.rc-page-hero { padding: 52px 0 40px; background: var(--rc-mint); border-bottom: 1px solid var(--rc-line); }
.rc-page-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.045em; line-height: 1.1; }
.rc-page-hero p { max-width: 760px; margin: 13px 0 0; color: var(--rc-muted); }
.rc-breadcrumbs { margin-bottom: 12px; color: var(--rc-green); font-size: .78rem; font-weight: 800; }
.rc-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: start; gap: 28px; }
.rc-article { padding: 34px; border: 1px solid var(--rc-line); border-radius: 22px; background: #fff; box-shadow: 0 8px 24px rgba(23,59,50,.04); }
.rc-article h2 { margin-top: 2.2em; color: var(--rc-ink); font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.2; letter-spacing: -.025em; }
.rc-article h3 { margin-top: 1.8em; color: var(--rc-ink-2); font-size: 1.22rem; }
.rc-article p, .rc-article li { color: #42564e; }
.rc-article img { border-radius: 14px; }
.rc-article table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .93rem; }
.rc-article th, .rc-article td { padding: 12px 14px; border: 1px solid var(--rc-line); text-align: left; vertical-align: top; }
.rc-article th { background: var(--rc-mint); color: var(--rc-ink); }
.rc-article blockquote { margin: 1.5em 0; padding: 1px 20px; border-left: 4px solid var(--rc-orange); background: #fff7ef; }
.rc-imported-home-content { max-width: 820px; margin-right: auto; margin-left: auto; }
.rc-imported-home-content > h2 { text-align: center; }
.rc-imported-home-content .wp-block-kadence-accordion { max-width: 760px; margin: 28px auto 0; }
.rc-imported-home-content .kt-accordion-pane { margin: 10px 0; overflow: hidden; border: 1px solid var(--rc-line); border-radius: 13px; background: #fff; }
.rc-imported-home-content .kt-accordion-header-wrap button { display: block !important; width: 100% !important; padding: 15px 18px !important; border: 0 !important; background: var(--rc-mint) !important; color: var(--rc-ink) !important; text-align: left !important; font: inherit; font-weight: 800; cursor: pointer; }
.rc-imported-home-content .kt-accordion-header-wrap button:hover { background: #dff1df !important; box-shadow: none !important; }
.rc-imported-home-content .kt-accordion-title { display: block; padding-right: 24px; }
.rc-imported-home-content .kt-accordion-panel,
.rc-imported-home-content .kt-accordion-panel-hidden { display: block; padding: 0 18px 14px; }
.rc-imported-home-content .kt-accordion-panel p { margin-bottom: 0; }
.rc-sidebar { position: sticky; top: 104px; display: grid; gap: 16px; }
.rc-sidebar-card { padding: 20px; border: 1px solid var(--rc-line); border-radius: 18px; background: #fff; }
.rc-sidebar-card h3 { margin: 0 0 12px; font-size: 1rem; }
.rc-sidebar-card ul { margin: 0; padding-left: 18px; color: var(--rc-muted); font-size: .86rem; }

.rc-app-hero { padding: 58px 0; background: linear-gradient(135deg, var(--rc-mint), #fff); }
.rc-app-hero-grid { display: grid; grid-template-columns: 100px minmax(0, 1fr) 220px; align-items: center; gap: 24px; }
.rc-app-hero-icon { width: 100px; height: 100px; border-radius: 26px; object-fit: cover; box-shadow: var(--rc-shadow); }
.rc-app-hero h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.045em; line-height: 1.05; }
.rc-app-hero .rc-excerpt { max-width: 680px; margin: 10px 0 0; color: var(--rc-muted); }
.rc-app-hero-cta { text-align: right; }
.rc-app-hero-cta small { display: block; margin-top: 8px; color: var(--rc-muted); font-size: .72rem; }
.rc-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 28px 0; }
.rc-info-item { padding: 14px; border: 1px solid var(--rc-line); border-radius: 14px; background: #fff; }
.rc-info-item span { display: block; color: var(--rc-muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.rc-info-item strong { display: block; margin-top: 2px; font-size: .93rem; }
.rc-notice { margin: 0 0 26px; padding: 14px 17px; border-left: 4px solid var(--rc-orange); border-radius: 10px; background: #fff4e9; color: #6f4c2e; font-size: .88rem; }
.rc-related { padding: 54px 0 72px; }

.rc-footer { padding: 45px 0 26px; background: var(--rc-ink); color: rgba(255,255,255,.7); }
.rc-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.rc-footer h3 { margin: 0 0 11px; color: #fff; font-size: .96rem; }
.rc-footer p, .rc-footer li { margin: 0; font-size: .8rem; }
.rc-footer ul { margin: 0; padding: 0; list-style: none; }
.rc-footer li + li { margin-top: 5px; }
.rc-footer a { color: rgba(255,255,255,.72); }
.rc-footer a:hover { color: var(--rc-lime); }
.rc-footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 34px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.12); font-size: .73rem; }
.rc-empty { padding: 50px 20px; border: 1px dashed var(--rc-line); border-radius: var(--rc-radius); background: #fff; text-align: center; color: var(--rc-muted); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .rc-header-inner { gap: 15px; }
  .rc-menu-toggle { display: block; }
  .rc-nav { position: absolute; display: none; left: 20px; right: 20px; top: 72px; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border-radius: 14px; background: var(--rc-ink); box-shadow: var(--rc-shadow); }
  .rc-nav.is-open { display: flex; }
  .rc-site-header .rc-nav ul.menu { display: flex !important; flex-direction: column !important; align-items: stretch; gap: 0; width: 100%; margin: 0 !important; padding: 0 !important; }
  .rc-site-header .rc-nav ul.menu > li { width: 100%; }
  .rc-nav a { display: block; padding: 9px 10px; }
  .rc-search { margin: 5px 0 0; }
  .rc-search input { flex: 1; width: auto; }
  .rc-hero-grid, .rc-content-layout { grid-template-columns: 1fr; }
  .rc-trust-panel { max-width: 580px; }
  .rc-sidebar { position: static; }
  .rc-app-hero-grid { grid-template-columns: 82px minmax(0, 1fr); }
  .rc-app-hero-icon { width: 82px; height: 82px; border-radius: 20px; }
  .rc-app-hero-cta { grid-column: 1 / -1; text-align: left; }
  .rc-app-hero-cta .rc-button { display: inline-flex; }
}
@media (max-width: 680px) {
  .rc-container { width: min(100% - 28px, 1180px); }
  .rc-header-inner { min-height: 74px; }
  .rc-brand img { width: 48px; height: 48px; border-radius: 13px; }
  .rc-hero { padding: 28px 0 44px; }
  .rc-stat-row { display: none; }
  .rc-section { padding: 46px 0; }
  .rc-section-heading { display: block; }
  .rc-section-link { display: inline-block; margin-top: 10px; }
  .rc-app-grid { grid-template-columns: 1fr; }
  .rc-info-grid { grid-template-columns: repeat(2, 1fr); }
  .rc-article { padding: 21px 18px; }
  .rc-article table { display: block; overflow-x: auto; }
  .rc-footer-grid { grid-template-columns: 1fr; gap: 23px; }
  .rc-footer-bottom { display: block; }
  .rc-footer-bottom span { display: block; margin-top: 7px; }
}
