/*
Theme Name: Rayandanesh Kadence Child
Theme URI: https://rayandanesh.ir
Description: Starter child theme styles for Rayandanesh, designed for Kadence and WordPress RTL.
Author: ChatGPT
Version: 1.0.0
Template: kadence
Text Domain: rayandanesh-kadence
*/

/* Rayandanesh Kadence Starter - RTL */
:root { --rd-blue:#163b68; --rd-accent:#2d76d2; --rd-cyan:#48c3d6; --rd-ink:#17263c; --rd-muted:#64748b; --rd-bg:#f5f8fc; --rd-card:#fff; }
body, .site { direction:rtl; }
body { font-family: "Vazirmatn",Tahoma,sans-serif; color:var(--rd-ink); background:#fff; }
a { text-decoration:none; }
.site-header, .site-footer { direction:rtl; }
.entry-content .rd-hero { position:relative; padding:clamp(48px,8vw,110px) clamp(20px,5vw,64px); border-radius:28px; overflow:hidden; color:#fff; background:linear-gradient(125deg,#12365f 0%,#1b548c 55%,#2d76d2 100%); margin:24px 0 44px; }
.rd-hero:after { content:""; position:absolute; width:360px;height:360px;left:-90px;top:-120px;border-radius:50%;background:rgba(72,195,214,.16); }
.rd-hero h1,.rd-hero h2,.rd-hero p { color:#fff; position:relative; z-index:1; }
.rd-hero h1 { font-size:clamp(2rem,5vw,3.6rem); line-height:1.35; max-width:850px; }
.rd-hero p { font-size:1.15rem; line-height:2; max-width:740px; color:rgba(255,255,255,.88); }
.rd-btn, .rd-btn a { display:inline-block; background:var(--rd-cyan); color:#102d4b!important; padding:13px 26px; border-radius:12px; font-weight:700; margin-top:12px; }
.rd-section { padding:28px 0 48px; }
.rd-section-title { font-size:clamp(1.5rem,3vw,2.2rem); margin-bottom:12px; color:var(--rd-blue); }
.rd-lead { color:var(--rd-muted); line-height:2; font-size:1.05rem; }
.rd-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; margin:26px 0; }
.rd-card { background:var(--rd-card); border:1px solid #e4ebf3; border-radius:18px; padding:26px; box-shadow:0 8px 28px rgba(17,50,83,.05); height:100%; transition:transform .2s,box-shadow .2s; }
.rd-card:hover { transform:translateY(-4px); box-shadow:0 14px 32px rgba(17,50,83,.1); }
.rd-card h3 { color:var(--rd-blue); margin-top:0; }
.rd-card p { line-height:1.9; color:var(--rd-muted); }
.rd-icon { font-size:2rem; margin-bottom:12px; display:block; }
.rd-band { padding:35px; border-radius:22px; background:var(--rd-bg); margin:34px 0; }
.rd-cta { padding:40px; border-radius:24px; background:linear-gradient(120deg,#163b68,#2d76d2); color:#fff; text-align:center; margin:40px 0; }
.rd-cta h2,.rd-cta p { color:#fff; }
.rd-cta p { opacity:.9; line-height:2; }
.rd-list { line-height:2.2; }
.rd-contact { background:var(--rd-bg); border-radius:18px; padding:28px; }
.rd-footer-note { font-size:.9rem; color:var(--rd-muted); }
@media(max-width:900px){.rd-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.rd-grid{grid-template-columns:1fr}.rd-hero{padding:38px 22px!important}.rd-band,.rd-cta{padding:24px}.rd-hero h1{font-size:2rem}}
