/*
Theme Name: WinaLotto
Theme URI: https://winalotto.org
Description: WinaLotto child theme.
Author: WinaLotto
Template: astra
Version: 1.0.0
*/

/* Play Now nav highlight */
.wal-nav-play-now > a,
li.wal-nav-play-now > a {
    color: #F5A800 !important;
    font-weight: 700 !important;
}

/* Try It Free nav highlight */
.wal-nav-try-free > a,
li.wal-nav-try-free > a {
    color: #F5A800 !important;
    font-weight: 700 !important;
}

/* Lottery link in Draw History */
.wal-lottery-link {
    color: #F5A800;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed #F5A800;
    transition: color 0.2s, border-color 0.2s;
}
.wal-lottery-link:hover {
    color: #d48f00;
    border-color: #d48f00;
}


/* -------------------------------------------------------
   Hide post author/date meta and prev/next navigation
   on single posts. WAL's static pages (About Us, Contact,
   How It Works, etc.) are WP post_type=post, not WP pages,
   so they carry Astra's default single-post presentation.
   The .single-post body class targets them specifically
   without affecting archive or blog index views.
   ------------------------------------------------------- */
.page .entry-meta,
.page .navigation.post-navigation {
    display: none !important;
}

/* -------------------------------------------------------
   Hide the WAL template's auto-rendered page title h1.
   Live HTML inspection (2026-11-14) showed neither heading
   carries an .entry-title class — both are plain <h1> tags
   with inline styles. The WAL custom page templates output
   a first h1 (1.8rem, color:#1B2A4A) at the top of
   .wal-page-main as a page-header title; the actual page
   content then starts with its own h1 (2rem), producing
   the visible duplicate.
   This rule targets the first direct-child h1 of
   .wal-page-main (the template-rendered one) and hides it,
   leaving the content h1 visible.
   Old selector .page .entry-title never matched anything.
   ------------------------------------------------------- */
.wal-page-main > h1:first-child {
    display: none !important;
}
