:root {
    --primary: #0f6f2a;
    --background-light: #f6f8f6;
    --background-dark: #102213;
    --text-main: #111812;
    --text-muted: #3f5f44;
    --text-soft: #2f4b33;
    --line-soft: #c9d7cb;
    --card-soft: #f0f4f1;
    --danger: #dc2626;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* El header ha d'estar sempre per sobre dels controls del mapa.
   Leaflet assigna z-index fins a 700 (popup pane). El header necessita superar aquest valor. */
#headerBar {
    z-index: 1000;
}

/* Conté tots els z-index interns de Leaflet (tiles, controls, popups) dins del mapa,
   impedint que surtin per sobre d'elements externs com el header. */
#detail-map {
    isolation: isolate;
}

/* Estado activo del juego */
#main-content.game-mode {
    min-height: 100vh;
    flex-direction: column; /* cancela lg:flex-row para que el juego ocupe todo el ancho */
    align-items: stretch;
}

/* Clase que falta en el CSS compilado: necesaria para el game-intro */
.min-h-\[70vh\] {
    min-height: 70vh;
}

/* En modo juego, ocultar el sidebar y la sección del catálogo (el section wrapper, no solo sus hijos) */
#main-content.game-mode > aside,
#main-content.game-mode > section.flex-1:not(#game-view) {
    display: none;
}

/* El game-view ocupa todo el espacio disponible y centra su contenido */
#main-content.game-mode #game-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 3.5rem);
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background-light);
    color: var(--text-main);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.ui-icon {
    display: inline-block;
    line-height: 1;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI Symbol', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
    font-style: normal;
    font-weight: 700;
}

