/* ---- Cat News page ---- */
.cats-wrap {
    background: white;
    width: min(1000px, 90vw);
    margin: 10vh auto 6vw auto;
    padding: 4vh 4% 5vh 4%;
    box-sizing: border-box;
    border-radius: 1vh;
    box-shadow: 5px 5px 15px black;
    font-family: sans-serif;
    color: black;
    text-align: center;
}

.cats-title {
    font-family: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
    font-weight: normal;
    font-size: 3.4rem;
    letter-spacing: 0.04em;
    margin: 0 0 3vh 0;
    color: #141414;
}

.cats-story {
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.65;
    max-width: 780px;
    margin: 0 auto;
}

.cats-story p {
    margin: 0 0 1.2em 0;
}

.cats-story a {
    color: brown;
    font-weight: bold;
}

.cats-story a:hover {
    color: red;
}

.cats-feature {
    margin: 3vh auto 4vh auto;
    max-width: 780px;
}

.cats-feature-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
    box-shadow: 0 2px 8px black;
}

.cats-feature-caption {
    font-family: 'Anton', Impact, sans-serif;
    letter-spacing: 0.05em;
    font-size: 1.3rem;
    color: brown;
    margin-top: 1.2vh;
}

.cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
    margin: 3vh 0 4vh 0;
    text-align: left;
}

.cat-card {
    display: block;
    text-decoration: none;
    color: black;
    background: #f4f4f4;
    box-shadow: 2px 2px 6px rgba(0,0,0,.45);
    border-radius: 4px;
    overflow: hidden;
}

.cat-card:hover {
    background: rgba(231, 174, 179, .7);
}

.cat-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: black;
}

.cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cat-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    line-height: 52px;
    text-align: center;
    border-radius: 50%;
    background: rgba(0,0,0,.6);
    color: white;
    font-size: 20px;
    padding-left: 3px;
    box-sizing: border-box;
}

.cat-card:hover .cat-play {
    background: rgba(255,0,0,.85);
}

.cat-badge {
    position: absolute;
    left: 8px;
    top: 8px;
    background: brown;
    color: white;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    padding: 3px 7px;
    border-radius: 3px;
}

.cat-card-title {
    display: block;
    padding: 10px 12px 12px 12px;
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1.3;
}

.cats-more a {
    display: inline-block;
    text-decoration: none;
    color: dimgray;
    background: rgba(255,255,255,.9);
    font-size: x-large;
    padding: 1vh 4vw;
    border-radius: 0.5vh;
    box-shadow: 0px 2px 4px dimgrey;
}

.cats-more a:hover {
    background: rgba(0,0,0,.1);
    color: red;
}

/* phones */
@media (max-width: 801px) {
    #content-container .cats-wrap {
        width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 3vh 5% 5vh 5%;
    }
    .cats-story {
        font-size: 1.1rem;
    }
    .cats-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Keep the original gray mobile page title above the CATS content. */
@media (max-width: 801px) {
  #content-container .cats-wrap { margin-top: 0; }
}
