/* =========================================================
   New Front Page Design - Fast / Modern / Distinct
========================================================= */

:root{
  --fp-bg:#f7f8fb;
  --fp-surface:#ffffff;
  --fp-dark:#101828;
  --fp-muted:#667085;
  --fp-line:#eaecf0;
  --fp-primary:#ff6b35;
  --fp-primary-dark:#e85a24;
  --fp-blue:#2563eb;
  --fp-blue-dark:#1d4ed8;
  --fp-shadow:0 14px 35px rgba(16,24,40,.08);
  --fp-radius:24px;
}

.fp-home{
  direction:rtl;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(255,107,53,.07), transparent 60%),
    radial-gradient(700px 360px at 0% 8%, rgba(37,99,235,.08), transparent 55%),
    var(--fp-bg);
  color:var(--fp-dark);
  overflow:hidden;
}

.fp-home a{
  text-decoration:none;
}

/* ================= Hero ================= */

.fp-hero{
  padding:28px 0 18px;
}

.fp-hero__wrap{
  min-height:390px;
  display:grid;
  grid-template-columns:1fr;
  align-items:center;
  justify-items:center;
  text-align:center;
  gap:28px;

  background:
    linear-gradient(135deg,#0b1220 0%,#10213d 55%,#16335c 100%);

  border-radius:34px;
  padding:46px;
  position:relative;
  overflow:hidden;
  box-shadow:0 24px 70px rgba(16,24,40,.18);
}

.fp-hero__wrap:before{
  content:"";
  position:absolute;
  inset:-120px auto auto -120px;
  width:300px;
  height:300px;
  border-radius:50%;
  background:rgba(255,107,53,.22);
  filter:blur(12px);
}

.fp-hero__wrap:after{
  content:"";
  position:absolute;
  right:-70px;
  bottom:-80px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:rgba(37,99,235,.24);
  filter:blur(10px);
}

.fp-hero__content{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.fp-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  padding:8px 16px;
  border-radius:999px;
  background:rgba(37,99,235,.18);
  color:#ffffff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.5px;
  text-align:center;
}

.fp-hero h1{
  max-width:900px;
  margin:18px auto 16px;
  color:#ffffff;
  font-size:52px;
  line-height:1.25;
  letter-spacing:-.8px;
  text-align:center;
}

.fp-hero p{
  max-width:760px;
  margin:0 auto;
  color:rgba(255,255,255,.78);
  font-size:18px;
  line-height:2;
  text-align:center;
}

.fp-hero__actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:30px;
}

.fp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:12px 26px;
  border-radius:16px;
  font-weight:900;
  transition:.22s ease;
}

.fp-btn:hover{
  transform:translateY(-2px);
}

.fp-btn--primary{
  background:#ff6b35;
  color:#fff !important;
  box-shadow:0 14px 30px rgba(255,107,53,.30);
}

.fp-btn--primary:hover{
  background:#ef5d29;
}

.fp-btn--dark{
  background:#2563eb;
  color:#fff !important;
  box-shadow:0 14px 30px rgba(37,99,235,.28);
}

.fp-btn--dark:hover{
  background:#1d4ed8;
}

.fp-btn--ghost{
  color:#fff !important;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(37,99,235,.18);
}

.fp-btn--ghost:hover{
  background:rgba(37,99,235,.28);
}

.fp-hero__panel{
  display:none;
}

/* ================= Shortcuts ================= */

.fp-shortcuts{
  padding:18px 0 8px;
}

.fp-shortcuts__grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.fp-shortcut{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:10px;
  min-height:150px;
  background:var(--fp-surface);
  border:1px solid var(--fp-line);
  border-radius:22px;
  padding:24px 18px;
  color:var(--fp-dark);
  box-shadow:0 10px 25px rgba(16,24,40,.045);
  transition:.22s ease;
}

.fp-shortcut:hover{
  transform:translateY(-3px);
  box-shadow:var(--fp-shadow);
}

.fp-shortcut span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:64px;
  height:64px;
  margin:0 auto 6px;
  border-radius:50%;
  background:#f2f4f7;
  font-size:30px;
}

