/*
Theme Name: Ravan Aram Child
Description: GeneratePress child theme with a custom responsive Persian footer.
Author: Ravan Aram
Template: generatepress
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ravan-aram-child
License: GPL-2.0-or-later
*/
#ra-footer {
  --ra-bg: url('assets/images/footer-background.webp');
  direction: rtl;
  width: 100%;
  max-width: 100%;
  padding: 20px;
  margin: 0;
  font-family: inherit;
  text-align: right;
  box-sizing: border-box;
}
#ra-footer *, #ra-footer *::before, #ra-footer *::after { box-sizing: border-box; }
#ra-footer .ra-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background-color: #102d70;
  background-image: linear-gradient(110deg, rgba(10,31,77,.94), rgba(22,66,160,.88)), var(--ra-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 14px 38px rgba(16,45,112,.12);
}
#ra-footer a { color: inherit; text-decoration: none; }
#ra-footer a:focus-visible { outline: 3px solid #a9d0ff; outline-offset: 4px; }
#ra-footer a, #ra-footer p, #ra-footer span { overflow-wrap: anywhere; }
#ra-footer .ra-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 36px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
#ra-footer .ra-top > div { min-width: 0; }
#ra-footer .ra-kicker { margin: 0 0 5px; color: #c6dcff; font-size: 13px; line-height: 1.8; }
#ra-footer .ra-title { margin: 0; color: #fff; font-size: clamp(20px,2.2vw,28px); font-weight: 700; line-height: 1.8; }
#ra-footer .ra-subtitle { margin: 6px 0 0; color: #e1eaff; font-size: 14px; line-height: 1.9; }
#ra-footer .ra-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 13px;
  background: #fff;
  color: #1749a6;
  font-size: 14px;
  font-weight: 700;
}
#ra-footer .ra-cta:hover { background: #e9f1ff; }
#ra-footer .ra-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,.65fr) minmax(0,1fr);
  gap: 40px;
  padding: 34px 36px;
}
#ra-footer .ra-grid > * { min-width: 0; }
#ra-footer .ra-brand { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
#ra-footer .ra-brand img { display: block; flex-shrink: 0; width: 90px; height: 92px; padding: 7px; object-fit: contain; background: #fff; border-radius: 20px; }
#ra-footer .ra-name { display: block; color: #fff; font-size: 23px; font-weight: 700; line-height: 1.8; }
#ra-footer .ra-tagline { display: block; color: #d2e2ff; font-size: 13px; line-height: 1.9; }
#ra-footer .ra-about { margin: 0; color: #e8efff; font-size: 14px; line-height: 2.15; }
#ra-footer .ra-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
#ra-footer .ra-social a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 11px; background: rgba(255,255,255,.07); font-size: 12px; }
#ra-footer .ra-social a:hover { background: rgba(255,255,255,.16); }
#ra-footer .ra-heading { display: flex; align-items: center; gap: 9px; margin: 3px 0 18px; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.8; }
#ra-footer .ra-heading::before { content: ''; width: 4px; height: 18px; flex-shrink: 0; border-radius: 4px; background: #9bc3ff; }
#ra-footer .ra-links { display: grid; gap: 3px; list-style: none; padding: 0; margin: 0; }
#ra-footer .ra-links li { list-style: none; padding: 0; margin: 0; }
#ra-footer .ra-links a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #e8efff; font-size: 14px; line-height: 1.9; }
#ra-footer .ra-links a::before { content: '‹'; color: #a8cbff; font-size: 23px; }
#ra-footer .ra-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
#ra-footer .ra-address { margin: 0 0 16px; color: #e8efff; font-size: 14px; font-style: normal; line-height: 2; }
#ra-footer .ra-map { overflow: hidden; border-radius: 16px; background: #e9eef7; }
#ra-footer .ra-map iframe { display: block; width: 100%; max-width: 100%; height: 200px; margin: 0; border: 0; }
#ra-footer .ra-map-note { margin: 10px 0 0; color: #d4e3ff; font-size: 12px; line-height: 1.9; }
#ra-footer .ra-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 17px 36px; border-top: 1px solid rgba(255,255,255,.16); background: rgba(3,17,44,.15); }
#ra-footer .ra-bottom p { margin: 0; color: #d0dfff; font-size: 12px; line-height: 1.9; }
@media (max-width: 900px) {
  #ra-footer .ra-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
  #ra-footer .ra-intro { grid-column: 1 / -1; }
  #ra-footer .ra-top, #ra-footer .ra-grid { padding: 26px; }
  #ra-footer .ra-bottom { padding: 17px 26px; }
}
@media (max-width: 600px) {
  #ra-footer { padding: 12px; }
  #ra-footer .ra-shell { border-radius: 22px; }
  #ra-footer .ra-top { flex-direction: column; align-items: stretch; gap: 18px; }
  #ra-footer .ra-top, #ra-footer .ra-grid { padding: 23px 20px; }
  #ra-footer .ra-cta { width: 100%; }
  #ra-footer .ra-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  #ra-footer .ra-intro { grid-column: auto; }
  #ra-footer .ra-brand img { width: 78px; height: 80px; border-radius: 17px; }
  #ra-footer .ra-name { font-size: 21px; }
  #ra-footer .ra-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px 12px; }
  #ra-footer .ra-map iframe { height: 210px; }
  #ra-footer .ra-bottom { flex-direction: column; align-items: flex-start; padding: 17px 20px; }
}
#ra-footer .ra-phone {display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-height:44px;margin:0 0 12px;font-size:14px;color:#fff;}
#ra-footer .ra-phone:hover {text-decoration:underline;text-underline-offset:4px;}
