/* BrokerConnector · Insights
   Builds on style.css and about.css (the inner pages' hero, FAQs, where next). Here: the featured article, the article
   grid. Photos from Unsplash (free to use) as dummy imagery for now. */

.feat, .arts { position: relative; isolation: isolate; padding: clamp(100px, 14vh, 160px) var(--gutter); color: var(--ink); }

/* =========================================================
   02 · Featured, no card: a large photo across the page, then the words beneath, the title big on the left and the
   intro, date and button on the right
   ========================================================= */
.feat__link { display: grid; gap: clamp(24px, 3.6vh, 36px); color: inherit; text-decoration: none; }
.feat__img { position: relative; overflow: hidden; aspect-ratio: 21 / 9; border-radius: 24px; background: #1B2542; }
.feat__img img, .art__cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.feat__tag { position: absolute; left: 20px; top: 20px; padding: 6px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--ink); background: #19E8C9; }
.feat__words { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: 20px clamp(32px, 5vw, 80px); }
.feat__lead { display: grid; gap: 16px; }
.feat__title { margin: 0; font-size: clamp(36px, 4.4vw, 72px); font-weight: 400; letter-spacing: -.04em; line-height: 1; text-wrap: balance; transition: color .25s ease; }
.feat__side { display: grid; justify-items: start; gap: 14px; padding-top: 34px; }
.feat__text { max-width: 44ch; margin: 0; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.5; color: rgba(9, 15, 27, .62); }
.feat__cta { margin-top: 8px; }

/* the meta line: topic chip, read time; and the date */
.art__meta { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13.5px; color: rgba(9, 15, 27, .55); }
.art__cat { padding: 4px 10px; border-radius: 99px; font-weight: 500; color: var(--ink); background: rgba(9, 15, 27, .06); }
.art__date { margin: 0; font-size: 13.5px; color: rgba(9, 15, 27, .5); }

/* =========================================================
   03 · All articles: the title and topic tabs, then a three-column grid
   ========================================================= */
.arts__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 5vh, 48px); }
.arts__title { margin: 0; font-size: clamp(40px, 4.4vw, 72px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }

.arts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vh, 44px) clamp(16px, 1.6vw, 24px); }
.art { display: grid; align-content: start; gap: 12px; color: inherit; text-decoration: none; }
.art[hidden] { display: none; }
.art__cover { position: relative; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 6px; border-radius: 18px; background: #1B2542; }
.art__title { margin: 0; font-size: clamp(20px, 1.6vw, 25px); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; transition: color .25s ease; }
.art__text { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(9, 15, 27, .6); }

/* one imagery direction, on brand: calm Dubai daylight (clear skies, soft interiors, water) with a light touch of the
   brand fluid's mint pool (tint.js, the .tint canvas) in colour blend mode. Lightened 3 Nov (Hasan: "the treatment is too
   strong"): photos keep most of their colour, the tint sits at 20%. Nudged up the same day ("slightly stronger"): 78% saturation, tint at 30%. The site's one gradient language, so no CSS
   gradients; any photo dropped in later gets the same treatment */
.feat__img, .art__cover { isolation: isolate; }
.feat__img img, .art__cover img { filter: saturate(.78); }
.feat__img .tint, .art__cover .tint { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; mix-blend-mode: color; opacity: .3; pointer-events: none; }
.feat__img::after, .art__cover::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(13, 28, 66, .03); }
.feat__tag { z-index: 2; }

/* hover: the photo eases in a touch, the title turns the brand's deep teal (no underline, Hasan 2 Nov) */
@media (hover: hover) {
  .art:hover .art__cover img, .feat__link:hover .feat__img img { transform: scale(1.04); }
  .art:hover .art__title, .feat__link:hover .feat__title { color: #0E9E8A; }
  .feat__link:hover .ui-btn__label { background: var(--b-bg-h); }
  .feat__link:hover .ui-btn__arrows svg { transform: translateX(18px); }
  .feat__link:hover .roll__in { transform: translateY(-1.2em); }
}

@media (max-width: 1024px) {
  .feat__words { grid-template-columns: 1fr; }
  .feat__side { padding-top: 0; }
  .feat__img { aspect-ratio: 16 / 9; }
  .arts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .arts__grid { grid-template-columns: 1fr; }
  .feat__img { aspect-ratio: 4 / 3; border-radius: 18px; }
  }
