/*
Theme Name: شركة الليسن للمحاماة والاستشارات القانونية (Laysen Law Firm)
Theme URI: https://laysen.sa/
Author: وكالة بعد رقمي (Digital Dimension Agency - Amjad Hassan)
Author URI: https://digitaldimension-ye.com/
Description: قالب ووردبريس رسمي متكامل ومخصص لشركة الليسن للمحاماة والاستشارات القانونية بالرياض (الإصدار 6.2.0 - متجاوب بالكامل للكمبيوتر والتابلت والجوال + متوافق مع Elementor ومُخصِّص ووردبريس).
Version: 6.2.0
Text Domain: laysen-law
*/


  :root {
    --background: 40 25% 98%; --foreground: 199 25% 22%;
    --card: 0 0% 100%; --card-foreground: 199 25% 22%;
    --popover: 0 0% 100%; --popover-foreground: 199 25% 22%;
    --primary: 199 25% 29%; --primary-foreground: 0 0% 100%;
    --secondary: 39 18% 94%; --secondary-foreground: 199 25% 22%;
    --muted: 39 18% 94%; --muted-foreground: 199 10% 44%;
    --accent: 37 33% 55%; --accent-foreground: 0 0% 100%;
    --destructive: 0 65% 45%; --destructive-foreground: 0 0% 100%;
    --border: 37 15% 85%; --input: 37 15% 85%; --ring: 37 33% 55%; --radius: 0.25rem;
    --ink: #243d47; --slate: #37515c; --gold: #b39667; --paper: #faf9f6; --soft: #f0eee8; --line: #dddcd5;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 110px; }
  body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'IBM Plex Sans Arabic', sans-serif; overflow-x: clip; }
  a { color: inherit; text-decoration: none; }
  button,input,select,textarea { font: inherit; }
  button,a,input,select,textarea { -webkit-tap-highlight-color: transparent; }
  button,a { touch-action: manipulation; }
  button { cursor: pointer; }
  a:focus-visible,button:focus-visible,summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
  p { line-height: 1.95; }
  h1,h2,h3,p { margin-top: 0; }
  h2 { font-family: 'Noto Naskh Arabic', serif; font-size: clamp(32px,3.4vw,47px); font-weight: 500; line-height: 1.5; margin-bottom: 22px; }
  h2 span { color: var(--gold); }
}
.site-header { position: sticky; top: 0; z-index: 30; background: white; border-bottom: 1px solid #e6e6e0; }
.header-inner { max-width: 1320px; margin: auto; display: flex; height: 100px; padding: 0 48px; align-items: center; gap: 35px; }
.brand { display: block; flex-shrink: 0; width: 129px; height: 88px; }
.brand img { width: 129px; height: 87px; object-fit: contain; }
.desktop-nav { display: flex; gap: 28px; margin: auto; font-size: 14px; font-weight: 500; }
.desktop-nav a { padding: 16px 0; position: relative; }
.desktop-nav a:after { content: ''; position: absolute; bottom: 8px; right: 0; width: 0; height: 1px; background: var(--gold); transition: width .2s; }
.desktop-nav a:hover:after { width: 100%; }
.header-contact { display: flex; gap: 18px; align-items: center; border: 1px solid var(--gold); padding: 12px 19px; font-size: 14px; }
.header-contact:hover { background: var(--soft); }
.menu-toggle { display: none; background: transparent; border: 0; color: var(--ink); width: 44px; height: 44px; align-items: center; justify-content: center; }
.mobile-nav { padding: 15px 25px 25px; display: grid; background: white; border-top: 1px solid var(--line); }
.mobile-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
.hero { position: relative; min-height: calc(100dvh - 100px); display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; background: var(--ink); overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(20,38,46,.82) 0%,rgba(20,38,46,.6) 48%,rgba(20,38,46,.84) 100%); }
.hero:after { content: ''; position: absolute; inset: 26px; border: 1px solid rgba(179,150,103,.23); pointer-events: none; }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 75px 24px 105px; animation: enter .7s ease-out both; }
.hero-eyebrow { display: flex; justify-content: center; align-items: center; gap: 15px; font-size: 14px; color: #ded2bd; margin-bottom: 27px; }
.hero-eyebrow span { width: 31px; height: 1px; background: var(--gold); }
.hero h1 { font-family: 'Noto Naskh Arabic',serif; font-size: clamp(40px,5.2vw,73px); font-weight: 500; line-height: 1.5; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: #cfb98f; }
.hero-content p { color: #e0e4e3; font-size: 17px; margin-bottom: 33px; }
.hero-lead .hero-lead-line { display: block; font-size: 19px; font-weight: 500; color: #f0ece2; margin-bottom: 8px; }
.hero-lead .hero-lead-desc { display: block; max-width: 860px; margin: 0 auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; }
.button { min-height: 51px; padding: 13px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 19px; font-size: 14px; font-weight: 500; border: 1px solid transparent; border-radius: 2px; transition: background .2s,transform .2s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.98); }
.button-gold { background: var(--gold); color: #182f39; box-shadow: 4px 4px 0 rgba(12,29,36,.35); }
.button-gold:hover { background: #c4aa7f; }
.button-outline { border-color: #75828a; color: white; background: rgba(36,61,71,.28); }
.button-outline:hover { background: var(--slate); }
.button-dark { background: var(--slate); color: white; }
.button-dark:hover { background: var(--ink); }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.hero-bottom { position: absolute; bottom: 46px; left: 65px; right: 65px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #d2d9d9; z-index: 2; }
.hero-bottom span,.hero-bottom a { display: flex; align-items: center; gap: 10px; }
.hero-bottom a { border-bottom: 1px solid var(--gold); padding-bottom: 8px; }
.hero-english { letter-spacing: 2px; font-size: 9px; }
.section { max-width: 1240px; margin: 0 auto; padding: 90px 48px; }
.section-label { font-size: 12px; font-weight: 500; color: var(--gold); margin-bottom: 30px; display: flex; align-items: center; gap: 12px; }
.section-label:before { content: ''; width: 25px; height: 1px; background: var(--gold); }
.profile-intro { max-width: 820px; margin-bottom: 50px; }
.profile-intro h2 { margin-bottom: 26px; }
.profile-intro .lead { font-size: 19px; color: var(--ink); font-weight: 500; margin-bottom: 18px; }
.profile-intro p { color: #5c6a70; font-size: 15px; }
.vision-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 30px 0 10px; }
.vision-mission > div { border-right: 3px solid var(--gold); padding-right: 22px; }
.vision-mission h4 { font-size: 16px; font-weight: 500; color: var(--ink); margin: 0 0 10px; }
.vision-mission p { font-size: 14px; color: #5c6a70; line-height: 1.9; margin: 0; }
.text-link { display: inline-flex; align-items: center; gap: 15px; color: var(--slate); font-size: 14px; font-weight: 500; padding-bottom: 7px; border-bottom: 1px solid var(--gold); margin-top: 10px; }
.text-link:hover { color: var(--gold); }
.profile-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.profile-block { padding: 30px; background: var(--card); border: 1px solid #e1ded6; display: flex; flex-direction: column; }
.profile-block-head { display: flex; align-items: center; gap: 13px; margin-bottom: 8px; color: var(--gold); }
.profile-block-head h3 { font-size: 19px; font-weight: 500; color: var(--ink); margin: 0; }
.profile-block-note { font-size: 12px; color: #8f9899; margin-bottom: 18px; }
.profile-block-text { font-size: 13px; color: #566970; line-height: 1.85; margin: 0; }
.profile-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 11px 24px; }
.profile-list li { display: flex; gap: 10px; align-items: baseline; font-size: 13px; color: #566970; line-height: 1.7; }
.profile-list svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.review-field { border: 1px dashed var(--gold); background: #fbf8f1; padding: 16px 18px; border-radius: 2px; }
.review-badge { display: inline-block; font-size: 10px; font-weight: 600; color: #8a6d3b; background: #efe4cc; padding: 3px 9px; border-radius: 2px; margin-bottom: 10px; letter-spacing: .3px; }
.review-field p { font-size: 13px; color: #6b5d44; line-height: 1.85; margin: 0; }
.values-band { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 30px; display: flex; justify-content: space-between; gap: 20px; }
.values-band div { display: flex; align-items: center; gap: 15px; font-size: 14px; }
.values-band svg { color: var(--gold); width: 24px; stroke-width: 1.5; }
.profile-contact-strip { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.profile-contact-head h3 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.profile-contact-head p { font-size: 13px; color: #647277; }
.profile-contact-links { display: flex; gap: 14px; flex-wrap: wrap; }
.profile-contact-links a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); background: var(--card); transition: border-color .2s,transform .2s; }
.profile-contact-links a:hover { border-color: var(--gold); transform: translateY(-2px); }
.profile-contact-links svg { color: var(--gold); flex-shrink: 0; }
.profile-contact-links small { display: block; font-size: 10px; color: #8f9899; margin-bottom: 3px; }
.profile-contact-links strong { display: block; font-size: 14px; font-weight: 500; text-align: right; }
.services-section { background: var(--soft); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-bottom: 32px; }
.section-heading p { font-size: 15px; color: #637178; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.service-card { padding: 28px; background: var(--paper); border: 1px solid #e1ded6; display: flex; flex-direction: column; transition: border-color .2s,transform .2s; }
.service-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.service-top { display: flex; align-items: center; justify-content: space-between; color: var(--gold); margin-bottom: 23px; }
.service-top span { font-family: sans-serif; font-size: 12px; color: #8f9899; }
.service-card h3 { font-size: 19px; font-weight: 500; margin-bottom: 14px; }
.service-card p { font-size: 13px; color: #68757a; margin-bottom: 25px; }
.service-card a { display: flex; justify-content: space-between; align-items: center; margin-top: auto; font-size: 12px; padding-top: 15px; border-top: 1px solid var(--line); }
.expertise-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; }
.expertise-layout > div > p { max-width: 460px; font-size: 15px; color: #637178; }
.decorative-mark { display: block; font-family: Georgia,serif; font-size: 150px; line-height: 1.3; color: var(--soft); margin-top: 15px; }
.expertise-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; align-content: start; }
.expertise-list > div { border-bottom: 1px solid var(--line); padding: 15px 0; display: flex; gap: 13px; align-items: baseline; font-size: 13px; }
.expertise-number { color: var(--gold); font-size: 10px; font-family: sans-serif; }
.team-section { background: var(--slate); color: white; position: relative; }
.team-section:before { content: ''; position: absolute; right: 0; top: 0; width: 80px; height: 5px; background: var(--gold); }
.team-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.team-heading p { font-size: 17px; color: #d6dedf; }
.team-details { display: flex; gap: 40px; border-top: 1px solid #6b7c83; padding-top: 34px; margin-top: 28px; }
.team-details > div { flex: 1; padding-left: 20px; }
.team-details > div + div { border-right: 1px solid #6b7c83; padding-right: 35px; }
.team-details svg { color: #cfb98f; margin-bottom: 18px; width: 27px; height: 27px; }
.team-details h3 { font-size: 19px; font-weight: 500; }
.team-details p { font-size: 13px; color: #d0dadc; }
.article-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.article-card { display: block; }
.article-art { position: relative; height: 210px; overflow: hidden; border-bottom: 3px solid var(--gold); background: var(--soft); }
.article-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.article-card:hover .article-art img { transform: scale(1.05); }
.article-art > span { position: absolute; right: 16px; top: 14px; font-size: 13px; color: #fff; background: rgba(20,38,46,.72); padding: 4px 11px; border-radius: 2px; backdrop-filter: blur(4px); }
.article-art:after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(20,38,46,.18) 0%,transparent 45%); pointer-events: none; }
.article-body { padding: 23px 0 0; }
.article-category { color: var(--gold); font-size: 11px; }
.article-body h3 { font-size: 21px; font-weight: 500; line-height: 1.75; margin: 10px 0; }
.article-body p { color: #6b767a; font-size: 13px; }
.article-card:hover h3 { color: var(--gold); }
.legal-note { margin: 30px 0 0; font-size: 12px; color: #7b8588; border-top: 1px solid var(--line); padding-top: 18px; }
.portal-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.portal-card { background: var(--card); border: 1px solid #e1ded6; display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s,transform .2s; }
.portal-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.portal-art { height: 200px; overflow: hidden; background: var(--soft); }
.portal-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.portal-card:hover .portal-art img { transform: scale(1.05); }
.portal-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.portal-body h3 { font-size: 20px; font-weight: 500; margin-bottom: 12px; }
.portal-body p { font-size: 13px; color: #68757a; margin-bottom: 22px; }
.portal-button { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; align-self: start; padding: 11px 18px; background: var(--slate); color: white; font-size: 13px; font-weight: 500; border-radius: 2px; transition: background .2s,transform .2s; }
.portal-button:hover { background: var(--ink); transform: translateY(-2px); }
.insights-columns { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; margin-top: 60px; align-items: start; }
.insights-articles h3,.insights-twitter h3 { font-size: 22px; font-weight: 500; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mini-article-list { display: flex; flex-direction: column; gap: 18px; }
.mini-article-card { display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: start; padding: 16px; background: var(--card); border: 1px solid #e1ded6; transition: border-color .2s,transform .2s; }
.mini-article-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.mini-article-art { position: relative; height: 90px; overflow: hidden; background: var(--soft); }
.mini-article-art img { width: 100%; height: 100%; object-fit: cover; }
.mini-article-art span { position: absolute; right: 8px; top: 7px; font-size: 11px; color: #fff; background: rgba(20,38,46,.72); padding: 2px 8px; border-radius: 2px; }
.mini-article-body h4 { font-size: 16px; font-weight: 500; line-height: 1.6; margin: 6px 0; }
.mini-article-card:hover .mini-article-body h4 { color: var(--gold); }
.mini-article-body p { font-size: 12px; color: #6b767a; margin: 0; }
.twitter-timeline-wrap { background: var(--card); border: 1px solid #e1ded6; padding: 18px; min-height: 480px; }
.twitter-timeline-wrap iframe { width: 100% !important; }
.faq-section { border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.faq-layout > div > p { color: #647277; font-size: 14px; }
.faq-layout details { border-bottom: 1px solid var(--line); }
.faq-layout details:first-child { border-top: 1px solid var(--line); }
.faq-layout summary { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; font-size: 15px; cursor: pointer; list-style: none; }
.faq-layout summary::-webkit-details-marker { display: none; }
.faq-layout summary svg { color: var(--gold); flex-shrink: 0; transition: transform .2s; }
.faq-layout details[open] summary svg { transform: rotate(45deg); }
.faq-layout details p { font-size: 14px; color: #667379; padding-left: 30px; }
.contact-section { background: var(--soft); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.contact-info > p { font-size: 15px; color: #647277; margin-bottom: 30px; }
.contact-line { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid #d6d6ce; }
.contact-line > svg:first-child { color: var(--gold); }
.contact-line > svg:last-child { margin-right: auto; }
.contact-line small { display: block; color: #788286; font-size: 11px; margin-bottom: 4px; }
.contact-line strong { display: block; font-size: 17px; font-weight: 500; text-align: right; }
.address { display: flex; gap: 20px; margin-top: 30px; }.address > svg { flex-shrink: 0; color: var(--gold); margin-top: 4px; }
.address h3 { font-size: 16px; font-weight: 500; margin-bottom: 10px; }.address p { color: #637178; font-size: 13px; margin-bottom: 8px; }.address .address-numbers { font-size: 12px; }
.contact-form-panel { background: white; border: 1px solid #e1ded6; padding: 35px; box-shadow: 7px 7px 0 #e6e2d8; }
.contact-form-panel > h3 { font-size: 24px; font-weight: 500; margin-bottom: 7px; }.contact-form-panel > p { color: #778287; font-size: 12px; }
.contact-form-panel form { margin-top: 25px; }.contact-form-panel label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; margin-bottom: 17px; position: relative; }
.contact-form-panel label > span:not(:last-child) { color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input,textarea,select { border: 1px solid #daddda; background: #fbfcfa; padding: 12px 13px; width: 100%; border-radius: 2px; color: var(--ink); font-size: 13px; outline: none; }
input:focus,textarea:focus,select:focus { border-color: var(--gold); box-shadow: 0 0 0 2px #b3966718; }
input::placeholder,textarea::placeholder { color: #949c9c; font-size: 12px; }
textarea { resize: vertical; min-height: 110px; }
.contact-form-panel label.consent { flex-direction: row; gap: 10px; align-items: start; font-size: 11px; line-height: 1.9; color: #66747a; }
.consent input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--slate); flex-shrink: 0; }
.submit-button { width: 100%; justify-content: space-between; }
.contact-form-panel .form-privacy { display: flex; align-items: start; gap: 7px; font-size: 10px; margin: 18px 0 0; line-height: 1.9; }.form-privacy svg { flex-shrink: 0; margin-top: 3px; }
.form-error { color: #ab3636; font-size: 12px; }.form-success { text-align: center; padding: 50px 10px; }.form-success svg { color: var(--gold); margin: 0 auto 20px; }.form-success p { font-size: 14px; }
.honeypot { display: none; }
.site-footer { background: white; padding: 35px 48px 0; }
.footer-inner { max-width: 1144px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 45px; padding-bottom: 30px; }
.footer-inner img { width: 140px; height: 94px; object-fit: contain; }
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; }.footer-inner p { font-size: 11px; text-align: center; color: #7a868b; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; font-size: 12px; }.footer-contact { display: flex; flex-direction: column; gap: 13px; font-size: 13px; }
.back-top { border: 1px solid var(--line); padding: 12px; }
.footer-bottom { max-width: 1144px; margin: auto; padding: 23px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; color: #7a868b; font-size: 10px; }.footer-bottom > span:last-child { letter-spacing: 2px; font-size: 9px; }
.floating-actions { position: fixed; bottom: 24px; left: 24px; z-index: 25; display: flex; gap: 8px; }.floating-actions a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 15px; min-width: 48px; background: var(--slate); color: white; border: 1px solid #7c8b91; box-shadow: 0 4px 15px #243d4720; border-radius: 3px; font-size: 12px; }.floating-actions a:first-child { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.skip-link { position: fixed; top: -100px; right: 20px; z-index: 100; background: var(--slate); color: white; padding: 15px; }.skip-link:focus { top: 15px; }
.article-page { max-width: 870px; padding: 65px 45px 90px; margin: auto; }.article-page .breadcrumbs { display: flex; gap: 13px; font-size: 12px; color: #7d898d; margin-bottom: 45px; }.article-page h1 { font-family: 'Noto Naskh Arabic',serif; font-size: clamp(32px,4.2vw,52px); font-weight: 500; line-height: 1.5; margin: 18px 0; }.article-page .article-intro { font-size: 19px; color: #69767b; }.article-page .article-disclaimer { background: var(--soft); border-right: 3px solid var(--gold); padding: 18px 22px; font-size: 13px; margin: 30px 0 45px; }.article-page section { margin: 35px 0; }.article-page section h2 { font-size: 29px; margin-bottom: 10px; }.article-page section p { color: #566970; line-height: 2.2; }.article-page .article-cta { border-top: 1px solid var(--line); padding-top: 30px; margin-top: 50px; }
.article-feature { margin: 30px 0 45px; }
.article-feature img { width: 100%; height: auto; border-radius: 3px; border-bottom: 3px solid var(--gold); display: block; }
.consent a, .form-privacy a { color: var(--gold); border-bottom: 1px solid var(--gold); }
.privacy-page section h2 { display: flex; align-items: center; gap: 12px; font-size: 26px; }
.privacy-page section h2 svg { color: var(--gold); flex-shrink: 0; }
.privacy-page .article-cta h2 { font-size: 26px; }
.privacy-page .article-cta p { color: #566970; margin-bottom: 20px; }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media(min-width:1600px) { .hero { min-height: 820px; } }
@media(max-width:540px) { .hero h1 { font-size: 38px; line-height: 1.55; } .profile-list { grid-template-columns: 1fr; }.hero-content { padding-top: 45px; }.hero-eyebrow { margin-bottom: 22px; }.hero-actions { flex-direction: column; max-width: 270px; margin: auto; }.hero-content p { font-size: 13px; }.hero-bottom span { max-width: 150px; line-height: 1.7; }.hero-bottom a { gap: 6px; }.section-heading { flex-direction: column; gap: 0; }.section-heading h2 { margin-bottom: 12px; }.section-heading p { max-width: none; }.service-grid { grid-template-columns: 1fr; gap: 14px; }.service-card { padding: 26px; }.service-top { margin-bottom: 18px; }.values-band { flex-direction: column; }.profile-contact-links { flex-direction: column; }.expertise-list { grid-template-columns: 1fr; }.expertise-list > div { font-size: 14px; }.team-details { flex-direction: column; }.team-details > div + div { border-right: 0; padding-right: 0; border-top: 1px solid #6b7c83; padding-top: 25px; }.team-details svg { margin-bottom: 12px; }.team-details p { font-size: 14px; }.article-list { grid-template-columns: 1fr; gap: 35px; }.article-art { height: 190px; }.article-body h3 { font-size: 21px; }.article-body p { font-size: 14px; }.article-body .text-link { font-size: 14px; }.faq-layout summary { font-size: 14px; }.form-row { grid-template-columns: 1fr; gap: 0; }.contact-form-panel { padding: 24px 20px; }.contact-line strong { font-size: 18px; }.footer-links { width: 100%; order: 3; }.footer-inner { align-items: start; gap: 20px; }.footer-contact { font-size: 12px; margin-top: 20px; }.back-top { display: none; }.footer-bottom { flex-direction: column; }.floating-actions { bottom: 15px; left: 15px; }.floating-actions a { padding: 12px; }.article-page { padding: 45px 25px 70px; } }
@media(max-width:800px) { .vision-mission { grid-template-columns: 1fr; gap: 20px; } .vision-mission > div { border-right: 0; border-bottom: 3px solid var(--gold); padding-right: 0; padding-bottom: 18px; } .vision-mission > div:last-child { border-bottom: 0; padding-bottom: 0; } .insights-columns { grid-template-columns: 1fr; gap: 40px; } .portal-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:540px) { .portal-grid { grid-template-columns: 1fr; } .mini-article-card { grid-template-columns: 100px 1fr; gap: 14px; } .mini-article-art { height: 80px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*:before,*:after { animation: none !important; transition: none !important; } }

/* ==========================================================================
   1. ضبط الأساسيات ومنع التمدد الأفقي على الجوال والتابلت والكمبيوتر
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box !important;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  -webkit-text-size-adjust: 100%;
}
img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   2. شبكة الخدمات القانونية التسع (3×3 على الكمبيوتر، 2×5 على التابلت، 1×9 على الجوال)
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid #e1ded6;
  display: flex !important;
  flex-direction: column !important;
  grid-column: auto !important;
  transition: border-color .2s, transform .2s;
}

/* ==========================================================================
   3. أيقونات التواصل الاجتماعي (X، إنستقرام، تيك توك)
   ========================================================================== */
.laysen-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.laysen-social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d8d5cc;
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.laysen-social-icons a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #182f39;
  transform: translateY(-2px);
}
.laysen-social-icons svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.x-social-strip {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.x-social-strip-label {
  font-size: 12px;
  color: #68757a;
  font-weight: 500;
}
.x-social-strip .laysen-social-icons {
  margin-top: 0;
}
.x-social-pill {
  display: inline-flex !important;
  width: auto !important;
  height: 34px !important;
  padding: 0 13px !important;
  border-radius: 999px !important;
  gap: 7px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

/* ==========================================================================
   4. نافذة تغريدات منصة إكس (X) وإضافة Smash Balloon
   ========================================================================== */
.twitter-timeline-wrap {
  background: var(--card);
  border: 1px solid #e1ded6;
  padding: 20px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.x-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.x-profile-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.x-profile-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: contain;
  background: #fff;
  padding: 4px;
  flex-shrink: 0;
}
.x-profile-info h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.x-profile-info span {
  font-size: 12px;
  color: #68757a;
  direction: ltr;
  display: inline-block;
}
.x-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f1419;
  color: #fff !important;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.x-embed-body {
  flex: 1;
  max-height: 520px;
  overflow-y: auto;
  padding-left: 4px;
}
#ctf .ctf-screenreader,
.ctf-screenreader,
#ctf .ctf-tweet-actions .ctf-screenreader,
#ctf .ctf-context .ctf-screenreader {
  display: none !important;
  visibility: hidden !important;
  font-size: 0 !important;
  line-height: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  clip: rect(0, 0, 0, 0) !important;
}
#ctf .ctf-header,
#ctf .ctf-out-of-tweets {
  display: none !important;
}
#ctf {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  direction: rtl !important;
  text-align: right !important;
  font-family: 'IBM Plex Sans Arabic', sans-serif !important;
}
#ctf .ctf-item {
  background: var(--paper) !important;
  border: 1px solid #e6e4dc !important;
  border-right: 3px solid var(--gold) !important;
  border-radius: 4px !important;
  padding: 16px 18px !important;
  margin-bottom: 14px !important;
}
#ctf .ctf-author-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
  float: none !important;
}
#ctf .ctf-author-box-link {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  float: none !important;
  margin: 0 !important;
}
#ctf .ctf-author-avatar {
  float: none !important;
  margin: 0 0 0 8px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
}
#ctf .ctf-author-name {
  font-weight: 600 !important;
  color: var(--ink) !important;
  font-size: 14px !important;
  margin: 0 !important;
}
#ctf .ctf-author-screenname,
#ctf .ctf-tweet-meta {
  font-size: 12px !important;
  color: #788286 !important;
}
#ctf .ctf-tweet-content {
  padding: 4px 0 10px !important;
  margin: 0 !important;
  clear: both !important;
}
#ctf .ctf-tweet-text {
  font-size: 14px !important;
  line-height: 1.85 !important;
  color: var(--ink) !important;
  margin-bottom: 10px !important;
  word-break: break-word !important;
}
#ctf .ctf-photo,
#ctf .ctf-media-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 7px 14px !important;
  background: #f0eee8 !important;
  border: 1px solid var(--gold) !important;
  border-radius: 3px !important;
  color: var(--ink) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  margin-top: 8px !important;
}
#ctf .ctf-tweet-actions {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding-top: 10px !important;
  margin-top: 8px !important;
  border-top: 1px solid #e6e4dc !important;
  float: none !important;
  clear: both !important;
}
#ctf .ctf-tweet-actions a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #68757a !important;
  font-size: 12px !important;
  float: none !important;
  margin: 0 !important;
}
#ctf .ctf-tweet-actions svg {
  width: 15px !important;
  height: 15px !important;
  fill: currentColor !important;
}
.laysen-rich-tweet-slot {
  margin-top: 10px;
  width: 100%;
  overflow: hidden;
}
.laysen-rich-tweet-slot .twitter-tweet {
  margin: 0 auto !important;
}
.article-content-wp p {
  color: #566970;
  line-height: 2.15;
  margin-bottom: 20px;
  font-size: 16px;
}
.article-content-wp h2, .article-content-wp h3 {
  font-family: 'Noto Naskh Arabic', serif;
  color: var(--ink);
  margin: 32px 0 12px;
  font-size: 26px;
}
.article-content-wp ul {
  margin: 0 0 24px;
  padding-right: 22px;
  color: #566970;
  line-height: 2.1;
}
.article-read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

/* ==========================================================================
   5. قواعد التجاوب الشاملة للكمبيوتر الكبير، التابلت (أفقي/عمودي)، والجوال
   ========================================================================== */
@keyframes enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1600px) {
  .hero { min-height: 820px; }
}

/* أ) التابلت الأفقي والشاشات المتوسطة (أقل من 1100 بكسل) */
@media (max-width: 1100px) {
  .header-inner { padding: 0 28px; gap: 18px; }
  .desktop-nav { gap: 18px; font-size: 13px; }
  .section { padding: 70px 32px; }
  .profile-grid { gap: 18px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .expertise-layout { gap: 40px; }
  .contact-layout { gap: 40px; }
  .service-card { padding: 24px; }
  .hero-bottom { left: 40px; right: 40px; }
  .hero-english { display: none !important; }
  .footer-inner { gap: 25px; }
  .footer-links { gap: 13px 20px; }
}

/* ب) التابلت العمودي والهواتف الكبيرة (أقل من 860 بكسل) */
@media (max-width: 860px) {
  .header-inner { height: 78px; padding: 0 18px; gap: 12px; }
  .brand, .brand img { width: 104px; height: 70px; }
  .desktop-nav { display: none !important; }
  .header-contact { margin-right: auto; font-size: 12px; padding: 9px 14px; gap: 8px; }
  .menu-toggle { display: inline-flex !important; }
  .hero { min-height: calc(100dvh - 78px); }
  .hero:after { inset: 14px; }
  .hero-content { padding: 55px 20px 95px; width: 100%; }
  .hero h1, .hero h1 span { font-size: clamp(32px, 6.5vw, 46px) !important; line-height: 1.45 !important; }
  .hero-eyebrow { font-size: 12px; gap: 8px; }
  .hero-eyebrow span { width: 18px; }
  .hero-content p { font-size: 14px; }
  .hero-bottom { left: 24px; right: 24px; bottom: 28px; font-size: 11px; }
  .section { padding: 56px 22px; }
  .section-label { margin-bottom: 20px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-heading h2, .section-heading h2 span { font-size: clamp(26px, 5.5vw, 36px) !important; margin-bottom: 6px; }
  .section-heading p { font-size: 14px; max-width: 100%; margin: 0; }
  .profile-grid,
  .expertise-layout,
  .team-heading,
  .faq-layout,
  .contact-layout,
  .insights-columns {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .vision-mission { grid-template-columns: 1fr !important; gap: 20px !important; }
  .vision-mission > div { border-right: 3px solid var(--gold); padding-right: 16px; }
  .profile-block { padding: 22px; }
  .service-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .portal-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 18px !important; }
  .values-band { flex-wrap: wrap; gap: 16px 24px; }
  .values-band div { font-size: 13px; }
  .decorative-mark { display: none !important; }
  .expertise-list { gap: 0 20px; }
  .team-details { flex-direction: column; gap: 22px; }
  .team-details > div { padding-left: 0; }
  .team-details > div + div { border-right: 0; padding-right: 0; border-top: 1px solid #6b7c83; padding-top: 22px; }
  .contact-form-panel { padding: 26px 22px; box-shadow: 4px 4px 0 #e6e2d8; }
  .footer-inner { flex-wrap: wrap; gap: 24px; justify-content: space-between; }
  .site-footer { padding: 30px 22px 0; }
  .footer-bottom { padding-bottom: 85px; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
}

/* ج) شاشات الجوال الذكية (أندرويد وآيفون - أقل من 580 بكسل) */
@media (max-width: 580px) {
  .header-inner { height: 72px; padding: 0 14px; gap: 8px; }
  .brand, .brand img { width: 92px; height: 62px; }
  .header-contact { padding: 8px 12px; font-size: 11px; }
  .hero h1, .hero h1 span { font-size: 30px !important; line-height: 1.5 !important; }
  .hero-lead .hero-lead-line { font-size: 15px; }
  .hero-lead .hero-lead-desc { font-size: 13px; line-height: 1.85; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 280px; margin: 0 auto; gap: 10px; }
  .hero-actions .button { width: 100%; }
  .hero-bottom { left: 18px; right: 18px; bottom: 20px; flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 46px 16px; }
  h2, h2 span { font-size: 26px !important; line-height: 1.45 !important; }
  .profile-list { grid-template-columns: 1fr !important; }
  .service-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .service-card { padding: 22px 18px; }
  .portal-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
  .values-band { flex-direction: column; align-items: flex-start; gap: 14px; }
  .expertise-list { grid-template-columns: 1fr !important; }
  .expertise-list > div { font-size: 13.5px; padding: 13px 0; }
  .mini-article-card { grid-template-columns: 95px 1fr !important; gap: 12px !important; padding: 12px !important; }
  .mini-article-art { height: 80px !important; }
  .mini-article-body h4 { font-size: 14px !important; }
  .twitter-timeline-wrap { padding: 14px; min-height: auto; }
  .x-profile-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .x-follow-btn { width: 100%; justify-content: center; }
  .x-social-strip { flex-direction: column; align-items: flex-start; }
  .faq-layout summary { font-size: 14px; min-height: 62px; padding: 14px 0; }
  .form-row { grid-template-columns: 1fr !important; gap: 0 !important; }
  .contact-form-panel { padding: 22px 16px !important; width: 100% !important; }
  .contact-line strong { font-size: 15px; }
  .footer-inner { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 24px !important; }
  .footer-brand { width: 100%; align-items: center; }
  .footer-links { width: 100%; grid-template-columns: 1fr 1fr; text-align: center; gap: 12px; }
  .footer-contact { width: 100%; align-items: center; text-align: center; }
  .back-top { display: none; }
  .floating-actions { bottom: 14px; left: 14px; }
  .floating-actions a { padding: 10px 12px; font-size: 11px; }
  .article-page { padding: 36px 16px 65px; }
  .article-page h1 { font-size: 26px; }
}


/* ==========================================================================
   6. تحديثات الإصدار 6.0.0: محاذاة النصوص المربعة + عدادات الإنجازات + المكتبة القانونية (الكتب)
   ========================================================================== */
.profile-intro p:not(.lead),
.vision-mission p,
.profile-block-text,
.service-card p,
.team-heading p,
.team-details p,
.portal-body p {
  text-align: justify;
  text-justify: inter-word;
}

.brand img,
.footer-brand img {
  background: transparent !important;
  object-fit: contain !important;
}

/* عدادات الأرقام المتحركة (+15 سنة خبرة / +2000 إنجاز موثق) داخل بطاقات قسم من نحن */
.laysen-counter-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0 14px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #f8f5ee 0%, #efe9da 100%);
  border: 1px solid rgba(179, 150, 103, 0.45);
  border-right: 3px solid var(--gold);
  border-radius: 3px;
  align-self: flex-start;
}
.laysen-counter-num {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  direction: ltr;
}
.laysen-counter-label {
  font-size: 13px;
  font-weight: 500;
  color: #6b5d44;
}

/* قسم المكتبة القانونية المستقل (الكتب والملفات PDF القابلة للتحميل) */
.legal-library-section {
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.legal-library-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.legal-library-header h3 {
  font-size: 23px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 6px;
}
.legal-library-header p {
  font-size: 13.5px;
  color: #68757a;
  margin: 0;
}
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.book-card {
  background: var(--card);
  border: 1px solid #e1ded6;
  border-top: 3px solid var(--gold);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, border-color 0.2s;
}
.book-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}
.book-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gold);
}
.book-badge {
  font-size: 11px;
  font-weight: 600;
  background: #f0eee8;
  color: var(--ink);
  padding: 3px 10px;
  border-radius: 2px;
}
.book-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.55;
}
.book-card p {
  font-size: 13px;
  color: #68757a;
  margin: 0;
  line-height: 1.8;
  text-align: justify;
}
.book-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 16px;
  background: var(--slate);
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.2s;
}
.book-download-btn:hover {
  background: var(--ink);
}
@media (max-width: 860px) {
  .books-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .books-grid { grid-template-columns: 1fr; }
}
