<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginBottom="12dp"
    app:cardBackgroundColor="@color/bg_surface"
    app:cardCornerRadius="12dp"
    app:cardElevation="0dp"
    app:strokeWidth="1dp"
    app:strokeColor="@color/border">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

        <!-- Header -->
        <TextView
            android:id="@+id/text_matchday_name"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:background="@color/bg_elevated"
            android:fontFamily="@font/font_bebas_neue"
            android:textColor="@color/text_1"
            android:padding="12dp"
            android:text="Jornada 1"
            android:textSize="16sp"
            android:letterSpacing="0.04" />

        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:background="@color/border" />

        <!-- Matches List -->
        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/recycler_matches"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:nestedScrollingEnabled="false"
            tools:itemCount="3"
            tools:listitem="@layout/item_match" />

    </LinearLayout>

</com.google.android.material.card.MaterialCardView>
