/* ############################################################################################################################################################################ */
/* ############################################################################################################################################################################ */
/* Glyh Entertainment Public Website                                                                                                                                            */
/*  • Page:            	        Newsnav Stylesheet (newsnav.css)                                                                                                                */
/*  • Description:              Fancy navigation bar + ornate bordered cards with golden hover glow on the entire card                                                          */
/*  • Location:               	/modules/newsnav/css/newsnav.css                                                                                                                */
/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/*  • Version:                  v0.0.06 α                                                                                                                                       */
/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/*  • Project Start Date:       2026-04-07                                                                                                                                      */
/*  • Creation Date:            2026-05-08                                                                                                                                      */
/*  • Last updated:             2026-05-08 @ 2355 EDT                                                                                                                           */
/* ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/*  • Author:                   by Conner Rhoads                                                                                                                                */
/*  • Official Site:            www.glyphentertainment.com                                                                                                                      */
/* ############################################################################################################################################################################ */
/* CHANGE LOG                                                                                                                                                                   */
/*  • 2026-05-10 - Added to news, folders can now follow <MMMM-DD-YY-TITLE>.                                                                                                    */
/* ############################################################################################################################################################################ */
/* ############################################################################################################################################################################ */

/* ============================================================================================================================================================================ */
/* [START] NEWSNAV MODULE STYLESHEET                                                                                                                                            */
/* ============================================================================================================================================================================ */

.news-preview-card
{
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 60px;
    padding: 24px;
    background-color: #1f1f1f;
    border: 3px solid #3a2f1f;
    border-radius: 16px;
    box-shadow: 
        0 0 0 6px #2a2118,
        0 8px 30px rgba(0, 0, 0, 0.8);
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.news-preview-card::before
{
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid #8b6f47;
    border-radius: 12px;
    pointer-events: none;
}

.news-preview-card.reverse
{
    flex-direction: row-reverse;
}

.news-thumbnail-wrapper
{
    position: relative;
    width: 45%;
    max-width: 420px;
    flex-shrink: 0;
}

.news-preview-card img
{
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

/* Golden hover glow on the ENTIRE card */
.news-preview-card:hover
{
    box-shadow: 
        0 0 0 6px #2a2118,
        0 0 25px #ffd700,
        0 0 50px rgba(255, 215, 0, 0.6),
        0 12px 40px rgba(0, 0, 0, 0.8);
    transform: translateY(-3px);
}

.news-content
{
    flex: 1;
    min-width: 0;
}

/* Title styling with smart wrapping + hyphenation */
.news-content .Title.Title-Silver.news-title
{
    color: #c0c0c0;
    font-size: 1.5rem;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    hyphens: auto;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Date under title */
.news-date
{
    color: #8a8a8a;
    font-size: 0.9rem;
    margin-bottom: 12px;
    font-style: italic;
}

.news-excerpt
{
    color: #e0e0e0;
    line-height: 1.65;
    margin-bottom: 20px;
}

.read-more
{
    color: #00bfff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.read-more:hover
{
    color: #ffd700;
    text-decoration: underline;
}

/* ============================================================================================================================================================================ */
/* FANCY NAVIGATION BAR (Top + Bottom)                                                                                                                                            */
/* ============================================================================================================================================================================ */

.news-nav-wrapper
{
    margin: 10px 0 40px 0;
}

.news-nav
{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 24px;
    background: linear-gradient(#1f1f1f, #171717);
    border: 2px solid #ffd700;
    border-radius: 16px;
    box-shadow: 
        0 0 0 8px #2a2118,
        0 8px 25px rgba(0, 0, 0, 0.8);
}

.news-nav a
{
    background-color: #2a2a2a;
    color: #ffd700;
    padding: 8px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid #3a2f1f;
    transition: all 0.2s ease;
}

.news-nav a:hover
{
    background-color: #ffd700;
    color: #1a1a1a;
    box-shadow: 0 0 20px #ffd700;
    transform: translateY(-1px);
}

.news-select
{
    padding: 8px 16px;
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #3a2f1f;
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
    min-width: 240px;
}

.news-select:focus
{
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.4);
}

.nav-home-btn 
{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 12px;
    transition: background-color 0.2s ease;
}

.nav-home-btn:hover 
{
    background-color: #3a2f1f;
}

/* ============================================================================================================================================================================ */
/* MOBILE / ANDROID TEXT REDUCTION                                                                                                                                            */
/* ============================================================================================================================================================================ */

@media (max-width: 768px)
{
    .news-content .Title.Title-Silver.news-title
    {
        font-size: 1.25rem;
    }

    .news-date
    {
        font-size: 0.85rem;
    }

    .news-excerpt
    {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .read-more
    {
        font-size: 0.95rem;
    }
}

/* ============================================================================================================================================================================ */
/* [END] NEWSNAV MODULE STYLESHEET                                                                                                                                              */
/* ============================================================================================================================================================================ */