/* MotoAmerica combined component CSS - extracted verbatim from Code Snippets.
   Rule order preserved per snippet. */

/* ===== Calendar (All Rounds) ===== */
.ma-round-admin-field {
        margin-bottom: 18px;
      }

      .ma-round-admin-field label {
        display: block;
        font-weight: 700;
        margin-bottom: 6px;
      }

      .ma-round-admin-field input,
      .ma-round-admin-field select,
      .ma-round-admin-field textarea {
        width: 100%;
        max-width: 760px;
      }

      .ma-round-note {
        color: #666;
        font-size: 12px;
        margin-top: 5px;
      }

      .ma-round-shortcode-box {
        background: #f6f7f7;
        border: 1px solid #dcdcde;
        border-left: 4px solid #C8102E;
        padding: 14px 16px;
        margin-bottom: 22px;
        max-width: 790px;
      }

      .ma-round-shortcode-box h3 {
        margin: 0 0 8px;
        font-size: 14px;
      }

      .ma-round-shortcode-box input {
        width: 100%;
        max-width: 760px;
        font-family: monospace;
      }

      .ma-round-auto-note {
        background: #eef6ff;
        border: 1px solid #cfe3fb;
        border-left: 4px solid #151A52;
        padding: 12px 16px;
        margin-bottom: 22px;
        max-width: 790px;
        font-size: 13px;
        line-height: 1.5;
      }

      .ma-round-date-row {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
        max-width: 760px;
      }

      .ma-status-pill {
        display: inline-block;
        padding: 3px 12px;
        border-radius: 999px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        color: #fff;
        letter-spacing: 0.5px;
      }

      .ma-status-pill.up   { background: #151A52; }
      .ma-status-pill.live { background: #C8102E; }
      .ma-status-pill.fin  { background: #666666; }
      .ma-status-pill.none { background: #b9b9bf; }

      .ma-media-preview-wrap {
        margin-top: 12px;
      }

      .ma-media-preview {
        max-width: 260px;
        height: auto;
        border-radius: 8px;
        border: 1px solid #ddd;
        background: #fff;
      }

      .ma-small-preview {
        max-width: 90px;
        max-height: 50px;
        object-fit: contain;
        padding: 6px;
      }

      .ma-class-checks {
        display: grid;
        grid-template-columns: repeat(3, minmax(160px, 1fr));
        gap: 8px;
        max-width: 760px;
        background: #f6f7f7;
        border: 1px solid #ddd;
        padding: 14px;
        border-radius: 6px;
      }

      .ma-class-checks label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 600;
        margin: 0;
      }

      .ma-class-checks input {
        width: auto;
      }

      @media (max-width: 782px) {
        .ma-class-checks {
          grid-template-columns: 1fr;
        }
        .ma-round-date-row {
          grid-template-columns: 1fr;
        }
      }

/* ===== Championship Standings (home) ===== */
.ma-admin-box {
        background: #f6f7f7;
        border: 1px solid #dcdcde;
        border-left: 4px solid #C8102E;
        padding: 14px 16px;
        margin-bottom: 22px;
        max-width: 980px;
      }

      .ma-admin-box h3 {
        margin: 0 0 8px;
        font-size: 14px;
      }

      .ma-admin-field {
        margin-bottom: 18px;
      }

      .ma-admin-field label,
      .ma-standing-grid-2 label,
      .ma-standing-row-grid label {
        display: block;
        font-weight: 700;
        font-size: 12px;
      }

      .ma-admin-field input,
      .ma-standing-grid-2 input,
      .ma-standing-row-grid input {
        width: 100%;
        margin-top: 5px;
      }

      .ma-standing-grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        margin-bottom: 14px;
      }

      .ma-standing-class-block {
        max-width: 1100px;
        background: #ffffff;
        border: 1px solid #dcdcde;
        border-radius: 8px;
        padding: 16px;
        margin-bottom: 18px;
      }

      .ma-standing-class-head,
      .ma-standing-row-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
      }

      .ma-standing-row {
        background: #f8f8f8;
        border: 1px solid #e2e2e2;
        border-radius: 8px;
        padding: 12px;
        margin-bottom: 12px;
      }

      .ma-standing-row-grid {
        display: grid;
        grid-template-columns: 70px 80px 1.4fr 1.4fr 1.3fr 1fr 90px 90px 100px;
        gap: 10px;
        align-items: end;
      }

      .ma-photo-field {
        display: grid;
        grid-template-columns: 1fr auto auto;
        gap: 6px;
      }

      .ma-rider-photo-preview,
      .ma-flag-image-preview {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        object-fit: cover;
        margin-top: 8px;
        background: #ffffff;
        border: 1px solid #ddd;
      }

      .ma-flag-image-preview {
        width: 28px;
        height: 20px;
        border-radius: 3px;
      }

      .ma-admin-note {
        color: #666;
        font-size: 12px;
        margin-top: 4px;
      }

      @media (max-width: 1100px) {
        .ma-standing-row-grid {
          grid-template-columns: 1fr 1fr;
        }
      }

      @media (max-width: 782px) {
        .ma-standing-grid-2,
        .ma-standing-row-grid {
          grid-template-columns: 1fr;
        }

        .ma-standing-class-head,
        .ma-standing-row-top {
          align-items: flex-start;
          flex-direction: column;
        }

        .ma-photo-field {
          grid-template-columns: 1fr;
        }
      }

/* ===== Feature Sections (Home) ===== */
.ma-admin-field {
        margin-bottom: 18px;
      }

      .ma-admin-field label {
        display: block;
        font-weight: 700;
        margin-bottom: 6px;
      }

      .ma-admin-field input,
      .ma-admin-field textarea,
      .ma-admin-field select {
        width: 100%;
        max-width: 720px;
      }

      .ma-admin-field textarea {
        min-height: 90px;
      }

      .ma-admin-note {
        color: #666;
        font-size: 12px;
        margin-top: 4px;
      }

      .ma-upload-feature-media-btn {
        margin-top: 8px !important;
      }

      .ma-feature-admin-preview {
        display:block;
        width:320px;
        max-width:100%;
        height:150px;
        margin-top:12px;
        object-fit:cover;
        border:1px solid #dcdcde;
        border-radius:8px;
        background:#f6f7f7;
      }

      .ma-generated-shortcode-box {
        background: #f6f7f7;
        border: 1px solid #dcdcde;
        border-left: 4px solid #C8102E;
        padding: 14px 16px;
        margin-bottom: 22px;
        max-width: 760px;
      }

      .ma-generated-shortcode-box h3 {
        margin: 0 0 8px;
        font-size: 14px;
        font-weight: 700;
      }

      .ma-generated-shortcode-box input {
        width: 100%;
        max-width: 720px;
        font-family: monospace;
        font-size: 13px;
        background: #fff;
      }

      .ma-shortcode-small {
        margin-top: 10px;
      }

/* ===== Latest Videos section(Home) ===== */
.ma-admin-field {
        margin-bottom: 18px;
      }

      .ma-admin-field label {
        display: block;
        font-weight: 700;
        margin-bottom: 6px;
      }

      .ma-admin-field input {
        width: 100%;
        max-width: 620px;
      }

      .ma-admin-note {
        color: #666;
        font-size: 12px;
        margin-top: 4px;
      }

      .ma-upload-video-btn {
        margin-top: 8px !important;
      }

/* ===== ma_race_replays page ===== */
.ma-vp-admin-field { margin-bottom: 16px; }
      .ma-vp-admin-field label { display: block; font-weight: 700; margin-bottom: 6px; }
      .ma-vp-admin-field input, .ma-vp-admin-field select { width: 100%; max-width: 620px; }
      .ma-vp-admin-note { color: #666; font-size: 12px; margin-top: 4px; }

/* ===== MotoAmerica News Detail Layout ===== */
body.single-post {
            background: #ffffff !important;
        }

        /* ================================
           REMOVE TOP POST BANNER EXACTLY
           ================================ */

        body.single-post header.page-header.background-image-page-header,
        body.single-post .page-header.background-image-page-header,
        body.single-post main#main > header.page-header,
        body.single-post #main > header.page-header.background-image-page-header,
        body.single-post .page-header,
        body.single-post .background-image-page-header,
        body.single-post .page-header-inner,
        body.single-post .background-image-page-header-overlay,
        body.single-post .page-header-title,
        body.single-post .page-title-area,
        body.single-post .page-title-wrapper,
        body.single-post .page-title-section,
        body.single-post .post-title-section,
        body.single-post .entry-header,
        body.single-post .entry-hero,
        body.single-post .entry-banner,
        body.single-post .post-hero,
        body.single-post .single-post-hero,
        body.single-post .single-hero,
        body.single-post .inner-hero,
        body.single-post .inner-banner,
        body.single-post .page-banner,
        body.single-post .post-banner,
        body.single-post .title-banner,
        body.single-post .breadcrumb-banner,
        body.single-post .breadcrumb-area,
        body.single-post .breadcrumbs-area,
        body.single-post .motoamerica-page-title,
        body.single-post .motoamerica-post-hero,
        body.single-post .hero-section,
        body.single-post .default-hero,
        body.single-post .single-title-wrapper {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
            height: 0 !important;
            min-height: 0 !important;
            max-height: 0 !important;
            padding: 0 !important;
            margin: 0 !important;
            overflow: hidden !important;
            background-image: none !important;
        }

        .ma-news-detail-page,
        .ma-news-detail-page * {
            box-sizing: border-box;
        }

        .ma-news-detail-page {
            width: 100%;
            background: #ffffff;
            color: #333333;
            font-family: "Inter", Arial, sans-serif;
            overflow: hidden;
        }

        /* Back To News — aligned with header content (starts under "Live") */
        .ma-back-section {
            width: 100%;
            background: #ffffff;
            border-bottom: 1px solid #e5e5e5;
        }

        .ma-back-inner {
            width: 100%;
            max-width: 1420px;
            margin: 0 auto;
            padding: 16px 40px;
        }

        .ma-back-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: #666666 !important;
            font-family: "Inter", Arial, sans-serif;
            font-size: 14px;
            font-weight: 600;
            line-height: 21px;
            text-decoration: none !important;
        }

        .ma-back-link:hover {
            color: #C8102E !important;
        }

        /* Article — aligned with header content (matches back-link container) */
        .ma-article-wrap {
            width: 100%;
            max-width: 1420px;
            margin: 0 auto;
            padding: 48px 40px 78px;
        }

        .ma-news-category {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #C8102E;
            color: #ffffff;
            font-family: "Inter", Arial, sans-serif;
            font-size: 11px;
            font-weight: 700;
            line-height: 16.5px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            border-radius: 999px;
            padding: 8px 22px;
            margin: 0 0 28px;
        }

        .ma-news-title {
            color: #091055;
            font-family: "Bebas Neue", Arial, sans-serif;
            font-size: 56px;
            font-weight: 400;
            line-height: 61.6px;
            text-transform: uppercase;
            margin: 0 0 38px;
        }

        .ma-news-meta-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            margin: 0 0 28px;
            padding-bottom: 22px;
            border-bottom: 1px solid #e5e5e5;
        }

        .ma-news-meta {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            color: #999999;
            font-family: "Inter", Arial, sans-serif;
            font-size: 14px;
            font-weight: 400;
            line-height: 21px;
        }

        .ma-meta-item {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .ma-meta-item svg {
            width: 17px;
            height: 17px;
            stroke: #999999;
            flex-shrink: 0;
        }

        .ma-news-share {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-shrink: 0;
            color: #999999;
            font-family: "Inter", Arial, sans-serif;
            font-size: 14px;
            font-weight: 400;
            line-height: 21px;
        }

        .ma-news-share a {
            color: #777777 !important;
            text-decoration: none !important;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .ma-news-share a:hover {
            color: #C8102E !important;
        }

        .ma-news-share svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
        }

        .ma-news-featured {
            width: 100%;
            margin: 0 0 34px;
            overflow: hidden;
            background: #eeeeee;
            border-radius: 10px;
        }

        .ma-news-featured img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
            border-radius: 10px;
        }

        .ma-news-content,
        .ma-news-content p {
            color: #333333;
            font-family: "Inter", Arial, sans-serif;
            font-size: 18px;
            font-weight: 400;
            line-height: 32.4px;
        }

        .ma-news-content p {
            margin: 0 0 24px;
        }

        .ma-news-content h2,
        .ma-news-content h3,
        .ma-news-content h4 {
            color: #091055;
            font-family: "Barlow Condensed", Arial, sans-serif;
            font-size: 28px;
            font-weight: 700;
            line-height: 42px;
            text-transform: uppercase;
            margin: 36px 0 12px;
        }

        .ma-news-content a {
            color: #C8102E;
            font-weight: 700;
        }

        .ma-news-content img {
            max-width: 100%;
            height: auto;
        }

        .ma-news-content figure,
        .ma-news-content .wp-caption,
        .ma-news-content .wp-block-image,
        .ma-news-content .alignleft,
        .ma-news-content .alignright,
        .ma-news-content .aligncenter {
            float: none !important;
            width: 100% !important;
            max-width: 100% !important;
            margin: 32px 0 !important;
        }

        .ma-news-content figcaption,
        .ma-news-content .wp-caption-text {
            color: #666666;
            font-family: "Inter", Arial, sans-serif;
            font-size: 12px;
            line-height: 18px;
            text-align: center;
            margin-top: 8px;
        }

        /* Related Articles */
        .ma-related-section {
            width: 100%;
            background: #F4F4F4;
            padding: 60px 40px 76px;
        }

        .ma-related-inner {
            width: 100%;
            max-width: 1620px;
            margin: 0 auto;
        }

        .ma-related-heading {
            color: #091055;
            font-family: "Bebas Neue", Arial, sans-serif;
            font-size: 48px;
            font-weight: 400;
            line-height: 42px;
            text-transform: uppercase;
            margin: 0 0 32px;
        }

        .ma-related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .ma-related-card {
            display: block;
            background: #ffffff;
            color: inherit;
            text-decoration: none !important;
            border: 1px solid #E8E8E8;
            border-radius: 4px;
            overflow: hidden;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .ma-related-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 14px 28px rgba(9, 16, 85, 0.10);
        }

        /* ================================
           RELATED CARD IMAGE + BADGE
           Matches news grid style (slanted shape from Frame-76.webp)
           ================================ */
        .ma-related-thumb {
            height: 205px !important;
            position: relative !important;
            width: 100% !important;
            background: #dddddd !important;
            overflow: hidden !important;
        }

        .ma-related-thumb img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            display: block !important;
        }

        /* Slanted badge bottom-left (uses Frame-76.webp like the news grid) */
        .ma-related-icon {
            position: absolute !important;
            left: 0 !important;
            bottom: -1px !important;
            width: 44px !important;
            height: 30px !important;
            display: flex !important;
            align-items: flex-end !important;
            justify-content: flex-start !important;
            z-index: 10 !important;
            overflow: hidden !important;
            line-height: 0 !important;
            font-size: 0 !important;
            background: transparent !important;
            border-radius: 0 !important;
        }

        .ma-related-icon img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
            display: block !important;
            vertical-align: bottom !important;
        }

        .ma-related-label {
            position: absolute;
            top: 14px;
            left: 14px;
            background: #C8102E;
            color: #ffffff;
            font-family: "Inter", Arial, sans-serif;
            font-size: 11px;
            font-weight: 700;
            line-height: 16.5px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            border-radius: 999px;
            padding: 7px 16px;
            z-index: 6;
        }

        .ma-related-body {
            padding: 22px 22px 24px;
        }

        .ma-related-title {
            color: #091055;
            font-family: "Inter", Arial, sans-serif;
            font-size: 18.77px;
            font-weight: 700;
            line-height: 25.3px;
            text-transform: none;
            margin: 0 0 12px;
        }

        .ma-related-excerpt {
            color: #666666;
            font-family: "Inter", Arial, sans-serif;
            font-size: 11.89px;
            font-weight: 400;
            line-height: 19px;
            margin: 0 0 16px;

            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .ma-related-meta {
            color: #AAAAAA;
            font-family: "Inter", Arial, sans-serif;
            font-size: 16.09px;
            font-weight: 400;
            line-height: 24.1px;
        }

        @media (max-width: 1024px) {
            .ma-news-title {
                font-size: 48px;
                line-height: 52px;
            }

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

        @media (max-width: 767px) {
            .ma-back-inner {
                padding: 12px 16px;
            }

            .ma-article-wrap {
                padding: 36px 16px 56px;
            }

            .ma-news-title {
                font-size: 40px;
                line-height: 44px;
                margin-bottom: 26px;
            }

            .ma-news-meta-row {
                flex-direction: column;
                align-items: flex-start;
                gap: 14px;
            }

            .ma-news-content,
            .ma-news-content p {
                font-size: 16px;
                line-height: 28px;
            }

            .ma-news-content h2,
            .ma-news-content h3,
            .ma-news-content h4 {
                font-size: 25px;
                line-height: 34px;
            }

            .ma-related-section {
                padding: 42px 16px 56px;
            }

            .ma-related-heading {
                font-size: 40px;
                line-height: 40px;
            }

            .ma-related-grid {
                grid-template-columns: 1fr;
            }

            .ma-related-thumb {
                height: 210px !important;
            }

            .ma-related-title {
                font-size: 18px;
                line-height: 25px;
            }

            .ma-related-meta {
                font-size: 14px;
                line-height: 21px;
            }
        }

/* ===== MotoAmerica Upcoming Race Feature – Calendar Sync ===== */
.ma-urf-admin-box{max-width:900px}
          .ma-urf-field{margin:0 0 18px}
          .ma-urf-field label{display:block;font-weight:700;margin:0 0 7px}
          .ma-urf-field input[type=text],
          .ma-urf-field input[type=url],
          .ma-urf-field select{width:100%;max-width:760px}
          .ma-urf-note{margin:6px 0 0;color:#646970;font-size:12px;line-height:1.5}
          .ma-urf-shortcode{padding:14px 16px;margin:0 0 22px;border:1px solid #dcdcde;border-left:4px solid #C8102E;background:#f6f7f7}
          .ma-urf-shortcode input{width:100%;max-width:760px;font-family:monospace;background:#fff}
          .ma-urf-preview{display:block;width:340px;max-width:100%;height:180px;object-fit:cover;margin:12px 0 0;border:1px solid #dcdcde;border-radius:10px;background:#f6f7f7}
          .ma-urf-inline{display:flex;gap:14px;align-items:center;flex-wrap:wrap}

/* ===== Rider Section (Home) ===== */
.ma-admin-field {
        margin-bottom: 18px;
      }

      .ma-admin-field label {
        display: block;
        font-weight: 700;
        margin-bottom: 6px;
      }

      .ma-admin-field input {
        width: 100%;
        max-width: 520px;
      }

      .ma-admin-note {
        color: #666;
        font-size: 12px;
        margin-top: 4px;
      }

/* ===== Unified Round Detail Page ===== */
.ma-ur-box { border:1px solid #dcdcde; border-radius:8px; padding:18px; margin:0 0 18px; background:#fff; }
          .ma-ur-box h3 { margin:0 0 14px; }
          .ma-ur-note { color:#666; font-size:12px; margin:6px 0 12px; }
          .ma-ur-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
          .ma-ur-field { margin-bottom:14px; }
          .ma-ur-field label { display:block; font-weight:700; margin-bottom:6px; }
          .ma-ur-field input, .ma-ur-field textarea, .ma-ur-field select { width:100%; }
          .ma-ur-admin-row { display:grid; gap:10px; align-items:center; padding:10px; background:#f6f7f7; border:1px solid #ddd; border-radius:6px; margin-bottom:10px; }
          .ma-ur-admin-row input, .ma-ur-admin-row textarea, .ma-ur-admin-row select { width:100%; min-height:38px; }
          .ma-ur-schedule-row { min-width:1580px; grid-template-columns:130px 110px 80px 160px 260px 210px 145px 145px 160px 90px; }
          .ma-ur-watch-schedule-row { min-width:1260px; grid-template-columns:130px 110px 80px 160px 260px 210px 220px 90px; }
          .ma-ur-schedule-wrap, .ma-ur-race-schedule-wrap, .ma-ur-fan-schedule-wrap, .ma-ur-watch-schedule-wrap, .ma-ur-entry-wrap { overflow-x:auto; padding-bottom:10px; }
          .ma-ur-schedule-import { padding:18px; margin:0 0 22px; border:1px solid #b9c8e8; border-left:4px solid #0057B8; border-radius:8px; background:#f4f8ff; }
          .ma-ur-schedule-import input[type=file] { width:100%; max-width:620px; }
          .ma-ur-info-row { grid-template-columns:1fr 2fr 90px; }
          .ma-ur-block-row { min-width:1320px; grid-template-columns:minmax(240px,1fr) minmax(260px,1.1fr) 110px 80px 145px 155px 90px; }
          .ma-ur-block-row textarea { min-height:150px; }
          .ma-ur-rich-editor-wrap { grid-column:1 / -2; width:100%; min-width:0; align-self:stretch; }
          .ma-ur-rich-editor-wrap .wp-editor-wrap,
          .ma-ur-rich-editor-wrap .wp-editor-container { width:100%; max-width:none; }
          .ma-ur-rich-editor-wrap .wp-editor-area { width:100% !important; min-height:220px; }
          .ma-ur-rich-editor-wrap .mce-tinymce,
          .ma-ur-rich-editor-wrap .mce-container,
          .ma-ur-rich-editor-wrap .mce-container-body { max-width:100%; }
          .ma-ur-block-row > .ma-ur-remove-row { grid-column:-2 / -1; align-self:stretch; }
          .ma-ur-blocks-wrap { overflow-x:auto; padding-bottom:10px; }
          .ma-ur-block-preview { width:70px; height:52px; object-fit:cover; border-radius:6px; }
          .ma-ur-card-row { grid-template-columns:1fr 100px 80px 1fr 90px; }
          .ma-ur-card-row textarea { grid-column:1 / -1; min-height:120px; }
          .ma-ur-gallery-row { grid-template-columns:1fr 100px 90px 90px; }
          .ma-ur-stat-row, .ma-ur-turn-row, .ma-ur-tab-row { grid-template-columns:1fr 1fr 90px; }
          .ma-ur-entry-row { min-width:1080px; grid-template-columns:minmax(300px,1.35fr) minmax(210px,.8fr) minmax(420px,1.5fr) 90px; align-items:stretch; }
          .ma-ur-entry-admin-field { display:flex; flex-direction:column; gap:6px; min-width:0; }
          .ma-ur-entry-admin-field label { font-weight:700; color:#1d2327; }
          .ma-ur-entry-admin-field select { width:100%; min-height:42px; }
          .ma-ur-entry-rider-search-wrap { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:6px; align-items:center; }
          .ma-ur-entry-rider-search-wrap input[type="search"] { width:100%; min-width:0; min-height:38px; padding-right:10px; }
          .ma-ur-entry-rider-search-wrap .button { min-height:38px; padding:0 12px; display:inline-flex; align-items:center; justify-content:center; }
          .ma-ur-entry-rider-search-button { background:#091055 !important; border-color:#091055 !important; color:#fff !important; }
          .ma-ur-entry-rider-search-button:hover,
          .ma-ur-entry-rider-search-button:focus { background:#C8102E !important; border-color:#C8102E !important; color:#fff !important; }
          .ma-ur-entry-rider-search-clear { color:#50575e !important; }
          .ma-ur-entry-rider-search-count { min-height:16px; color:#646970; font-size:11px; line-height:1.4; }
          @media(max-width:1280px) {
            .ma-ur-entry-rider-search-wrap { grid-template-columns:minmax(0,1fr) auto; }
            .ma-ur-entry-rider-search-clear { grid-column:1 / -1; justify-self:start; }
          }
          .ma-ur-entry-admin-preview { display:flex; align-items:center; gap:12px; min-width:0; padding:9px 12px; background:#fff; border:1px solid #dcdcde; border-radius:6px; }
          .ma-ur-entry-admin-preview > div { min-width:0; display:grid; grid-template-columns:auto auto; gap:2px 8px; align-items:center; }
          .ma-ur-entry-admin-preview strong { color:#091055; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
          .ma-ur-entry-admin-preview small { grid-column:1 / -1; color:#646970; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
          .ma-ur-entry-preview-number { color:#C8102E; font-weight:800; }
          .ma-ur-entry-rider-photo { width:48px; height:48px; border-radius:50%; object-fit:cover; background:#eef0f6; flex:0 0 48px; }
          .ma-ur-entry-rider-flag { width:30px; height:20px; object-fit:cover; border:1px solid #dcdcde; border-radius:3px; flex:0 0 30px; }
          .ma-ur-preview { width:70px; height:46px; object-fit:cover; border-radius:6px; background:#fff; border:1px solid #ddd; }
          .ma-ur-rider-preview { width:38px; height:38px; border-radius:50%; }
          .ma-ur-flag-preview { width:38px; height:24px; object-fit:contain; }
          .ma-ur-track-outline-preview-wrap { display:inline-flex; align-items:center; justify-content:center; min-width:150px; min-height:92px; margin-top:10px; padding:14px; border-radius:8px; background:#091055; border:1px solid #dcdcde; }
          .ma-ur-track-outline-preview { width:120px; height:64px; object-fit:contain; border:0; background:transparent; }
          .ma-ur-hero-bg-preview { width:320px; max-width:100%; height:140px; object-fit:cover; border-radius:8px; border:1px solid #dcdcde; background:#f6f7f7; display:block; margin-top:10px; }
          @media(max-width:1100px) {
            .ma-ur-grid-2,.ma-ur-info-row,.ma-ur-block-row,.ma-ur-card-row,.ma-ur-gallery-row,.ma-ur-stat-row,.ma-ur-turn-row,.ma-ur-tab-row { grid-template-columns:1fr; }
            .ma-ur-rich-editor-wrap,.ma-ur-block-row > .ma-ur-remove-row,.ma-ur-card-row textarea { grid-column:auto; }
          }

/* ===== Unified Round Detail Page ===== */
.ma-ur-page .ma-ur-srow.ma-row-live .ma-ur-srow-actions {
        gap: 12px !important;
        align-items: center !important;
      }

      .ma-ur-page .ma-ur-srow.ma-row-live .ma-ur-live-chip {
        height: 27px !important;
        min-height: 27px !important;
        padding: 0 13px !important;
        border-radius: 999px !important;
        border: 0.56px solid rgba(200, 16, 46, 0.50) !important;
        background: rgba(200, 16, 46, 0.20) !important;
        color: #FF4757 !important;
        font-family: "Inter", sans-serif !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        letter-spacing: 0.25px !important;
        text-transform: uppercase !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        white-space: nowrap !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.08) !important;
      }

      .ma-ur-page .ma-ur-srow.ma-row-live .ma-ur-live-chip i {
        position: relative !important;
        width: 8px !important;
        height: 8px !important;
        min-width: 8px !important;
        border-radius: 999px !important;
        background: #C8102E !important;
        display: inline-block !important;
        box-shadow: 0 0 10px rgba(200, 16, 46, 0.95) !important;
        animation: maUrLiveBoilCore 1.05s ease-in-out infinite !important;
      }

      .ma-ur-page .ma-ur-srow.ma-row-live .ma-ur-live-chip i::before,
      .ma-ur-page .ma-ur-srow.ma-row-live .ma-ur-live-chip i::after {
        content: "" !important;
        position: absolute !important;
        inset: 50% auto auto 50% !important;
        width: 8px !important;
        height: 8px !important;
        border-radius: 999px !important;
        background: rgba(200, 16, 46, 0.35) !important;
        transform: translate(-50%, -50%) scale(1) !important;
        pointer-events: none !important;
      }

      .ma-ur-page .ma-ur-srow.ma-row-live .ma-ur-live-chip i::before {
        animation: maUrLiveBoilRing 1.25s ease-out infinite !important;
      }

      .ma-ur-page .ma-ur-srow.ma-row-live .ma-ur-live-chip i::after {
        animation: maUrLiveBoilRing 1.25s ease-out infinite 0.45s !important;
      }

      .ma-ur-page .ma-ur-srow.ma-row-live .ma-ur-watch {
        height: 34px !important;
        min-height: 34px !important;
        min-width: 114px !important;
        padding: 0 24px !important;
        border-radius: 999px !important;
        border: 1.67px solid rgba(255, 255, 255, 0.20) !important;
        background: linear-gradient(180deg, #C8102E 0%, #A00024 100%) !important;
        color: #FFFFFF !important;
        font-family: "Inter", sans-serif !important;
        font-size: 11px !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        letter-spacing: 0.15px !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        box-shadow: 0 8px 16px rgba(200, 16, 46, 0.32), inset 0 1px 0 rgba(255,255,255,0.18) !important;
        transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
      }

      .ma-ur-page .ma-ur-srow.ma-row-live .ma-ur-watch:hover {
        background: linear-gradient(180deg, #E01638 0%, #B00029 100%) !important;
        color: #FFFFFF !important;
        border-color: rgba(255, 255, 255, 0.28) !important;
        transform: translateY(-1px) !important;
        filter: brightness(1.04) !important;
        box-shadow: 0 10px 20px rgba(200, 16, 46, 0.42), inset 0 1px 0 rgba(255,255,255,0.22) !important;
      }

      .ma-ur-page .ma-ur-srow.ma-row-live .ma-ur-watch:active {
        transform: translateY(0) !important;
      }

      @keyframes maUrLiveBoilCore {
        0%, 100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(0.78); opacity: 0.85; }
      }

      @keyframes maUrLiveBoilRing {
        0% { transform: translate(-50%, -50%) scale(1); opacity: 0.75; }
        70% { transform: translate(-50%, -50%) scale(2.65); opacity: 0; }
        100% { transform: translate(-50%, -50%) scale(2.65); opacity: 0; }
      }

      @media (max-width: 767px) {
        .ma-ur-page .ma-ur-srow.ma-row-live .ma-ur-srow-actions {
          gap: 8px !important;
          justify-content: flex-start !important;
          flex-wrap: wrap !important;
        }

        .ma-ur-page .ma-ur-srow.ma-row-live .ma-ur-live-chip {
          height: 25px !important;
          min-height: 25px !important;
          padding: 0 11px !important;
          font-size: 10px !important;
          gap: 7px !important;
        }

        .ma-ur-page .ma-ur-srow.ma-row-live .ma-ur-watch {
          height: 32px !important;
          min-height: 32px !important;
          min-width: 106px !important;
          padding: 0 18px !important;
          font-size: 10px !important;
        }
      }

/* ===== Unified Round Detail Page ===== */
/* Event Overview: image height matches text column so no gap remains below copy */
      .ma-ur-page .ma-ur-event-overview.has-image {
        grid-template-columns: minmax(0, 0.5fr) minmax(300px, .75fr) !important;
        gap: 40px !important;
        align-items: stretch !important;
      }

      .ma-ur-page .ma-ur-event-overview-media {
        height: 100% !important;
        display: flex !important;
      }

      .ma-ur-page .ma-ur-event-overview .ma-ur-wide-img {
        width: 100% !important;
        height: 100% !important;
        max-height: 320px !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 8px !important;
        align-self: stretch !important;
      }

      /* Content Blocks: smaller image column so short copy has no big gaps */
      .ma-ur-page .ma-ur-content-block.has-image .ma-ur-content-block-inner {
        grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr) !important;
        gap: 40px !important;
        align-items: center !important;
      }

      /* Image Left blocks: keep the narrow column on the left side */
      .ma-ur-page .ma-ur-content-block.has-image.image-left .ma-ur-content-block-inner {
        grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr) !important;
      }

      .ma-ur-page .ma-ur-content-block-media img {
        max-height: 340px !important;
        object-fit: contain !important;
        object-position: center !important;
      }

      /* Tighter vertical rhythm between blocks */
      .ma-ur-page .ma-ur-content-block { padding-bottom: 30px !important; }
      .ma-ur-page .ma-ur-detail-block { margin-bottom: 30px !important; }

      @media (max-width: 1024px) {
        .ma-ur-page .ma-ur-event-overview.has-image,
        .ma-ur-page .ma-ur-content-block.has-image .ma-ur-content-block-inner {
          grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr) !important;
          gap: 28px !important;
        }

        .ma-ur-page .ma-ur-content-block.has-image.image-left .ma-ur-content-block-inner {
          grid-template-columns: minmax(260px, .85fr) minmax(0, 1fr) !important;
        }
      }

      @media (max-width: 767px) {
        .ma-ur-page .ma-ur-event-overview.has-image,
        .ma-ur-page .ma-ur-content-block.has-image .ma-ur-content-block-inner {
          grid-template-columns: 1fr !important;
          gap: 20px !important;
        }

        .ma-ur-page .ma-ur-event-overview .ma-ur-wide-img,
        .ma-ur-page .ma-ur-content-block-media img {
          max-height: 300px !important;
        }
      }

/* ===== Unified Round Detail Page ===== */
.ma-ur-page .ma-ur-content-block,
      .ma-ur-page .ma-ur-content-block-copy,
      .ma-ur-page .ma-ur-content-block-media,
      .ma-ur-page .ma-ur-content-block-media figure {
        background: transparent !important;
      }

      .ma-ur-page .ma-ur-content-block .ma-ur-highlight-box,
      .ma-ur-page .ma-ur-content-block.is-highlight .ma-ur-highlight-box {
        background: transparent !important;
        border-radius: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
      }

      .ma-ur-page .ma-ur-content-block-media img {
        background: transparent !important;
        box-shadow: none !important;
      }

      .ma-ur-page .ma-ur-content-block.has-image .ma-ur-content-block-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr) !important;
        grid-template-areas: "copy media" !important;
        align-items: start !important;
        gap: 40px !important;
      }

      .ma-ur-page .ma-ur-content-block.has-image.image-right .ma-ur-content-block-inner {
        grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr) !important;
        grid-template-areas: "copy media" !important;
      }

      .ma-ur-page .ma-ur-content-block.has-image.image-left .ma-ur-content-block-inner {
        grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr) !important;
        grid-template-areas: "media copy" !important;
      }

      .ma-ur-page .ma-ur-content-block-copy {
        grid-area: copy !important;
        min-width: 0 !important;
        order: initial !important;
      }

      .ma-ur-page .ma-ur-content-block-media {
        grid-area: media !important;
        min-width: 0 !important;
        margin: 0 !important;
        order: initial !important;
      }

      @media (max-width: 1024px) {
        .ma-ur-page .ma-ur-content-block.has-image.image-right .ma-ur-content-block-inner {
          grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr) !important;
          grid-template-areas: "copy media" !important;
        }

        .ma-ur-page .ma-ur-content-block.has-image.image-left .ma-ur-content-block-inner {
          grid-template-columns: minmax(260px, .85fr) minmax(0, 1fr) !important;
          grid-template-areas: "media copy" !important;
        }
      }

      @media (max-width: 767px) {
        .ma-ur-page .ma-ur-content-block.has-image .ma-ur-content-block-inner {
          grid-template-columns: 1fr !important;
          gap: 22px !important;
        }

        .ma-ur-page .ma-ur-content-block.has-image.image-right .ma-ur-content-block-inner {
          grid-template-areas:
            "copy"
            "media" !important;
        }

        .ma-ur-page .ma-ur-content-block.has-image.image-left .ma-ur-content-block-inner {
          grid-template-areas:
            "media"
            "copy" !important;
        }
      }

/* ===== post dynamics (home) ===== */
.ma-news-strip-dynamic,
    .ma-news-strip-dynamic * {
      box-sizing: border-box;
    }

    .ma-news-strip-dynamic {
      width: 100%;
      max-width: 100%;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      background: #ffffff;
      font-family: "Inter" !important;
      overflow: visible;
      border: 0 !important;
      border-top: 0 !important;
      border-bottom: 0 !important;
      box-shadow: none !important;
      outline: none !important;
    }

    .ma-news-card-dynamic {
      position: relative;
      display: grid;
      grid-template-columns: 122px minmax(0, 1fr);
      gap: 16px;
      align-items: center;
      padding: 25px 24px;
      text-decoration: none !important;
      background: #ffffff;
      border-top: 0 !important;
      border-bottom: 0 !important;
      border-right: 0 !important;
      border-left: 1px solid rgba(11, 17, 83, 0.10);
      box-shadow: none;
      outline: none;
      transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
      z-index: 1;
      transform: translateY(0) scale(1);
      min-width: 0;
    }

    .ma-news-card-dynamic:first-child {
      border-left: 0 !important;
      margin-left: -15px !important;
    }

    .ma-news-card-dynamic:hover,
    .ma-news-card-dynamic:focus-visible {
      background: #ffffff;
      transform: translateY(-3px) scale(1.012);
      box-shadow: 0 8px 20px rgba(11, 17, 83, 0.07);
      z-index: 5;
      border-radius: 10px;
    }

    .ma-news-card-dynamic:active {
      transform: translateY(-2px) scale(1.006);
      box-shadow: 0 6px 16px rgba(11, 17, 83, 0.06);
      border-radius: 10px;
    }

    .ma-news-img-wrap {
      width: 122px;
      height: 82px;
      border-radius: 4px;
      overflow: hidden;
      position: relative;
      background: #ddd;
      flex-shrink: 0;
      line-height: 0 !important;
      font-size: 0 !important;
    }

    .ma-news-img-wrap > img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      vertical-align: bottom;
      transition: transform 0.35s ease;
    }

    .ma-news-card-dynamic:hover .ma-news-img-wrap > img {
      transform: scale(1.05);
    }

    .ma-news-badge {
      position: absolute;
      left: 0;
      bottom: -1px;
      width: 45px;
      height: 30px;
      display: flex;
      align-items: flex-end;
      justify-content: flex-start;
      z-index: 5;
      background: transparent !important;
      border: 0 !important;
      border-radius: 0 !important;
      clip-path: none !important;
      overflow: hidden;
      line-height: 0 !important;
      font-size: 0 !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    .ma-news-badge img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: left bottom;
      vertical-align: bottom;
      transform: none !important;
      margin: 0 !important;
      padding: 0 !important;
      line-height: 0 !important;
    }

    .ma-video-badge {
      position: absolute;
      left: 0;
      bottom: -1px;
      min-width: 76px;
      height: 30px;
      background: #0B1153;
      color: #ffffff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      font-family: "Inter" !important;
      font-size: 14px;
      font-weight: 800;
      border-top-right-radius: 10px;
      z-index: 5;
      line-height: 1;
    }

    .ma-video-badge svg {
      width: 13px;
      height: 13px;
      fill: currentColor;
    }

    .ma-news-content {
      min-width: 0;
      width: 100%;
    }

    .ma-news-content h3 {
      margin: 0 0 8px;
      color: #0B1153;
      font-family: "Inter" !important;
      font-size: 19px;
      font-weight: 600;
      line-height: 1.1;
      letter-spacing: -0.2px;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }

    .ma-news-content p {
      margin: 0;
      color: #AAAAAA;
      font-family: "Inter" !important;
      font-size: 15px;
      font-weight: 300;
      line-height: 1.3;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .ma-news-strip-empty {
      background: #ffffff;
      color: #0B1153;
      padding: 24px;
      font-family: "Inter" !important;
      font-size: 16px;
      font-weight: 600;
      border: 0 !important;
    }

    /* Laptop / tablet */
    @media (max-width: 1200px) {
      .ma-news-strip-dynamic {
        grid-template-columns: 1fr;
        border: 0 !important;
      }

      .ma-news-card-dynamic {
        grid-template-columns: 132px minmax(0, 1fr);
        padding: 22px 20px;
        border-left: 0 !important;
        border-top: 0 !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(11, 17, 83, 0.10) !important;
      }

      .ma-news-card-dynamic:last-child {
        border-bottom: 0 !important;
      }

      .ma-news-card-dynamic:first-child {
        border-left: 0 !important;
        margin-left: 0px !important;
      }

      .ma-news-img-wrap {
        width: 132px;
        height: 84px;
      }
    }

    /* Mobile: one active card, swipe left/right */
    @media (max-width: 767px) {
      .ma-news-strip-dynamic {
        display: flex !important;
        grid-template-columns: none !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        background: #ffffff !important;
        border: 0 !important;
        box-shadow: none !important;
      }

      .ma-news-strip-dynamic::-webkit-scrollbar {
        display: none !important;
      }

      .ma-news-strip-dynamic {
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
      }

      .ma-news-card-dynamic {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
        display: grid !important;
        grid-template-columns: 118px minmax(0, 1fr) !important;
        gap: 14px !important;
        align-items: center !important;
        padding: 18px 18px !important;
        margin-left: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
        border-top: 0 !important;
        border-bottom: 0 !important;
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        transition: none !important;
      }

      .ma-news-card-dynamic:first-child {
        margin-left: 0 !important;
      }

      .ma-news-card-dynamic:hover,
      .ma-news-card-dynamic:focus,
      .ma-news-card-dynamic:focus-visible,
      .ma-news-card-dynamic:active {
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: #ffffff !important;
      }

      .ma-news-card-dynamic:hover .ma-news-img-wrap > img,
      .ma-news-card-dynamic:active .ma-news-img-wrap > img {
        transform: none !important;
      }

      .ma-news-img-wrap {
        width: 118px !important;
        height: 76px !important;
      }

      .ma-news-content h3 {
        font-size: 17px !important;
        font-weight: 700 !important;
        font-family: "Inter" !important;
        line-height: 1.12 !important;
      }

      .ma-news-content p {
        font-size: 15px !important;
      }
    }

    @media (max-width: 520px) {
      .ma-news-card-dynamic {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        grid-template-columns: 98px minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 16px !important;
      }

      .ma-news-img-wrap {
        width: 98px !important;
        height: 68px !important;
      }

      .ma-news-content h3 {
        font-size: 17px !important;
        font-weight: 700 !important;
        font-family: "Inter" !important;
        line-height: 1.12 !important;
        margin-bottom: 7px !important;
      }

      .ma-news-content p {
        font-size: 13px !important;
      }

      .ma-news-badge {
        width: 39px;
        height: 27px;
        bottom: -1px;
      }

      .ma-video-badge {
        min-width: 58px;
        height: 27px;
        font-size: 12px;
        bottom: -1px;
      }
    }

    @media (max-width: 380px) {
      .ma-news-card-dynamic {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        grid-template-columns: 88px minmax(0, 1fr) !important;
        gap: 10px !important;
        padding: 14px !important;
      }

      .ma-news-img-wrap {
        width: 88px !important;
        height: 62px !important;
      }

      .ma-news-content h3 {
        font-size: 17px !important;
        font-weight: 700 !important;
        font-family: "Inter" !important;
        line-height: 1.12 !important;
      }

      .ma-news-content p {
        font-size: 13px !important;
      }

      .ma-news-badge {
        width: 36px;
        height: 25px;
        bottom: -1px;
      }
    }

    /* Disable grow effect on touch devices */
    @media (hover: none) {
      .ma-news-card-dynamic:hover,
      .ma-news-card-dynamic:focus-visible {
        transform: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
      }

      .ma-news-card-dynamic:hover .ma-news-img-wrap > img {
        transform: none !important;
      }
    }
