/* Clean homepage presentation for the royal activities category. */
.grid_one.cp-royal-home-section {
  --royal-ink:#17252a;
  --royal-teal:#005360;
  --royal-gold:#ea9822;
  margin:20px 0 26px;
  padding:16px;
  border:1px solid #e3e8e7;
  border-top:3px solid var(--royal-teal);
  border-radius:8px;
  background:#fff;
}
.grid_one.cp-royal-home-section > .tt {
  position:relative;
  margin:0 0 14px;
  padding:0 0 10px;
  border-bottom:1px solid #e5e9e8;
}
.grid_one.cp-royal-home-section > .tt::after {
  position:absolute;
  right:0;
  bottom:-1px;
  width:58px;
  height:2px;
  background:var(--royal-gold);
  content:"";
}
.grid_one.cp-royal-home-section > .tt h2 {
  margin:0;
  color:var(--royal-teal);
  font-size:22px;
  font-weight:900;
  line-height:1.45;
}
.grid_one.cp-royal-home-section > .tt h2 a {
  color:inherit;
  text-decoration:none;
  transition:color .18s ease;
}
.grid_one.cp-royal-home-section > .tt h2 a:hover,
.grid_one.cp-royal-home-section > .tt h2 a:focus-visible { color:#bd7814; }
.grid_one.cp-royal-home-section > .polist {
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);
  grid-template-rows:repeat(4,minmax(84px,1fr));
  gap:10px 14px;
  direction:rtl;
}
.grid_one.cp-royal-home-section > .polist > .article {
  position:relative;
  min-width:0;
  min-height:84px;
  margin:0;
  overflow:hidden;
  border:1px solid #e8eceb;
  border-radius:6px;
  background:#fff;
}
.grid_one.cp-royal-home-section > .polist > .article:first-child {
  grid-column:1;
  grid-row:span 4;
  min-height:380px;
  border:0;
  border-radius:8px;
  background:#0a1f25;
}
.grid_one.cp-royal-home-section .article .thumbnail {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  overflow:hidden;
}
.grid_one.cp-royal-home-section .article .thumbnail img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transition:transform .35s ease;
}
.grid_one.cp-royal-home-section .article:hover .thumbnail img,
.grid_one.cp-royal-home-section .article:focus-within .thumbnail img { transform:scale(1.025); }
.grid_one.cp-royal-home-section .article::after {
  position:absolute;
  z-index:0;
  inset:35% 0 0;
  background:linear-gradient(180deg,rgba(6,24,28,0) 0%,rgba(6,24,28,.88) 100%);
  content:"";
  pointer-events:none;
}
.grid_one.cp-royal-home-section .article .content {
  position:absolute;
  z-index:1;
  right:0;
  bottom:0;
  left:0;
  padding:17px;
  color:#fff;
  pointer-events:none;
}
.grid_one.cp-royal-home-section .article .content h3 {
  display:-webkit-box;
  margin:0;
  overflow:hidden;
  color:#fff;
  font-size:15px;
  font-weight:800;
  line-height:1.55;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.grid_one.cp-royal-home-section .article:first-child .content { padding:22px; }
.grid_one.cp-royal-home-section .article:first-child .content h3 {
  font-size:clamp(20px,2vw,26px);
  line-height:1.55;
  -webkit-line-clamp:4;
}
.grid_one.cp-royal-home-section .article:first-child::before {
  position:absolute;
  z-index:2;
  top:13px;
  right:13px;
  padding:5px 9px;
  border-radius:3px;
  color:#fff;
  background:var(--royal-teal);
  content:"أبرز التغطيات";
  font-size:11px;
  font-weight:800;
  pointer-events:none;
}
.grid_one.cp-royal-home-section > .polist > .article:not(:first-child) {
  display:grid;
  grid-template-columns:96px minmax(0,1fr);
  align-items:stretch;
  direction:rtl;
}
.grid_one.cp-royal-home-section .article:not(:first-child)::after { display:none; }
.grid_one.cp-royal-home-section .article:not(:first-child) .thumbnail {
  position:relative;
  inset:auto;
  width:96px;
  height:100%;
  min-height:84px;
  grid-column:1;
  grid-row:1;
  background:#edf1ef;
}
.grid_one.cp-royal-home-section .article:not(:first-child) .content {
  position:static;
  grid-column:2;
  grid-row:1;
  align-self:center;
  padding:10px 13px;
  color:var(--royal-ink);
}
.grid_one.cp-royal-home-section .article:not(:first-child) .content h3 {
  color:var(--royal-ink);
  font-size:14px;
  line-height:1.55;
  -webkit-line-clamp:2;
}
.grid_one.cp-royal-home-section .article .aplink {
  position:absolute;
  z-index:3;
  inset:0;
  border-radius:inherit;
}
.grid_one.cp-royal-home-section .article .aplink:focus-visible {
  outline:3px solid #f3b948;
  outline-offset:-3px;
}
.grid_one.cp-royal-home-section > .polist > .article:not(:first-child):hover {
  border-color:#d7e2e1;
  background:#f8faf9;
}
@media(max-width:900px) {
  .grid_one.cp-royal-home-section > .polist {
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto;
  }
  .grid_one.cp-royal-home-section > .polist > .article:first-child {
    grid-column:auto;
    grid-row:auto;
    min-height:330px;
  }
  .grid_one.cp-royal-home-section > .polist > .article:not(:first-child) { min-height:84px; }
}
@media(max-width:600px) {
  .grid_one.cp-royal-home-section {
    margin:16px 0 20px;
    padding:11px;
  }
  .grid_one.cp-royal-home-section > .tt { margin-bottom:11px; padding-bottom:8px; }
  .grid_one.cp-royal-home-section > .tt h2 { font-size:18px; }
  .grid_one.cp-royal-home-section > .polist { gap:8px; }
  .grid_one.cp-royal-home-section > .polist > .article:first-child { min-height:clamp(245px,66vw,320px); }
  .grid_one.cp-royal-home-section .article:first-child .content { padding:16px; }
  .grid_one.cp-royal-home-section .article:first-child .content h3 { font-size:19px; }
  .grid_one.cp-royal-home-section > .polist > .article:not(:first-child) {
    grid-template-columns:80px minmax(0,1fr);
    min-height:76px;
  }
  .grid_one.cp-royal-home-section .article:not(:first-child) .thumbnail { width:80px; min-height:76px; }
  .grid_one.cp-royal-home-section .article:not(:first-child) .content { padding:8px 10px; }
  .grid_one.cp-royal-home-section .article:not(:first-child) .content h3 { font-size:13px; }
}
@media(prefers-reduced-motion:reduce) {
  .grid_one.cp-royal-home-section .article .thumbnail img,
  .grid_one.cp-royal-home-section > .tt h2 a { transition:none; }
}