
      .uaerf-d7-home, .uaerf-d7-home * { box-sizing: border-box; }
      .uaerf-d7-home {
        --d7-red: #d50032;
        color: #fff;
        position: relative;
        isolation: isolate;
        overflow: hidden;
        min-height: 570px;
        display: flex;
        align-items: center;
        background:
          linear-gradient(90deg, rgba(3,10,20,.96), rgba(3,10,20,.82) 48%, rgba(3,10,20,.34)),
          url("https://uaerugby.ae/wp-content/uploads/2026/11/5393467-1.webp") center / cover no-repeat;
      }
      .uaerf-d7-home[dir="rtl"] {
        background:
          linear-gradient(270deg, rgba(3,10,20,.96), rgba(3,10,20,.82) 48%, rgba(3,10,20,.34)),
          url("https://uaerugby.ae/wp-content/uploads/2026/11/5393467-1.webp") center / cover no-repeat;
      }
      .uaerf-d7-home__inner {
        width: min(1220px, calc(100% - 48px));
        margin: auto;
        padding: 78px 0;
        display: grid;
        grid-template-columns: minmax(0, 1.25fr) minmax(390px, .75fr);
        gap: clamp(30px, 5vw, 70px);
        align-items: center;
      }
      .uaerf-d7-home__eyebrow {
        color: #ff315d; text-transform: uppercase; letter-spacing: .12em;
        font-size: 14px; font-weight: 900; display: flex; gap: 12px; align-items: center;
      }
      .uaerf-d7-home__eyebrow::before {
        content: ""; display: block; width: 42px; height: 3px; background: currentColor;
      }
      .uaerf-d7-home h2 {
        color: #fff !important; margin: 24px 0 !important;
        font-size: clamp(46px, 5.7vw, 88px) !important;
        line-height: 1.03 !important; letter-spacing: -.045em;
      }
      .uaerf-d7-home[dir="rtl"] h2 {
        letter-spacing: 0; line-height: 1.19 !important;
        font-size: clamp(38px, 4.7vw, 70px) !important;
      }
      .uaerf-d7-home__copy p {
        color: #e2e8ef; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.85;
        max-width: 700px; margin: 0;
      }
      .uaerf-d7-home__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
      .uaerf-d7-home__button {
        display: inline-flex; align-items: center; justify-content: center;
        min-height: 52px; padding: 13px 22px; font-size: 14px; font-weight: 800;
        color: #fff !important; text-decoration: none !important;
        border: 1px solid rgba(255,255,255,.45); transition: transform .2s, background .2s;
      }
      .uaerf-d7-home__button:hover { transform: translateY(-2px); }
      .uaerf-d7-home__button--red { border-color: var(--d7-red); background: var(--d7-red); }
      .uaerf-d7-home__button--red:hover { background: #aa0027; }
      .uaerf-d7-home__button--ghost { background: rgba(0,0,0,.16); }
      .uaerf-d7-home__count {
        padding: 30px; background: rgba(9,20,34,.94);
        border: 1px solid rgba(255,255,255,.2);
        box-shadow: 0 25px 70px rgba(0,0,0,.26);
      }
      .uaerf-d7-home__count-head {
        display: flex; justify-content: space-between; gap: 12px;
        align-items: center; font-size: 14px; font-weight: 800;
        letter-spacing: .08em; color: #c8d0da; text-transform: uppercase;
      }
      .uaerf-d7-home__count-head b { color: #fff; font-size: 28px; }
      .uaerf-d7-home__digits {
        display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
        gap: 8px; margin: 24px 0;
      }
      .uaerf-d7-home__digit {
        min-width: 0; padding: 16px 4px; background: #fff; color: #07111f; text-align: center;
      }
      .uaerf-d7-home__digit strong {
        display: block; font: 900 clamp(29px, 3vw, 48px)/1 Arial, sans-serif;
        font-variant-numeric: tabular-nums;
      }
      .uaerf-d7-home__digit span {
        display: block; margin-top: 10px; color: #6d7580;
        font-size: 13px; text-transform: uppercase;
      }
      .uaerf-d7-home__date { font-weight: 900; font-size: 18px; line-height: 1.5; }
      .uaerf-d7-home__note { color: #ffb0c2; margin-top: 6px; font-size: 11px; }
      @media (max-width: 980px) {
        .uaerf-d7-home__inner { grid-template-columns: 1fr; gap: 32px; }
        .uaerf-d7-home__count { max-width: 610px; width: 100%; }
      }
      @media (max-width: 650px) {
        .uaerf-d7-home { min-height: 0; }
        .uaerf-d7-home__inner { width: calc(100% - 28px); padding: 65px 0; }
        .uaerf-d7-home h2 { font-size: 45px !important; }
        .uaerf-d7-home[dir="rtl"] h2 { font-size: 39px !important; }
        .uaerf-d7-home__actions { flex-direction: column; }
        .uaerf-d7-home__button { width: 100%; }
        .uaerf-d7-home__count { padding: 18px; }
        .uaerf-d7-home__date { font-size: 16px; }
        .uaerf-d7-home__digit strong { font-size: clamp(27px, 8vw, 42px); }
      }
    
.uaerf-d7-home [hidden]{display:none!important}
.uaerf-d7-home button,.uaerf-d7-home select{font:inherit}
.uaerf-d7-home button,.uaerf-d7-home a,.uaerf-d7-home select{touch-action:manipulation}
.uaerf-d7-home :focus-visible{outline:3px solid #ffb1c2;outline-offset:4px}
.uaerf-d7-home .d7-first{border-top:1px solid #334154;margin-top:20px;padding-top:16px;font-size:14px;line-height:1.7}
.uaerf-d7-home .d7-first span{display:block;color:#b5c4d7;font-size:13px}
.uaerf-d7-home .d7-first strong{display:block;font-size:16px;line-height:1.6}
.uaerf-d7-home .d7-first bdi{color:#e1e9f5}
.uaerf-d7-home .d7-toggle,.uaerf-d7-home .d7-more{cursor:pointer;background:transparent;color:#fff;border:1px solid #62728a;padding:10px 18px;min-height:44px;font-weight:700}
.uaerf-d7-home .d7-toggle{width:100%;margin-top:16px}
.uaerf-d7-home .d7-toggle:hover,.uaerf-d7-home .d7-more:hover{background:#27374c}
.uaerf-d7-home .d7-panel{min-width:0;padding:26px;background:rgba(9,20,34,.97);border:1px solid #405169;box-shadow:0 25px 70px #0004}
.uaerf-d7-home:not(.d7-in-results) .d7-panel{grid-column:1/-1}
.uaerf-d7-home.d7-in-results .uaerf-d7-home__inner{grid-template-columns:minmax(0,.85fr) minmax(440px,1.15fr);gap:42px}
.uaerf-d7-home.d7-in-results h2{font-size:clamp(42px,4.4vw,66px)!important;line-height:1.1!important}
.uaerf-d7-home[dir=rtl].d7-in-results h2{font-size:clamp(36px,3.8vw,57px)!important;line-height:1.3!important}
.uaerf-d7-home .d7-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.uaerf-d7-home .d7-panel-head h3{color:#fff!important;font-size:23px!important;line-height:1.4!important;margin:0!important}
.uaerf-d7-home .d7-panel-head>span{font:700 18px/1 Arial,sans-serif;color:#ff7b9a}
.uaerf-d7-home .d7-select-label{display:block;color:#bdcbdc;font-size:14px;margin-bottom:6px}
.uaerf-d7-home select.d7-select{background:#fff;color:#142334;width:100%;height:auto;min-height:46px;border:1px solid #bbc7d7;border-radius:0;padding:10px 12px;font-size:16px}
.uaerf-d7-home .d7-types{display:flex;gap:6px;margin-top:14px;flex-wrap:wrap}
.uaerf-d7-home .d7-types button{cursor:pointer;border:1px solid #41526a;background:#15243a;color:#e8eef6;padding:9px 13px;min-height:42px;font-size:14px;font-weight:700}
.uaerf-d7-home .d7-types button[aria-pressed=true]{background:#d50032;border-color:#d50032;color:#fff}
.uaerf-d7-home .d7-source-note{font-size:13px;line-height:1.7;color:#b8c6d8;margin:12px 0 16px}
.uaerf-d7-home .d7-matches{display:grid;gap:10px;max-height:490px;overflow:auto;scrollbar-width:thin;scrollbar-color:#73839b #122036;padding:2px}
.uaerf-d7-home .d7-match{padding:14px 15px;background:#f4f7fb;color:#142334;border:1px solid #d8e1eb;min-width:0}
.uaerf-d7-home .d7-match-top,.uaerf-d7-home .d7-match-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:#52617b;line-height:1.5}
.uaerf-d7-home .d7-match-teams{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:center;text-align:center;margin:12px 0;line-height:1.4}
.uaerf-d7-home .d7-match-teams>strong{font-size:16px;overflow-wrap:anywhere;color:#132438}
.uaerf-d7-home .d7-score{font:800 27px/1 Arial,sans-serif;color:#aa0028;white-space:nowrap}
.uaerf-d7-home .d7-score span{color:#708199;font-weight:400}
.uaerf-d7-home .d7-versus{font-size:14px;color:#67738a}
.uaerf-d7-home .d7-status{font-weight:700;font-size:12px;white-space:nowrap;color:#354c68;background:#e3ebf6;padding:3px 7px}
.uaerf-d7-home .d7-status--final,.uaerf-d7-home .d7-status--score{color:#0d563f;background:#dcefe8}
.uaerf-d7-home .d7-status--live{color:#a40028;background:#ffe1e9}
.uaerf-d7-home .d7-status--postponed,.uaerf-d7-home .d7-status--cancelled{color:#784a00;background:#ffedcc}
.uaerf-d7-home .d7-more{margin-top:12px;font-size:14px}
.uaerf-d7-home .d7-updated{color:#c2cede;font-size:12px;line-height:1.7;margin:16px 0 0}
.uaerf-d7-home .d7-links{border-top:1px solid #34465e;padding-top:14px;margin-top:14px;display:flex;gap:12px 22px;flex-wrap:wrap}
.uaerf-d7-home .d7-links a{font-size:14px;color:#fff!important;text-decoration:underline;text-underline-offset:4px}
.uaerf-d7-home .d7-empty{padding:22px 0;font-size:16px;line-height:1.7;color:#c3d0e2}
.uaerf-d7-home .d7-preview{padding:10px 14px;border:1px dashed #f3b948;background:#312717;color:#ffdf96;font-size:13px;margin-bottom:22px}
.uaerf-d7-home .d7-placing h4{color:#fff!important;font-size:18px!important;margin:18px 0 10px!important}
.uaerf-d7-home .d7-placing p{font-size:14px;line-height:1.7;color:#dce9f6}
@media(max-width:980px){.uaerf-d7-home.d7-in-results .uaerf-d7-home__inner{grid-template-columns:1fr}.uaerf-d7-home .d7-panel{width:100%}.uaerf-d7-home.d7-in-results h2{max-width:700px}}
@media(max-width:650px){.uaerf-d7-home .d7-panel{padding:18px}.uaerf-d7-home .d7-panel-head h3{font-size:21px!important}.uaerf-d7-home .d7-match{padding:12px 10px}.uaerf-d7-home .d7-match-teams{gap:8px}.uaerf-d7-home .d7-match-teams>strong{font-size:15px}.uaerf-d7-home .d7-score{font-size:24px}.uaerf-d7-home .d7-matches{max-height:510px}.uaerf-d7-home .d7-types button{flex:1;padding-inline:8px}}
@media(prefers-reduced-motion:reduce){.uaerf-d7-home *{transition:none!important}}
