/* ==========================================================================
   Storelicious WordPress Theme Replica
   Players' Cup - FC Boulder & St. Vrain FC
   Legacy CSS for archived pages (2012-2018 era)

   Historical theme: "Storelicious Meet the champions 1.0"
   Theme directory: /wp-content/themes/playerscup/
   Color scheme: Black background, red (#D80C14) accents, Cantarell font
   Layout: 960px fixed-width, two-column (635px content + 325px sidebar)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Cantarell', 'Myriad Pro', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    background-color: #000000;
    /* Historical: black body with webBg.jpg background image */
}

a {
    color: #D80C14;
    text-decoration: none;
}

a:hover {
    color: #000000;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* --------------------------------------------------------------------------
   Overall Page Wrapper
   --------------------------------------------------------------------------
   Historical: #wrapContainer > #mainContainer > #container
   960-980px centered container, white content area on black background.
   -------------------------------------------------------------------------- */
#wrapper {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   Header / Top Bar
   --------------------------------------------------------------------------
   Historical: 200px tall header with hdrBg.png background image.
   Logo area: 423x140px CSS background image (logo.png), text-indent:-9999em.
   Dark charcoal with sports tournament branding.
   -------------------------------------------------------------------------- */
#header {
    background: #1a1a1a;
    background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #ffffff;
    padding: 30px 25px;
    min-height: 120px;
    position: relative;
    border-bottom: 3px solid #D80C14;
}

#header .site-title {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#header .site-title a {
    color: #ffffff;
    text-decoration: none;
}

#header .site-title a:hover {
    color: #D80C14;
}

#header .site-description {
    font-size: 13px;
    color: #999999;
    margin-top: 4px;
    font-style: italic;
    letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   Primary Navigation
   --------------------------------------------------------------------------
   Historical: #menuContainer with mnuBg.png background, mnuSep.png separators,
   mnuCurrent.png active state, mnuOver.png hover state.
   Menu links: #333 text, red (#F90005) for current item.
   -------------------------------------------------------------------------- */
#navigation {
    background: #2c2c2c;
    background: linear-gradient(180deg, #3a3a3a 0%, #2c2c2c 100%);
    border-bottom: 2px solid #D80C14;
    position: relative;
}

#navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

#navigation ul li {
    position: relative;
    border-right: 1px solid #444444;
}

#navigation ul li:first-child {
    border-left: 1px solid #444444;
}

#navigation ul li a {
    display: block;
    padding: 12px 16px;
    color: #cccccc;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
}

#navigation ul li a:hover {
    background: #444444;
    color: #ffffff;
    text-decoration: none;
}

#navigation ul li.current a {
    color: #F90005;
    background: rgba(217, 12, 20, 0.1);
    text-decoration: none;
}

/* Dropdown / submenu */
#navigation ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 200px;
    z-index: 1000;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    border: 1px solid #e5e5e5;
}

#navigation ul li ul li {
    border-right: none;
    border-left: none;
}

#navigation ul li:hover > ul {
    display: flex;
}

#navigation ul li ul li a {
    padding: 10px 16px;
    font-size: 12px;
    color: #333333;
    border-top: 1px solid #f1f1f1;
}

#navigation ul li ul li a:hover {
    background: #f1f1f1;
    color: #D80C14;
}

/* Mobile hamburger toggle (hidden on desktop) */
#nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #cccccc;
    font-size: 24px;
    padding: 10px 16px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

#nav-toggle:hover {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Content Area — Two-Column Layout
   --------------------------------------------------------------------------
   Historical: .narrowcolumn.float-left (635px) + #sidebar.float-right (325px)
   Module-based content: .module > .module_header > .module_wrap > .module_content
   -------------------------------------------------------------------------- */
#main {
    display: flex;
    flex-wrap: wrap;
    padding: 25px;
    gap: 25px;
}

#content {
    flex: 1;
    min-width: 0;
}

#sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Post / Page Content Styling
   --------------------------------------------------------------------------
   Historical: .post #post-XXX > .entry with gradientBg class.
   Module headers used h2 with bottom border.
   -------------------------------------------------------------------------- */
.post,
.page-content {
    margin-bottom: 30px;
}

.post .entry-title,
.page-content .entry-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 8px;
    line-height: 1.3;
    border-bottom: 2px solid #D80C14;
    padding-bottom: 10px;
}

.post .entry-meta {
    font-size: 12px;
    color: #999999;
    margin-bottom: 15px;
}

.post .entry-meta a {
    color: #D80C14;
}

.entry-content {
    font-size: 14px;
    line-height: 1.75;
    color: #444444;
}

.entry-content p {
    margin-bottom: 16px;
}

.entry-content h2 {
    font-size: 20px;
    color: #2c2c2c;
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 700;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 6px;
}

.entry-content h3 {
    font-size: 17px;
    color: #2c2c2c;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 16px 24px;
}

.entry-content li {
    margin-bottom: 6px;
}

