@charset "utf-8";
/* ===================================================================
   Amman For Legal Affairs — Style Rebuild
   Modern, responsive redesign built on the existing page structure.
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Lato:wght@300;400;600;700&display=swap');

:root{
  --gold: #B8952E;
  --gold-light: #D9BB63;
  --ink: #12100D;
  --ink-soft: #1E1B17;
  --cream: #FAF7F1;
  --cream-dim: #EFEAE0;
  --text-dark: #262220;
  --text-muted: #6b6459;
  --shadow: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-soft: 0 4px 14px rgba(0,0,0,0.08);
  --radius: 10px;
  --maxw: 1140px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  padding:0;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: var(--ink);
  color: var(--text-dark);
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4, .title{
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.2px;
}

a{
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover{ color: var(--gold-light); }

img{ border:none; max-width:100%; height:auto; display:block; }

p{
  margin:0;
  padding-bottom: 14px;
  padding-top: 0;
  color: var(--text-dark);
}

.left{ float:left; }
.right{ float:right; }
.clear{ clear:both; }

#all{ width:100%; overflow:hidden; }

/* ===================== HEADER / HERO (#flash) ===================== */

#flash{
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-soft) 55%, #262019 100%);
  padding: 18px 24px;
  border-bottom: 3px solid var(--gold);
}

#flash #flash_content{
  max-width: var(--maxw);
  margin: 0 auto;
  width:100%;
}

#flash #flash_content table,
#flash #flash_content tbody,
#flash #flash_content tr{
  display:flex;
  flex-wrap: wrap;
  align-items:center;
  justify-content:space-between;
  width:100%;
  gap: 24px;
}
#flash #flash_content td{
  display:block;
  padding:0;
  vertical-align:middle;
}

.logo{ text-align:left; }
.logo img{ max-height: 92px; width:auto; }

#flash #flash_content table td:last-child{
  flex: 1 1 380px;
  min-height: 160px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(184,149,46,0.35), transparent 55%),
    radial-gradient(circle at 15% 90%, rgba(184,149,46,0.18), transparent 60%),
    linear-gradient(135deg, #1a1611 0%, #241f18 100%);
  border: 1px solid rgba(184,149,46,0.35);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
#flash object{ display:none !important; }

#flash #flash_content table td:last-child::before{
  content: "Amman For Legal Affairs";
  font-family:'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--gold-light);
  letter-spacing: 1px;
  padding: 0 20px;
}

/* ===================== NAV ===================== */

#menu{
  background: var(--ink-soft);
  border-bottom: 1px solid rgba(184,149,46,0.25);
  position: sticky;
  top:0;
  z-index: 500;
}

#ddtopmenubar.mattblackmenu{
  max-width: var(--maxw);
  margin:0 auto;
}

/* ===================== WELCOME / SECTIONS ===================== */

#content{ background: var(--cream); }

#content_site{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 24px 60px;
}

#welcome{ margin-bottom: 40px; }
#welcome table{ width:100%; }
#welcome table, #welcome tbody, #welcome tr{
  display:flex;
  flex-wrap:wrap;
  gap: 32px;
  align-items:center;
}
#welcome td{ display:block; width:auto; flex:1 1 320px; }

#welcome .title{
  font-size: clamp(28px, 3.6vw, 42px);
  color: var(--text-dark);
  margin-bottom: 16px;
  position: relative;
  display:inline-block;
}
#welcome .title::after{
  content:"";
  display:block;
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin-top: 14px;
}
#welcome .text{
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
}
#welcome img{
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

#read_more{ margin-top: 16px; float:none; display:inline-block; }
#read_more a{
  display:inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight:600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}
#read_more a:hover{ background: var(--gold); color: var(--ink); }

/* ===================== NEWS + PRACTICE AREAS GRID ===================== */

