/* 
 Theme Name:   machine-child
 Theme URI:    
 Description:  
 Author:       
 Author URI:   
 Template:     vw-machine-learning
 Version:      1.0

 /* == Add your own styles below this line ==
--------------------------------------------*/
:root {
    --primary: #e5993f;
    --secondary: #d55725;
}


section {
    padding: 40px 0;
}

.hero {
    padding-top: 0;
}

body .box-image .single-page-img {
    background-image: url("/wp-content/themes/machine-child/img/hero-bg.jpg") !important;
    background-repeat: repeat !important;
    background-size: auto !important;

}

.box-image .single-page-img:after {
    opacity: 0.4;
}

.box-image .page-header h1 {
    font-size: 2.5rem;
}

@media (max-width: 768px) {
    .box-image .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {

    .box-image .page-header h1 {
        font-size: 1.75rem;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    background: #fff;
    border: 0.08em solid var(--primary);
    border-radius: 1rem;
    overflow: hidden;
}

tr {
    border-width: 2px;
}

th,
td {
    padding: 0.75em 1em;
    text-align: left;
    border: 0.08em solid var(--primary);
}

th {
    font-weight: 600;
    background: var(--primary);
    color: #fff;
    border: 0.08em solid var(--secondary);
}

th p {
    color: #fff;
}

tr:hover td {
    background: color-mix(in srgb, var(--primary) 15%, #fff);
}

td {
    color: #333;
}

td ul {
    padding-left: 0;
}

td ul li {
    list-style-position: inside;
}

#sidebar .sub-menu {
    padding-left: 20px;
}

section h2 {
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 auto 1rem;
    padding: 0.5rem 1rem;
    text-align: center;
    color: #fff7ec;

    background:
        radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.15), transparent 30%),
        radial-gradient(circle at 75% 70%, rgba(255, 255, 255, 0.1), transparent 30%),
        linear-gradient(135deg, var(--primary), var(--secondary));

    border-radius: 999px;
    border: 2px solid rgba(0, 0, 0, 0.08);

    box-shadow:
        0 0 0 4px rgba(229, 153, 63, 0.15),
        0 12px 28px rgba(213, 87, 37, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* MUSIC NOTES — now visible on white */
section h2::before,
section h2::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    font-weight: 700;
    pointer-events: none;

    /* key fix: dark base + glow */
    color: var(--secondary);
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.25),
        0 0 10px rgba(213, 87, 37, 0.5),
        0 0 18px rgba(229, 153, 63, 0.4);
}

section h2::before {
    content: "♪";
    left: -2.8rem;
    transform: translateY(-50%) rotate(-12deg);
}

section h2::after {
    content: "♫";
    right: -2.8rem;
    transform: translateY(-50%) rotate(12deg);
}

/* subtle pulse */
section h2 {
    animation: beatGlow 3s ease-in-out infinite;
}

@keyframes beatGlow {

    0%,
    100% {
        box-shadow:
            0 0 0 4px rgba(229, 153, 63, 0.15),
            0 12px 28px rgba(213, 87, 37, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }

    50% {
        box-shadow:
            0 0 0 8px rgba(229, 153, 63, 0.2),
            0 16px 36px rgba(213, 87, 37, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

section h3 {
    font-style: italic;
    color: var(--secondary);
    font-weight: 700;
    margin-top: 1.5rem;
}

.lyrics-text {
    font-style: italic;
}

section img {
    border-radius: 20px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}