.entry-content blockquote {
    border-left: 4px solid #D80C14;
    padding: 12px 20px;
    margin: 16px 0;
    background: #f7f7f7;
    color: #555555;
    font-style: italic;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs {
    font-size: 12px;
    color: #999999;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eeeeee;
}

.breadcrumbs a {
    color: #D80C14;
}

.breadcrumbs .separator {
    margin: 0 6px;
    color: #cccccc;
}

/* --------------------------------------------------------------------------
   Sidebar Widgets
   --------------------------------------------------------------------------
   Historical: .module.widget-container > .module_header h2 > .module_wrap > .module_content
   Dark header bars with uppercase titles.
   -------------------------------------------------------------------------- */
.widget {
    margin-bottom: 25px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 0;
}

.widget .widget-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background: #2c2c2c;
    background: linear-gradient(180deg, #3a3a3a 0%, #2c2c2c 100%);
    padding: 10px 15px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #D80C14;
}

.widget .widget-content {
    padding: 15px;
}

.widget .widget-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget .widget-content ul li {
    padding: 6px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 13px;
}

.widget .widget-content ul li:last-child {
    border-bottom: none;
}

.widget .widget-content ul li a {
    color: #D80C14;
}

.widget .widget-content ul li a:hover {
    color: #000000;
    text-decoration: underline;
}

.widget .widget-content p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #555555;
}

.widget .widget-content p:last-child {
    margin-bottom: 0;
}

/* Social media widget — historical: Follow Us / Be Our Friend buttons */
.widget .social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.widget .social-links a {
    display: inline-block;
    background: #D80C14;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.2s;
}

.widget .social-links a:hover {
    background: #a00a10;
    text-decoration: none;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Contact Form (WordPress Contact Form 7 replica)
   -------------------------------------------------------------------------- */
.wpcf7-form {
    margin-top: 20px;
}

.wpcf7-form .form-group {
    margin-bottom: 16px;
}

.wpcf7-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444444;
    margin-bottom: 5px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid #cccccc;
    border-radius: 0;
    background: #ffffff;
    color: #333333;
    transition: border-color 0.2s;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: #D80C14;
    outline: none;
    box-shadow: 0 0 3px rgba(216, 12, 20, 0.3);
}

.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7-form .captcha-placeholder {
    background: #f0f0f0;
    border: 1px dashed #cccccc;
    padding: 15px;
    text-align: center;
    color: #999999;
    font-size: 13px;
    border-radius: 0;
    margin-bottom: 16px;
}

.wpcf7-form .wpcf7-submit {
    display: inline-block;
    background: #D80C14;
    color: #ffffff;
    border: none;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.wpcf7-form .wpcf7-submit:hover {
    background: #a00a10;
}

/* --------------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------------
   Historical: Three-column footer (#foot-left, #foot-middle, #foot-right)
   with FC Boulder and St. Vrain FC logos, addresses, and social links.
   Dark background with white text, red top border.
   -------------------------------------------------------------------------- */
#footer {
    background: #1a1a1a;
    background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #aaaaaa;
    padding: 20px 25px;
    font-size: 12px;
    line-height: 1.7;
    border-top: 3px solid #D80C14;
}

#footer a {
    color: #D80C14;
}

#footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

#footer .footer-theme-credit {
    font-style: italic;
    color: #777777;
}

#footer .footer-copyright {
    margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Responsive / Mobile
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    #main {
        flex-direction: column;
        padding: 15px;
    }

    #sidebar {
        width: 100%;
    }

    #navigation ul {
        display: none;
        flex-direction: column;
    }

    #navigation ul.open {
        display: flex;
    }

    #nav-toggle {
        display: block;
    }

    #navigation ul li {
        border-right: none;
        border-bottom: 1px solid #444444;
    }

    #navigation ul li:first-child {
        border-left: none;
    }

    #navigation ul li ul {
        position: static;
        box-shadow: none;
        border: none;
    }

    #navigation ul li ul li a {
        padding-left: 32px;
        color: #cccccc;
        border-top: 1px solid #444444;
    }

    #navigation ul li ul li a:hover {
        background: #444444;
        color: #ffffff;
    }

    #header {
        padding: 20px 15px;
        min-height: auto;
    }

    .post .entry-title,
    .page-content .entry-title {
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    #header .site-title {
        font-size: 22px;
    }

    #navigation ul li a {
        padding: 10px 14px;
        font-size: 12px;
    }

    .entry-content {
        font-size: 13px;
    }
}

/* --------------------------------------------------------------------------
   Utility Classes (WordPress-like)
   -------------------------------------------------------------------------- */
.alignleft {
    float: left;
    margin: 0 16px 10px 0;
}

.alignright {
    float: right;
    margin: 0 0 10px 16px;
}

.aligncenter {
    display: block;
    margin: 0 auto 16px;
}

.wp-caption {
    max-width: 100%;
    padding: 5px;
    border: 1px solid #e5e5e5;
    background: #f9f9f9;
    text-align: center;
    border-radius: 0;
}

.wp-caption .wp-caption-text {
    font-size: 12px;
    color: #777777;
    margin-top: 5px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Gorgeous design by Storelicious - http://storelicious.com/ */