#news_services{
  background: var(--cream-dim);
  border-radius: var(--radius);
  padding: 32px;
}
#news_services table, #news_services tbody, #news_services tr{
  display:flex;
  flex-wrap:wrap;
  gap: 32px;
}
#news_services > table > tbody > tr > td{ display:block; flex: 1 1 260px; }

#latest_news{
  border-right:none;
  border-bottom: 3px solid var(--gold);
  background: #fff;
  border-radius: var(--radius);
  padding: 20px !important;
  box-shadow: var(--shadow-soft);
}
#latest_news .title{ font-size: 20px; margin-bottom: 12px; }
#latest_news .date{
  color: var(--gold);
  font-weight:700;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 0 10px 0;
}
#latest_news_group .image img{ border-radius: 6px; }

#our_services > .title{ font-size: 22px; margin-bottom: 18px; }
#our_services_group{ padding: 0 !important; }
#our_services > table, #our_services > table > tbody, #our_services > table > tbody > tr{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}
#our_services > table > tbody > tr > td{ display:block; flex:1 1 280px; }

#our_services_group{
  background:#fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  height:100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#our_services_group:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
#our_services_group table, #our_services_group tbody, #our_services_group tr{
  display:flex;
  align-items:flex-start;
  gap: 4px;
}
#our_services_group td{ display:block; padding: 16px !important; }
#our_services_group_image img{ border-radius: 6px; }
.our_services_group_title{
  font-family:'Playfair Display', Georgia, serif;
  font-weight:600;
  font-size: 15px;
  color: var(--text-dark);
  padding-bottom: 6px !important;
}
#our_services_group .text{ font-size: 13.5px; color: var(--text-muted); padding-bottom: 8px; }
#our_services_group #read_more a{ padding: 6px 16px; font-size: 11px; }

/* ===================== GENERIC SUB-PAGE CONTENT ===================== */

#content_site > .title{
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text-dark);
  padding: 0 0 20px 0;
  position: relative;
}
#content_site > .title::after{
  content:"";
  display:block;
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin-top: 16px;
}
#content_site > .text{ max-width: 760px; color: var(--text-muted); font-size: 16px; }
#content_site > .text p{ padding-bottom: 16px; }
#content_site > .text strong{ color: var(--text-dark); }

.contact_info{ direction: rtl; font-size: 15px; }
.contact_info .width{
  width:auto;
  min-width:260px;
  float:left;
  text-align:left;
  direction:ltr;
  padding-right:32px;
}

/* ===================== FOOTER ===================== */

#footer{ background: var(--ink); border-top: 3px solid var(--gold); color: var(--cream-dim); }
#footer_bg_content, #footer_content{
  max-width: var(--maxw);
  margin: 0 auto;
  width:100%;
  background: none !important;
  height:auto !important;
}
#footer_content{ padding: 26px 24px !important; }
#footer_content table, #footer_content tbody, #footer_content tr{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  align-items:center;
  justify-content:space-between;
  width:100%;
}
#footer_content td{ display:block; }
#footer a{ color: var(--gold-light); text-decoration:none; font-size: 14px; }
#footer a:hover{ color: #fff; text-decoration: underline; }
#footer a.arabic{ font-family: Tahoma, sans-serif; }

/* ===================== RESPONSIVE ===================== */

@media (max-width: 900px){
  #content_site{ padding: 36px 20px 48px; }
  #flash{ padding: 16px; }
}

@media (max-width: 700px){
  #flash #flash_content table, #flash #flash_content tbody, #flash #flash_content tr{
    flex-direction: column;
    align-items: flex-start;
  }
  #flash #flash_content table td:last-child{ width:100%; min-height:120px; }
  #welcome table, #welcome tbody, #welcome tr{ flex-direction: column; }
  #welcome td{ width:100%; }
  #footer_content table, #footer_content tbody, #footer_content tr{
    flex-direction:column;
    align-items:flex-start;
    text-align:left;
  }
}

@media (max-width: 480px){
  .logo img{ max-height: 64px; }
  #welcome .title, #content_site > .title{ font-size: 26px; }
}