.fp-shortcut strong{
  font-size:18px;
  text-align:center;
}

.fp-shortcut small{
  color:var(--fp-muted);
  text-align:center;
}

/* ================= Sections ================= */

.fp-section{
  padding:58px 0;
}

.fp-section--tinted{
  background:rgba(255,255,255,.62);
  border:1px solid rgba(234,236,240,.8);
  border-radius:32px;
  padding:52px 28px;
  margin-top:18px;
  box-shadow:0 10px 35px rgba(16,24,40,.035);
}

.fp-section__head{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  margin-bottom:28px;
}

.fp-section__head span{
  color:var(--fp-primary-dark);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.7px;
}

.fp-section__head h2{
  margin:9px 0 10px;
  color:var(--fp-dark);
  font-size:34px;
  line-height:1.25;
}

.fp-section__head p{
  max-width:620px;
  margin:0;
  color:var(--fp-muted);
  line-height:1.8;
}

/* ================= Tax Links ================= */

.fp-tax-row{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin:-4px 0 28px;
}

.fp-tax-row a{
  display:inline-flex;
  padding:9px 15px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--fp-line);
  color:var(--fp-dark);
  font-size:13px;
  font-weight:800;
  transition:.2s ease;
}

.fp-tax-row a:hover{
  background:var(--fp-blue);
  color:#fff;
}

/* ================= Cards ================= */

.fp-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.fp-grid--articles{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.fp-card{
  background:var(--fp-surface);
  border:1px solid var(--fp-line);
  border-radius:var(--fp-radius);
  overflow:hidden;
  box-shadow:0 8px 22px rgba(16,24,40,.045);
  transition:.22s ease;
}

.fp-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--fp-shadow);
}

.fp-card__image{
  position:relative;
  display:block;
  aspect-ratio:16/9;
  background:linear-gradient(135deg,#1f2937,#374151);
  overflow:hidden;
}

.fp-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .28s ease;
}

.fp-card:hover .fp-card__image img{
  transform:scale(1.045);
}

.fp-card__placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:54px;
}

.fp-card__body{
  padding:19px;
}

.fp-meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.fp-meta span,
.fp-chip{
  display:inline-flex;
  align-items:center;
  width:max-content;
  padding:5px 10px;
  border-radius:999px;
  background:#f2f4f7;
  color:#475467;
  font-size:11px;
  font-weight:800;
}

.fp-chip{
  margin-bottom:12px;
  background:rgba(37,99,235,.10);
  color:#1d4ed8;
}

.fp-card h3{
  margin:0 0 10px;
  font-size:18px;
  line-height:1.55;
}

.fp-card h3 a{
  color:var(--fp-dark);
}

.fp-card h3 a:hover{
  color:var(--fp-blue);
}

.fp-card p{
  margin:0;
  color:var(--fp-muted);
  font-size:14px;
  line-height:1.8;
}

.fp-read{
  display:inline-flex;
  margin-top:16px;
  color:var(--fp-primary-dark);
  font-weight:900;
  font-size:14px;
}

.fp-card__foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:18px;
  padding-top:15px;
  border-top:1px solid var(--fp-line);
}

.fp-card__foot small{
  color:var(--fp-muted);
  font-weight:800;
}

.fp-card__foot a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  border-radius:12px;
  background:var(--fp-primary);
  color:#fff;
  font-size:13px;
  font-weight:900;
  transition:.2s ease;
}

.fp-card__foot a:hover{
  background:var(--fp-primary-dark);
}

.fp-more{
  text-align:center;
  margin-top:28px;
}

.fp-more a{
  display:inline-flex;
  padding:12px 22px;
  border-radius:999px;
  background:#fff;
  color:var(--fp-dark);
  border:1px solid var(--fp-line);
  font-weight:900;
  box-shadow:0 10px 25px rgba(16,24,40,.05);
  transition:.2s ease;
}

.fp-more a:hover{
  background:var(--fp-primary);
  color:#fff;
  border-color:var(--fp-primary);
  transform:translateY(-2px);
}

