/* ==========================================================================
   SHS RADAR MODULE SPECIFIC STYLES (sportbootschule.TV)
   ========================================================================== */

/* --- 1. DASHBOARD FOR MODULAR SHS TRACKS --- */
.shs-grid-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 25px 0;
    font-family: sans-serif;
}

.shs-grid-row-link {
    display: flex;
    align-items: stretch;
    border: 2px solid #0284c7; 
    border-radius: 14px; 
    overflow: hidden;
    background: #f9fafb;
    text-decoration: none !important; 
    color: inherit !important;
    cursor: pointer;
    position: relative;
    transition: border-color 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                background-color 0.25s ease, 
                box-shadow 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (min-width: 601px) {
    .shs-grid-row-link:hover {
        transform: translateY(-7px); 
        border-color: #0369a1; 
        background-color: #f0f9ff; 
        box-shadow: 0 20px 25px -5px rgba(2, 132, 199, 0.45), 0 10px 10px -5px rgba(2, 132, 199, 0.2);
    }
}

.shs-grid-row-link:active {
    transform: scale(0.98); 
    background-color: #e0f2fe; 
    border-color: #0369a1;
}

.shs-grid-img-wrapper {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    aspect-ratio: 200 / 267; 
    border-right: 2px solid #0284c7; 
    background: #e5e7eb; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: border-color 0.25s ease;
}

.shs-grid-row-link:hover .shs-grid-img-wrapper {
    border-color: #0369a1; 
}

.shs-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.shs-grid-row-link:hover .shs-grid-img {
    transform: scale(1.10); 
}

.shs-grid-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 60px; 
}

.shs-grid-content strong {
    color: #1f2937;
    font-size: 1.15rem;
    transition: color 0.25s ease;
}

.shs-grid-row-link:hover .shs-grid-content strong {
    color: #0284c7;
}

.shs-grid-content em {
    color: #6b7280;
    font-style: normal;
    font-weight: 600;
    margin: 4px 0 8px 0;
    display: inline-block;
}

.shs-grid-arrow {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #0284c7;
    font-size: 1.6rem;
    font-weight: bold;
    transition: transform 0.25s ease, color 0.25s ease;
}

.shs-grid-row-link:hover .shs-grid-arrow {
    transform: translate(5px, -50%);
    color: #0369a1;
}

/* --- 2. SHS BUTTON-DASHBOARD --- */
.shs-dash-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 25px; 
    margin: 35px 0;
    width: 100%;
}

.shs-dash-tile {
    background: #ffffff;
    border: 3px solid #0284c7; 
    border-radius: 14px; 
    padding: 0 !important; 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    
    flex: 1 1 150px; 
    max-width: 180px; 
    aspect-ratio: 200 / 259; 
    overflow: hidden; 
    
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.shs-dash-tile:hover {
    transform: translateY(-6px); 
    border-color: #0369a1; 
    box-shadow: 0 15px 20px -5px rgba(2, 132, 199, 0.4), 0 8px 8px -5px rgba(2, 132, 199, 0.2);
}

.shs-dash-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: fill; 
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.shs-dash-tile:hover .shs-dash-img {
    transform: scale(1.12); 
}

.shs-dash-booking {
    margin: 45px 0 25px 0;
    text-align: left;
}

.shs-dash-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0284c7;
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
    transition: all 0.2s ease-in-out;
}

.shs-dash-cta:hover {
    background: #0369a1;
    box-shadow: 0 6px 20px rgba(3, 105, 161, 0.35);
    transform: translateY(-2px);
}

/* --- 3. RESPONSIVE FLAGS --- */
@media (max-width: 600px) {
    .shs-grid-row-link { flex-direction: column; padding-bottom: 50px; }
    .shs-grid-img-wrapper { 
        width: 100%; max-width: 100%; min-width: 100%; 
        aspect-ratio: 16 / 9; border-right: none; border-bottom: 2px solid #0284c7;
    }
    .shs-grid-content { padding-right: 20px; }
    .shs-grid-arrow { right: auto; left: 50%; top: auto; bottom: 15px; transform: translateX(-50%); }
    .shs-grid-row-link:hover .shs-grid-arrow { transform: translate(-50%, 3px); }
}

@media screen and (max-width: 450px) {
    .shs-dash-tile { flex-basis: 120px; }
    .shs-dash-container { gap: 15px; }
}