/*
 * RETRO VIDEO GAMER
 * TinyPortal Homepage Styling
 * Modern Magazine Review Cards
 */


/* =========================================================
   MAIN ARTICLE CARD
   ========================================================= */

.tp_article {
    position: relative !important;
    background: #151515 !important;
    border: 1px solid #333 !important;
    border-radius: 7px !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 18px rgba(0,0,0,.30) !important;
    transition: transform .18s ease, box-shadow .18s ease !important;
}


/* Orange RVG accent at top */

.tp_article:before {
    content: "";
    display: block;
    height: 4px;
    background: #f58220;
}


/* Subtle lift on mouse hover */

.tp_article:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.45) !important;
}


/* =========================================================
   ARTICLE TITLE
   ========================================================= */

.tp_article .title_bar {
    background: #151515 !important;
    border: 0 !important;
    padding: 0 !important;
}

.tp_article .titlebg {
    background: #151515 !important;
    color: #fff !important;
    border: 0 !important;
    padding: 15px 16px 11px 16px !important;
    margin: 0 !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -.2px !important;
}

.tp_article .titlebg a {
    color: #fff !important;
    text-decoration: none !important;
}

.tp_article .titlebg a:hover {
    color: #f58220 !important;
}


/* =========================================================
   ARTICLE WINDOW
   ========================================================= */

.tp_article .windowbg,
.tp_article .windowbg.noup {
    background: #151515 !important;
    border: 0 !important;
}


/* =========================================================
   ARTICLE INFORMATION BAR
   ========================================================= */

.tp_article .tp_article_info {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px !important;

    background: #202020 !important;
    color: #999 !important;

    border-top: 1px solid #2f2f2f !important;
    border-bottom: 1px solid #303030 !important;

    padding: 9px 14px !important;

    font-size: 11px !important;
    line-height: 1.4 !important;
}


/* Category */

.tp_article .tp_article_category {
    color: #999 !important;
}

.tp_article .tp_article_category a {
    color: #f58220 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.tp_article .tp_article_category a:hover {
    color: #fff !important;
}


/* Author */

.tp_article .tp_article_author {
    color: #aaa !important;
}


/* =========================================================
   REVIEW EXCERPT
   ========================================================= */

.tp_article .tp_article_bodytext {
    background: #151515 !important;
    color: #d6d6d6 !important;

    padding: 17px 16px 19px 16px !important;

    font-size: 14px !important;
    line-height: 1.65 !important;
}

.tp_article .tp_article_bodytext p {
    color: #d6d6d6 !important;
}


/* =========================================================
   LINKS
   ========================================================= */

.tp_article a {
    color: #f58220;
}

.tp_article a:hover {
    color: #fff;
}


/* =========================================================
   READ MORE
   ========================================================= */

/* General TinyPortal links */

.tp_article .tp_article_bodytext a {
    font-weight: 700;
}


/* Make the Read More link stand out */

.tp_article .tp_article_bodytext a[href*="page"] {
    color: #f58220 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.tp_article .tp_article_bodytext a[href*="page"]:hover {
    color: #fff !important;
}


/* =========================================================
   ARTICLE IMAGES
   ========================================================= */

.tp_article img {
    max-width: 100%;
    height: auto;
}

.tp_article .tp_article_bodytext img {
    border-radius: 5px;
}


/* =========================================================
   FRONT PAGE
   ========================================================= */

#tp_frontpage {
    background: transparent !important;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.tp_pagination {
    margin-top: 18px !important;
    margin-bottom: 20px !important;
}

.tp_pagination,
.tp_pagination a {
    color: #f58220 !important;
}

.tp_pagination a:hover {
    color: #fff !important;
}


/* =========================================================
   IMPORTANT TEXT
   ========================================================= */

.tp_article strong {
    color: #fff;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .tp_article {
        margin-bottom: 15px !important;
        border-radius: 5px !important;
    }

    .tp_article .titlebg {
        font-size: 18px !important;
        padding: 12px 13px 9px 13px !important;
    }

    .tp_article .tp_article_info {
        padding: 8px 12px !important;
        font-size: 11px !important;
    }

    .tp_article .tp_article_bodytext {
        padding: 13px !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

}


/* =========================================================
   RVG COLOUR SELECTION
   ========================================================= */

.tp_article .tp_article_category a {
    color: #f58220 !important;
}

.tp_article a:hover {
    color: #f58220;
}
/* =========================================================
   RVG HOMEPAGE REVIEW IMAGES
   ========================================================= */

/* Hide the empty TinyPortal title strip/wrench */
#tp_frontpage .tp_article .title_bar {
    display: none !important;
}

/* Homepage review image */
#tp_frontpage .rvg-home-image {
    margin: 0 !important;
    padding: 0 !important;
    background: #111 !important;
    overflow: hidden !important;
}

/* Consistent image area */
#tp_frontpage .rvg-home-image img {
    display: block !important;
    width: 100% !important;
    height: 190px !important;
    object-fit: contain !important;
    background: #111 !important;
    margin: 0 !important;
    padding: 10px !important;
    box-sizing: border-box !important;
}

/* Keep the card text clean */
#tp_frontpage .tp_article_bodytext {
    padding: 14px 16px 18px !important;
}