/* 
 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: #00ccaa;
}


section {
    padding: 40px 0;
}

.hero {
    padding-top: 0;
}

.error-text {
    font-size: 9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    display: block;
    color: transparent;

    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%) 0 0 / 40px 40px,
        linear-gradient(225deg, rgba(0, 0, 0, 0.15) 25%, transparent 25%) 0 0 / 40px 40px,
        linear-gradient(45deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%) 0 0 / 40px 40px,
        linear-gradient(315deg, rgba(0, 0, 0, 0.12) 25%, transparent 25%) 0 0 / 40px 40px,
        var(--primary);

    -webkit-background-clip: text;
    background-clip: text;
    text-shadow:
        0 6px 12px rgba(0, 0, 0, 0.35);
}

.main-navigation .menu>li>a {
    color: #000 !important;
}

.box-image .single-page-img {
    background-image: url('/wp-content/themes/machine-child/img/hero-bg.jpg') !important;
}

.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;
    }
}

section h2 {
    text-align: center;
    font-weight: 800;
}

@media (min-width: 992px) {
    .main-navigation .menu>li {
        padding: 10px;
    }
}

section img {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.lettered {
    list-style-type: lower-alpha;
}

.box {
    background: linear-gradient(180deg,
            rgba(0, 204, 170, 0.15),
            rgba(0, 204, 170, 0.05));
    border: 1px solid rgba(0, 204, 170, 0.35);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* subtle water shine */
.box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.08),
            transparent 40%,
            rgba(255, 255, 255, 0.05));
    pointer-events: none;
}

/* bottom water depth accent */
.box::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6px;
    background: linear-gradient(90deg,
            transparent,
            var(--primary),
            transparent);
    opacity: 0.7;
}

.box>h3,
.box>h4 {
    text-align: center;
    font-style: italic;
    font-weight: 700;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(180deg,
            rgba(0, 204, 170, 0.12),
            rgba(0, 204, 170, 0.03));
    border: 1px solid rgba(0, 204, 170, 0.35);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
}

thead {
    background: linear-gradient(180deg,
            rgba(0, 204, 170, 0.35),
            rgba(0, 204, 170, 0.15));
}

th,
td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 204, 170, 0.15);
}

th {
    color: #000;
    letter-spacing: 0.04em;
}

tbody tr {
    transition: background 0.2s ease;
}

tbody tr:hover {
    background: rgba(0, 204, 170, 0.12);
}

/* subtle alternating rows like water ripples */
tbody tr:nth-child(even) {
    background: rgba(0, 204, 170, 0.05);
}

/* bottom accent line */
tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 594px) {
    table {
        white-space: nowrap;
    }
}

.row {
    margin-bottom: 15px;
}