﻿/* ============================================================
   greenfee.css — portada de green fee (/greenfee, /golf)
   Va encima de TournamentsV2/campeonatos.css (.cmp, cabecera, h2.sec) y de Actividades/actividades.css
   (accesos, filtros, tira de dias, franjas, "tus proximas"). Aqui solo lo propio: tarjetas de campo, casillas de
   salida con plazas, tabla de tarifas e informacion practica. Todo dentro de .gf para no tocar el tema del club.
   ============================================================ */
.gf h2.sec small { font-size: 12.5px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--cmp-texto-sec); }

/* Iconos propios de los accesos (mismo sistema de mascara que .act-ic) */
.act .gf-ic-tarifas::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"); }
.act .gf-ic-mapa::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.1-7-11a7 7 0 0 1 14 0c0 4.9-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.1-7-11a7 7 0 0 1 14 0c0 4.9-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }

/* Campos */
.gf .gf-campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 16px; }
.gf .gf-campo { display: flex; flex-direction: column; background: var(--cmp-superficie); border: 1px solid var(--cmp-borde); border-radius: var(--cmp-radio);
  overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.04); min-width: 0; }
.gf .gf-foto { position: relative; height: 190px; background: var(--cmp-fondo); }
.gf .gf-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gf .gf-foto-vacia { position: absolute; inset: 0; background-color: var(--cmp-texto-sec); opacity: .18;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21V3l9 4-9 4'/%3E%3Cpath d='M4 21h16'/%3E%3C/svg%3E") center / 64px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21V3l9 4-9 4'/%3E%3Cpath d='M4 21h16'/%3E%3C/svg%3E") center / 64px no-repeat; }
.gf .gf-tipo { position: absolute; right: 12px; bottom: 12px; padding: 4px 9px; border-radius: 6px; background: #fff; color: var(--cmp-texto); font-size: 13px; font-weight: 700; }
.gf .gf-campo-cuerpo { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.gf .gf-campo-tit { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; }
.gf .gf-campo-tit h3 { margin: 0; font-size: 20px; text-transform: uppercase; line-height: 1.2; }
.gf .gf-desde { font-size: 14px; color: var(--cmp-texto-sec); white-space: nowrap; }
.gf .gf-desde b { font-size: 18px; color: var(--cmp-texto); font-variant-numeric: tabular-nums; }
.gf .gf-desc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--cmp-texto-sec); }
.gf .gf-datos { display: flex; flex-wrap: wrap; gap: 6px; }
.gf .gf-boton { margin: 0; white-space: nowrap; }

/* Leyenda y casillas de salida */
.gf .gf-leyenda { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin: 12px 0 0; font-size: 12.5px; color: var(--cmp-texto-sec); }
.gf .gf-leyenda span { display: inline-flex; align-items: center; gap: 6px; }
.gf .gf-p { display: inline-block; width: 9px; height: 9px; border-radius: 50%; box-sizing: border-box; }
.gf .gf-p-l { background: #fff; border: 1.5px solid var(--cmp-ok); }
.gf .gf-p-o { background: #b8c0c7; }
.gf .gf-tees { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.gf .gf-tee { display: flex; flex-direction: column; gap: 6px; min-height: 88px; padding: 10px 12px; box-sizing: border-box; background: var(--cmp-superficie);
  border: 1px solid var(--cmp-borde); border-radius: 10px; color: var(--cmp-texto) !important; text-decoration: none; transition: border-color .15s ease; }
.gf a.gf-tee:hover, .gf a.gf-tee:focus-visible { border-color: var(--cmp-acento); box-shadow: inset 0 0 0 1px var(--cmp-acento); }
.gf .gf-tee-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.gf .gf-tee b { font-size: 19px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.gf .gf-tee-precio { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gf .gf-puntos { display: flex; flex-wrap: wrap; gap: 4px; }
.gf .gf-tee small { font-size: 12px; font-weight: 600; color: var(--cmp-ok); }
.gf .gf-tee-ultima small { color: var(--cmp-alerta); }
.gf .gf-tee-off { background: var(--cmp-fondo); color: var(--cmp-texto-sec) !important; }
.gf .gf-tee-off small { color: var(--cmp-texto-sec); font-weight: 500; }

/* Tarifas */
.gf .gf-tabla-wrap { overflow-x: auto; border: 1px solid var(--cmp-borde); border-radius: var(--cmp-radio); background: var(--cmp-superficie); -webkit-overflow-scrolling: touch; }
.gf .gf-tabla { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; margin: 0; }
.gf .gf-tabla th { text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--cmp-texto-sec);
  padding: 10px 14px; background: transparent; border: 0; border-bottom: 1px solid var(--cmp-borde); }
.gf .gf-tabla td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--cmp-borde); vertical-align: middle; }
.gf .gf-tabla tbody tr:last-child td { border-bottom: 0; }
.gf .gf-num { text-align: right !important; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gf .gf-nota { margin: 8px 2px 0; font-size: 13px; color: var(--cmp-texto-sec); }

/* Antes de venir */
.gf .gf-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.gf .gf-info-c { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: var(--cmp-superficie); border: 1px solid var(--cmp-borde);
  border-radius: var(--cmp-radio); font-size: 14px; }
.gf .gf-info-c span:not(.act-lbl) { color: var(--cmp-texto-sec); }
.gf .gf-info-c a { font-weight: 600; }

@media (max-width: 600px) {
  .gf .gf-foto { height: 150px; }
  .gf .gf-tees { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .gf .gf-tee { min-height: 70px; padding: 8px 9px; }
  .gf .gf-tee b { font-size: 17px; }
  .gf .gf-tee-precio { display: none; }
}