.fp-empty{
  grid-column:1/-1;
  text-align:center;
  background:#fff;
  color:var(--fp-muted);
  border:1px dashed var(--fp-line);
  border-radius:20px;
  padding:34px;
}

/* ================= Featured ================= */

.fp-featured{
  padding:30px 0 64px;
}

.fp-featured__box{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:0;
  background:#10213d;
  border-radius:34px;
  overflow:hidden;
  box-shadow:0 24px 70px rgba(16,24,40,.16);
}

.fp-featured__image{
  min-height:360px;
  background:linear-gradient(135deg,#253044,#111827);
}

.fp-featured__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.fp-featured__image span{
  height:100%;
  min-height:360px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:82px;
}

.fp-featured__content{
  padding:48px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.fp-featured__content h2{
  margin:16px 0 14px;
  color:#fff;
  font-size:34px;
  line-height:1.35;
}

.fp-featured__content p{
  margin:0 0 26px;
  color:rgba(255,255,255,.72);
  line-height:1.9;
}

/* ================= Newsletter ================= */

.fp-newsletter{
  background:#fff;
  border-top:1px solid var(--fp-line);
  padding:54px 0;
  text-align:center;
}

.fp-newsletter span{
  color:var(--fp-primary-dark);
  font-weight:900;
  font-size:13px;
}

.fp-newsletter h2{
  margin:8px 0 10px;
  font-size:30px;
  color:var(--fp-dark);
}

.fp-newsletter p{
  margin:0 auto 22px;
  max-width:620px;
  color:var(--fp-muted);
  line-height:1.8;
}

.fp-newsletter__form{
  max-width:520px;
  margin:auto;
  display:flex;
  gap:10px;
}

.fp-newsletter__form input{
  flex:1;
  min-width:0;
  height:50px;
  border:1px solid var(--fp-line);
  border-radius:15px;
  padding:0 16px;
  font-family:inherit;
  outline:none;
}

.fp-newsletter__form input:focus{
  border-color:var(--fp-primary);
}

.fp-newsletter__form button{
  height:50px;
  border:0;
  border-radius:15px;
  padding:0 24px;
  background:var(--fp-primary);
  color:#fff;
  font-family:inherit;
  font-weight:900;
  cursor:pointer;
}

/* ================= Responsive ================= */

@media(max-width:992px){
  .fp-featured__box{
    grid-template-columns:1fr;
  }

  .fp-grid,
  .fp-grid--articles{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .fp-shortcuts__grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:768px){
  .fp-hero{
    padding-top:16px;
  }

  .fp-hero__wrap{
    padding:34px 20px;
    border-radius:26px;
    min-height:auto;
  }

  .fp-hero h1{
    font-size:34px;
  }

  .fp-hero p{
    font-size:15px;
    line-height:1.9;
  }

  .fp-hero__actions{
    flex-direction:column;
    width:100%;
  }

  .fp-btn{
    width:100%;
    max-width:280px;
  }

  .fp-section{
    padding:42px 0;
  }

  .fp-section--tinted{
    padding:38px 16px;
    border-radius:26px;
  }

  .fp-section__head h2{
    font-size:27px;
  }

  .fp-grid,
  .fp-grid--articles{
    grid-template-columns:1fr;
    gap:16px;
  }

  .fp-featured__content{
    padding:30px 20px;
    text-align:center;
    align-items:center;
  }

  .fp-featured__content h2{
    font-size:27px;
  }

  .fp-featured__image,
  .fp-featured__image span{
    min-height:230px;
  }

  .fp-newsletter__form{
    flex-direction:column;
  }
}

@media(max-width:480px){
  .fp-shortcuts__grid{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .fp-shortcut{
    padding:16px 12px;
    border-radius:18px;
    min-height:135px;
  }

  .fp-shortcut span{
    width:56px;
    height:56px;
    font-size:26px;
  }

  .fp-shortcut strong{
    font-size:15px;
  }

  .fp-card__body{
    padding:16px;
  }

  .fp-hero h1{
    font-size:29px;
  }
}