/* Screen reader only - accesibilidad */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.font-display {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.font-sans {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.layout-container,
.layout-content-container {
    width: 100%;
}

.group\/design-root {
    isolation: isolate;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.inline-block {
    display: inline-block;
}

.block {
    display: block;
}

.hidden {
    display: none;
}

.grid {
    display: grid;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

.inset-0 {
    inset: 0;
}

.top-0 {
    top: 0;
}

.top-1\/2 {
    top: 50%;
}

.top-4 {
    top: 1rem;
}

.bottom-10 {
    bottom: 2.5rem;
}

.bottom-4 {
    bottom: 1rem;
}

.left-0 {
    left: 0;
}

.left-1\/2 {
    left: 50%;
}

.left-3 {
    left: 0.75rem;
}

.left-4 {
    left: 1rem;
}

.right-0 {
    right: 0;
}

.right-4 {
    right: 1rem;
}

.left-1\/3 {
    left: 33.333333%;
}

.left-\[25\%\] {
    left: 25%;
}

.left-\[50\%\] {
    left: 50%;
}

.left-\[78\%\] {
    left: 78%;
}

.top-\[35\%\] {
    top: 35%;
}

.top-\[45\%\] {
    top: 45%;
}

.top-\[55\%\] {
    top: 55%;
}

.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

.h-2 {
    height: 0.5rem;
}

.h-4 {
    height: 1rem;
}

.h-10 {
    height: 2.5rem;
}

.h-48 {
    height: 12rem;
}

.h-auto {
    height: auto;
}

.h-full {
    height: 100%;
}

.h-screen {
    height: 100vh;
}

.min-h-screen {
    min-height: 100vh;
}

.min-h-\[320px\] {
    min-height: 320px;
}

.min-h-\[400px\] {
    min-height: 400px;
}

.min-h-\[500px\] {
    min-height: 500px;
}

.h-\[300px\] {
    height: 300px;
}

.h-\[500px\] {
    height: 500px;
}

.max-h-\[90vh\] {
    max-height: 90vh;
}

.z-\[1000\] {
    z-index: 1000;
}

.w-2 {
    width: 0.5rem;
}

.w-4 {
    width: 1rem;
}

.w-10 {
    width: 2.5rem;
}

.w-48 {
    width: 12rem;
}

.w-64 {
    width: 16rem;
}

.w-72 {
    width: 18rem;
}

.w-full {
    width: 100%;
}

.w-1\/3 {
    width: 33.333333%;
}

.size-6 {
    width: 1.5rem;
    height: 1.5rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-7xl {
    max-width: 80rem;
}

.max-w-xs {
    max-width: 20rem;
}

.max-w-\[1200px\] {
    max-width: 1200px;
}

.flex-1 {
    flex: 1 1 0%;
}

.grow {
    flex-grow: 1;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.items-start {
    align-items: flex-start;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.items-baseline {
    align-items: baseline;
}

.justify-start {
    justify-content: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.cursor-pointer {
    cursor: pointer;
}

.pointer-events-none {
    pointer-events: none;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.object-cover {
    object-fit: cover;
}

.bg-cover {
    background-size: cover;
}

.bg-center {
    background-position: center;
}

.bg-no-repeat {
    background-repeat: no-repeat;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-\[4\/3\] {
    aspect-ratio: 4 / 3;
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border-width: 1px;
    border-style: solid;
    border-color: var(--line-soft);
}

.border-2 {
    border-width: 2px;
    border-style: solid;
}

.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.border-t {
    border-top-width: 1px;
    border-top-style: solid;
}

.border-l-4 {
    border-left-width: 4px;
    border-left-style: solid;
}

.border-none {
    border: 0;
}

.border-solid {
    border-style: solid;
}

.border-primary {
    border-color: var(--primary);
}

.border-primary\/5 {
    border-color: color-mix(in srgb, var(--primary) 5%, white);
}

.border-primary\/10 {
    border-color: color-mix(in srgb, var(--primary) 10%, white);
}

.border-primary\/20 {
    border-color: color-mix(in srgb, var(--primary) 20%, white);
}

.border-red-100 {
    border-color: #fee2e2;
}

.border-red-200 {
    border-color: #fecaca;
}

.border-background-light {
    border-color: var(--background-light);
}

.border-\[\#dbe6dd\] {
    border-color: var(--line-soft);
}

.ring-1 {
    box-shadow: 0 0 0 1px currentColor inset;
}

.ring-\[\#dbe6dd\] {
    box-shadow: 0 0 0 1px var(--line-soft) inset;
}

.ring-red-100 {
    color: #fee2e2;
}

.bg-primary {
    background-color: var(--primary);
}

.bg-primary\/5 {
    background-color: color-mix(in srgb, var(--primary) 5%, white);
}

.bg-primary\/10 {
    background-color: color-mix(in srgb, var(--primary) 10%, white);
}

.bg-primary\/20 {
    background-color: color-mix(in srgb, var(--primary) 20%, white);
}

.bg-background-light {
    background-color: var(--background-light);
}

.bg-background-dark {
    background-color: var(--background-dark);
}

.bg-white {
    background-color: #fff;
}

/* Utility aliases and missing small utilities used in markup */
.bg-transparent {
    background-color: transparent;
}
.border-0 {
    border: 0;
}
.p-0 {
    padding: 0;
}
.appearance-none {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}
.text-white\/60 {
    color: rgba(255, 255, 255, 0.6);
}
.hover\:text-white:hover {
    color: #fff;
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.bg-white\/80 {
    background-color: rgba(255, 255, 255, 0.8);
}

.bg-black\/40 {
    background-color: rgba(0, 0, 0, 0.4);
}

.bg-red-50 {
    background-color: #fef2f2;
}

.bg-red-400 {
    background-color: #f87171;
}

.bg-red-500 {
    background-color: #ef4444;
}

.bg-red-600 {
    background-color: #dc2626;
}

.bg-red-900\/10 {
    background-color: rgba(127, 29, 29, 0.1);
}

.bg-\[\#111812\] {
    background-color: #111812;
}

.bg-\[\#e8efe9\] {
    background-color: #e8efe9;
}

.bg-\[\#e8f5e9\] {
    background-color: #e8f5e9;
}

.bg-\[\#f0f4f1\] {
    background-color: #f0f4f1;
}

.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-black\/60 {
    --tw-gradient-from: rgba(0, 0, 0, 0.6);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.via-transparent {
    --tw-gradient-stops: var(--tw-gradient-from), rgba(255, 255, 255, 0), var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

.to-transparent {
    --tw-gradient-to: rgba(255, 255, 255, 0);
}

.text-primary {
    color: var(--primary);
}

.text-white {
    color: #fff;
}

.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}

.text-\[\#111812\] {
    color: var(--text-main);
}

.text-\[\#4a5f4d\] {
    color: var(--text-soft);
}

.text-\[\#618968\] {
    color: var(--text-muted);
}

.text-\[\#dbe6dd\] {
    color: var(--line-soft);
}

.text-red-400 {
    color: #f87171;
}

.text-red-500 {
    color: #ef4444;
}

.text-red-600 {
    color: #dc2626;
}

.text-red-700\/80 {
    color: rgba(185, 28, 28, 0.8);
}

.text-orange-400 {
    color: #fb923c;
}

.text-blue-400 {
    color: #60a5fa;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-\[9px\] {
    font-size: 9px;
}

.text-\[10px\] {
    font-size: 10px;
}

.font-black {
    font-weight: 900;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.italic {
    font-style: italic;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-tight {
    letter-spacing: -0.015em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

.opacity-0 {
    opacity: 0;
}

.opacity-10 {
    opacity: 0.1;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-80 {
    opacity: 0.8;
}

.shadow-sm {
    box-shadow: 0 1px 2px rgba(16, 24, 19, 0.08);
}

.shadow-md {
    box-shadow: 0 4px 12px rgba(16, 24, 19, 0.12);
}

.shadow-lg {
    box-shadow: 0 10px 24px rgba(16, 24, 19, 0.16);
}

.shadow-xl {
    box-shadow: 0 18px 40px rgba(16, 24, 19, 0.2);
}

.shadow-inner {
    box-shadow: inset 0 2px 6px rgba(16, 24, 19, 0.12);
}

.shadow-primary\/20 {
    box-shadow: 0 12px 30px color-mix(in srgb, var(--primary) 20%, transparent);
}

.border-primary\/5,
.border-primary\/10,
.border-primary\/20,
.border-red-100,
.border-red-200,
.border-background-light,
.border-\[\#dbe6dd\] {
    border-style: solid;
}

.p-1 {
    padding: 0.25rem;
}

.p-1\.5 {
    padding: 0.375rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-0\.5 {
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.pl-4 {
    padding-left: 1rem;
}

.pl-10 {
    padding-left: 2.5rem;
}

.pr-4 {
    padding-right: 1rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-9 {
    gap: 2.25rem;
}

.gap-10 {
    gap: 2.5rem;
}

.space-y-2>*+* {
    margin-top: 0.5rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.border-collapse {
    border-collapse: collapse;
}

.rounded-none {
    border-radius: 0;
}

.transition-all {
    transition: all 0.2s ease;
}

.transition-colors {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.transition-opacity {
    transition: opacity 0.2s ease;
}

.transition-shadow {
    transition: box-shadow 0.2s ease;
}

.duration-150 {
    transition-duration: 150ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

.grayscale {
    filter: grayscale(1);
}

.fill-1 {
    font-variation-settings: 'FILL' 1;
}

.scale-105 {
    transform: scale(1.05);
}

.translate-x-\-1\/2 {
    transform: translateX(-50%);
}

.translate-y-\-1\/2 {
    transform: translateY(-50%);
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.fill-white\/80 {
    fill: rgba(255, 255, 255, 0.8);
}

.stroke-1 {
    stroke-width: 1;
}

.stroke-primary\/20 {
    stroke: color-mix(in srgb, var(--primary) 20%, white);
}

.tabular-nums {
    font-variant-numeric: tabular-nums;
}

.bg-\[\#111812\] {
    background-color: var(--text-main);
}

.text-\[\#111812\] {
    color: var(--text-main);
}

.text-\[\#4a5f4d\] {
    color: var(--text-soft);
}

.text-\[\#618968\] {
    color: var(--text-muted);
}

.text-\[\#dbe6dd\] {
    color: var(--line-soft);
}

.bg-\[\#111812\] {
    background-color: var(--text-main);
}

.bg-\[\#e8efe9\] {
    background-color: #e8efe9;
}

.bg-\[\#e8f5e9\] {
    background-color: #e8f5e9;
}

.bg-\[\#f0f4f1\] {
    background-color: #f0f4f1;
}

.border-\[\#dbe6dd\] {
    border-color: var(--line-soft);
}

.hover\:bg-white:hover {
    background-color: #fff;
}

.hover\:bg-white\/20:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.hover\:bg-primary:hover {
    background-color: var(--primary);
}

.hover\:bg-primary\/10:hover {
    background-color: color-mix(in srgb, var(--primary) 10%, white);
}

.hover\:bg-gray-50:hover {
    background-color: #f9fafb;
}

.hover\:border-red-200:hover {
    border-color: #fecaca;
}

.hover\:brightness-110:hover {
    filter: brightness(1.1);
}

.hover\:opacity-100:hover {
    opacity: 1;
}

.hover\:text-primary:hover {
    color: var(--primary);
}

.hover\:underline:hover {
    text-decoration: underline;
}

.focus\:ring-2:focus {
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 40%, white);
}

.focus\:ring-primary:focus {
    box-shadow: 0 0 0 2px var(--primary);
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:text-primary {
    color: var(--primary);
}

.group:hover .group-hover\:bg-transparent {
    background-color: transparent;
}

.dark .dark\:bg-background-dark {
    background-color: var(--background-dark);
}

#detail-hero-card {
    max-width: 960px;
}

#detail-hero-image {
    position: relative;
    width: 100%;
    min-height: 280px;
    max-height: 560px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

#detail-hero-picture,
#detail-hero-picture source,
#detail-hero-img {
    display: block;
}

#detail-hero-picture {
    position: absolute;
    inset: 0;
}

#detail-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
}

#landing-hero {
    position: relative;
}

#detail-view {
    padding-top: 5rem;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("img/Lactarius_sanguifluus/Lactarius_sanguifluus-gran.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@media (min-width: 640px) {
    .sm\:block {
        display: block;
    }

    .sm\:flex-row {
        flex-direction: row;
    }

    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:min-h-\[500px\] {
        min-height: 500px;
    }

    .md\:min-h-\[420px\] {
        min-height: 420px;
    }

    .md\:p-6 {
        padding: 1.5rem;
    }

    .md\:px-10 {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .md\:px-20 {
        padding-left: 5rem;
        padding-right: 5rem;
    }

    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }

    .md\:text-7xl {
        font-size: 4.5rem;
        line-height: 1;
    }

    #detail-hero-image {
        min-height: 360px;
    }
}

@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }

    .lg\:flex-row {
        flex-direction: row;
    }

    .lg\:grid-cols-12 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:w-64 {
        width: 16rem;
    }

    .lg\:w-72 {
        width: 18rem;
    }

    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    .lg\:col-span-5 {
        grid-column: span 5 / span 5;
    }

    .lg\:col-span-7 {
        grid-column: span 7 / span 7;
    }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}