/* आज का राशिफल: /rashifal and the twelve sign pages. Mobile first, no animation, no web fonts of its own. */

.rashifal-page .rf-hero h1 { font-size: clamp(1.5rem, 4.6vw, 2.15rem); line-height: 1.3; color: #6a2313; margin: .35rem 0 .6rem; }
.rashifal-page .rf-hero p { font-size: 1.04rem; line-height: 1.75; color: #3f382f; }

.rf-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .82rem; font-weight: 700; line-height: 1.6; background: #f4ecdf; color: #6a2313; }
.rf-tone-favourable .rf-badge { background: #e5f3ea; color: #1d6b3d; }
.rf-tone-mixed .rf-badge { background: #fff3dc; color: #8a5300; }
.rf-tone-caution .rf-badge { background: #fbe9e4; color: #9b2c16; }

.rf-verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; }

/* Twelve sign cards: two columns on phones, three on tablets, four on desktop. */
.rf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 26px; }
@media (min-width: 700px) { .rf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1040px) { .rf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rf-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 12px; border: 1px solid #efe3cd; border-radius: 14px; background: #fffdf8; color: #3f382f; text-decoration: none; }
.rf-card:hover, .rf-card:focus-visible { border-color: #d9b98a; background: #fffaf0; }
.rf-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.rf-card-head strong { font-size: 1.18rem; color: #6a2313; }
h3.rf-card-head { display: block; margin: 0; font-size: 1.12rem; line-height: 1.35; color: #6a2313; }
h3.rf-card-head small { display: block; font-size: .76rem; font-weight: 600; color: #7a6a58; }
.rf-grid-title { margin: 22px 0 0; font-size: 1.25rem; color: #6a2313; }
.rf-card-head small { font-size: .78rem; color: #7a6a58; }
.rf-card .rf-badge { align-self: flex-start; }
.rf-card-moon { font-size: .86rem; font-weight: 600; color: #5d5348; }
.rf-card-text { font-size: .93rem; line-height: 1.6; }
.rf-card-more { margin-top: auto; font-size: .88rem; font-weight: 700; color: #b04a0a; }
/* Phones: the day's summary stays visible (it is the reason to open the hub), held to four lines. */
@media (max-width: 420px) { .rf-card { padding: 11px 10px; } .rf-card-text { font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; } }

/* Reading */
.rf-reading { display: grid; gap: 12px; margin: 18px 0; }
.rf-topic { padding: 14px 16px; border: 1px solid #efe3cd; border-radius: 14px; background: #fff; }
.rf-topic h2 { margin: 0 0 6px; font-size: 1.15rem; color: #6a2313; }
.rf-topic p { margin: 0; font-size: 1.04rem; line-height: 1.8; color: #2f2a24; }
.rf-topic-summary { background: #fffaf0; border-color: #ead7b4; }

/* Facts, tables and notes */
.rf-sky, .rf-transits { margin: 22px 0; }
.rf-sky h2, .rf-transits h2, .rf-moon h2, .rf-how h2, .rf-method h2, .rf-personal h2, .rf-faq h2, .rf-prep h2 { font-size: 1.2rem; color: #6a2313; margin: 0 0 10px; }
.rf-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px; margin: 0 0 10px; }
.rf-facts > div { padding: 10px 12px; border: 1px solid #efe3cd; border-radius: 12px; background: #fffdf8; }
.rf-facts dt { font-size: .82rem; color: #7a6a58; }
.rf-facts dd { margin: 2px 0 0; font-weight: 700; color: #3f382f; line-height: 1.6; }
.rf-facts small, .rf-table small, .rf-signals small { font-weight: 400; color: #6f6356; }
.rf-nak-note, .rf-small { font-size: .95rem; line-height: 1.7; color: #4b4239; }
.rf-ingress { margin: 8px 0; padding-left: 1.2em; line-height: 1.7; }
.rf-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rf-table { width: 100%; border-collapse: collapse; font-size: .97rem; background: #fff; }
.rf-table caption { text-align: left; font-size: .85rem; color: #7a6a58; padding-bottom: 4px; }
.rf-table th, .rf-table td { padding: 8px 10px; border-bottom: 1px solid #f0e6d4; text-align: left; vertical-align: top; }
.rf-table thead th { background: #f8f0e2; color: #6a2313; font-size: .88rem; }
.rf-state-good td:last-child { color: #1d6b3d; font-weight: 600; }
.rf-state-bad td:last-child { color: #9b2c16; }
.rf-state-blocked td:last-child { color: #8a5300; }
.rf-signals { margin: 0; padding-left: 1.1em; line-height: 1.8; }

/* FAQ */
.rf-faq { margin: 24px 0; }
.rf-faq details { border: 1px solid #efe3cd; border-radius: 12px; background: #fff; margin-bottom: 8px; }
.rf-faq summary { cursor: pointer; padding: 12px 14px; font-weight: 700; color: #3f382f; line-height: 1.5; min-height: 44px; }
.rf-faq details p { margin: 0; padding: 0 14px 12px; line-height: 1.75; }

/* Navigation */
.rf-links, .rf-prevnext, .rf-signnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.rf-links a, .rf-prevnext a, .rf-signnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid #e3cfa9; border-radius: 10px; background: #fffaf0; color: #6a2313; font-weight: 700; text-decoration: none; }
.rf-prevnext { justify-content: space-between; }
.rf-signnav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 700px) { .rf-signnav { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.rf-signnav a { justify-content: center; }
.rf-signnav a[aria-current="page"] { background: #6a2313; color: #fff; border-color: #6a2313; }

/* Admin preview banner (never on the public pages). */
.rf-preview-banner { margin: 12px 0; padding: 10px 14px; border-radius: 10px; background: #1f2a44; color: #fff; font-weight: 700; }

/* "आज के ग्रह गोचर का आधार": secondary, collapsible technical basis (server-rendered). */
.rf-basis { margin: 18px 0; }
.rf-basis details { margin-top: 8px; }
.rf-basis summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; color: #6a2313; }
.rf-basis .rf-signals { margin-top: 8px; font-size: .97rem; }

/* नामाक्षर: hub card line and the sign page's syllable chips (static, server-rendered, no script). */
.rf-card-akshar { font-size: .86rem; line-height: 1.5; color: #8a5300; font-weight: 600; overflow-wrap: anywhere; }
.rf-akshar { margin: 14px 0 6px; padding: 12px 14px; border: 1px solid #efe3cd; border-radius: 14px; background: #fffdf8; }
.rf-akshar h2 { margin: 0 0 8px; font-size: 1.1rem; color: #6a2313; }
.rf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
.rf-chips li { min-width: 40px; padding: 5px 10px; border: 1px solid #e3cfa9; border-radius: 999px; background: #fffaf0; color: #6a2313; font-size: 1.05rem; font-weight: 700; text-align: center; line-height: 1.4; }

/* Sign-page H1 holds two lines of height: with the fallback font it wraps to two, with Mukta it fits on one. Reserving
   the space keeps everything below it (the नामाक्षर box, the reading) from jumping when the web font arrives.
   The central theme zeroes title min-height with !important, hence the specific selector. */
html body.public-site.rashifal-sign-page .site-main .rf-sign-hero h1 { min-height: 2.4em !important; display: flex; flex-direction: column; justify-content: center; }
/* The note breaks at the sentence on wide screens so each half fits one line in either font; phones wrap naturally. */
@media (max-width: 640px) { .rf-akshar .rf-br-wide { display: none; } }

/* Day's reading as key points: the four topic sections (their H2s unchanged) read as a bulleted list, then शुभ संकेत. */
.rf-points { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid #efe3cd; border-radius: 14px; background: #fff; }
/* The site theme sets main h2/p sizes with !important under html#kl-fresh-root … body#page-top; the same prefix lets
   these few values win inside the key points and the lucky box. */
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main .rf-points-label { margin: 0 0 2px !important; font-size: 1.15rem !important; font-weight: 800 !important; color: #6a2313 !important; }
.rf-points .rf-topic { position: relative; padding: 0 0 0 20px; border: 0; border-radius: 0; background: none; }
.rf-points .rf-topic::before { content: ""; position: absolute; left: 4px; top: .8em; width: 7px; height: 7px; border-radius: 50%; background: #c2560a; }
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main .rf-points .rf-topic h2 { display: inline; margin: 0 !important; font-size: 1.04rem !important; line-height: 1.8 !important; color: #2f2a24 !important; font-weight: 800 !important; }
.rf-points .rf-topic h2::after { content: ":"; }
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main .rf-points .rf-topic p { display: inline; margin: 0 0 0 4px !important; font-size: 1.04rem !important; }
.rf-lucky { margin: 0 0 18px; padding: 14px 16px; border: 1px solid #ead7b4; border-radius: 14px; background: #fffaf0; }
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main .rf-lucky h2 { margin: 0 0 8px !important; font-size: 1.15rem !important; color: #6a2313 !important; }
.rf-lucky-list { margin: 0 0 8px; padding: 0 0 0 20px; font-size: 1.04rem; line-height: 1.8; color: #2f2a24; }
.rf-lucky-list li { margin: 0 0 6px; }
.rf-lchips { display: inline-flex; flex-wrap: wrap; gap: 6px; vertical-align: middle; }
.rf-lchip { display: inline-block; min-width: 28px; padding: 1px 10px; border: 1px solid #e3cfa9; border-radius: 999px; background: #fff; color: #6a2313; font-weight: 700; text-align: center; line-height: 1.7; }
.rf-lnone { color: #6b6152; font-style: italic; }

/* Rashi icons: original line-art sprite (_icons.blade.php, currentColor), static — no animation, no glow. */
.rf-hero-mark, .rf-card-ico { display: grid; place-items: center; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffdf3, #ffe7a3); box-shadow: inset 0 0 0 1.5px #f2b01e; color: #6a2313; }
.rf-mark-svg { display: block; width: 70%; height: 70%; }
.rf-hero-mark { width: 60px; height: 60px; margin: 0 auto 8px; }
.rf-hero-mark-sign { width: 76px; height: 76px; }
@media (min-width: 760px) { .rf-hero-mark { width: 68px; height: 68px; } .rf-hero-mark-sign { width: 88px; height: 88px; } }
/* Hub cards: the icon beside the heading and tone badge; everything below runs the full width. */
.rf-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto auto auto auto 1fr auto; column-gap: 10px; row-gap: 6px; }
.rf-card > * { grid-column: 1 / -1; }
.rf-card > .rf-card-ico { grid-column: 1; grid-row: 1 / span 2; width: 46px; height: 46px; align-self: start; }
.rf-card > .rf-card-head, .rf-card > .rf-badge { grid-column: 2; }
.rf-card > .rf-badge { justify-self: start; align-self: start; }
.rf-card > .rf-card-more { align-self: end; }
.rf-card:hover .rf-card-ico, .rf-card:focus-visible .rf-card-ico { box-shadow: inset 0 0 0 2px #e2690d; }
@media (max-width: 420px) { .rf-card { grid-template-columns: 38px minmax(0, 1fr); column-gap: 8px; } .rf-card > .rf-card-ico { width: 38px; height: 38px; } }
/* Key points: a small subject icon in place of the dot. */
.rf-points .rf-topic { padding-left: 32px; }
.rf-points .rf-topic::before { content: none; }
.rf-topic-ico { position: absolute; left: 0; top: .18em; width: 24px; height: 24px; color: #c2560a; }
.rf-lucky-ico { float: left; width: 26px; height: 26px; margin: 1px 8px 0 0; color: #d08a00; }
/* 12-rashi navigation: icon and name. */
.rf-signnav a { gap: 6px; }
.rf-nav-ico { width: 22px; height: 22px; flex: none; }
/* The theme styles every span in a hero like the kicker pill; the mark is a fixed-size circle regardless. */
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main .rf-hero > .rf-hero-mark { display: grid !important; width: 60px !important; height: 60px !important; min-width: 0 !important; max-width: none !important; margin: 0 auto 8px !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: radial-gradient(circle at 35% 30%, #fffdf3, #ffe7a3) !important; box-shadow: inset 0 0 0 1.5px #f2b01e !important; color: #6a2313 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main .rf-hero > .rf-hero-mark-sign { width: 76px !important; height: 76px !important; }
@media (min-width: 760px) {
  :is(html#kl-fresh-root, html) body#page-top.public-site main.site-main .rf-hero > .rf-hero-mark { width: 68px !important; height: 68px !important; }
  :is(html#kl-fresh-root, html) body#page-top.public-site main.site-main .rf-hero > .rf-hero-mark-sign { width: 88px !important; height: 88px !important; }
}
/* Current rashi in the 12-rashi navigation: white on maroon (the theme's link colour used to win, leaving dark text). */
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main .rf-signnav a[aria-current="page"] { color: #fff !important; background: #6a2313 !important; border-color: #6a2313 !important; }
/* Hub mark: the menu's राशिफल icon, in the menu's saffron. */
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main .rf-hero > .rf-hero-mark-hub { color: #e2690d !important; }
.rf-hero-mark-hub .rf-mark-svg { width: 62%; height: 62%; }
/* Rashi introduction: the sign's fixed attributes as a compact two-column list. */
.rf-intro { margin: 18px 0; padding: 14px 16px; border: 1px solid #efe3cd; border-radius: 14px; background: #fffdf8; }
.rf-intro-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 8px 0 12px; }
@media (max-width: 560px) { .rf-intro-list { grid-template-columns: 1fr; } }
.rf-intro-list > div { display: flex; gap: 8px; padding: 8px 10px; border-radius: 10px; background: #fffaf0; }
.rf-intro-list dt { flex: none; min-width: 84px; font-weight: 700; color: #6a2313; }
.rf-intro-list dd { margin: 0; color: #3f382f; }
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main .rf-intro p a { color: #b04a0a !important; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
/* आज | कल selector: two equal links at the top of every sign page; the selected day is filled. */
.rf-daytabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 12px; }
.rf-daytabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 6px 10px; border: 1.5px solid #e3cfa9; border-radius: 12px; background: #fffaf0; text-align: center; text-decoration: none; line-height: 1.3; }
.rf-daytabs a strong { font-size: 1rem; }
.rf-daytabs a small { font-size: .82rem; font-weight: 600; }
.rf-daytabs a:focus-visible { outline: 3px solid #c2560a; outline-offset: 2px; }
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main .rf-daytabs a { color: #6a2313 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main .rf-daytabs a small { color: #7a6a58 !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main .rf-daytabs a[aria-current="page"] { background: #6a2313 !important; border-color: #6a2313 !important; color: #fff !important; }
:is(html#kl-fresh-root, html) body#page-top.public-site main.site-main .rf-daytabs a[aria-current="page"] small { color: #ffe7a3 !important; }
