/*
Theme Name: Flamenet
Theme URI: https://flamenet.io
Author: Flamenet
Description: A retro Y2K portal theme for WordPress. Classic three-column layout with dense navigation, scrolling headlines, and nostalgic early-web aesthetics.
Version: 2.2.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flamenet-2001
Tags: retro, portal, search, classic, nostalgia
*/

/* ===========================
   RESET & BASE
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background-color: #FFFFFF;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
    line-height: 1.3;
}

a {
    color: #0000CC;
    text-decoration: underline;
}

a:visited {
    color: #003399;
}

a:hover {
    color: #CC0000;
    text-decoration: underline;
}

img {
    border: 0;
    display: block;
}

/* ===========================
   PAGE WRAPPER
   =========================== */
#page-wrapper {
    width: 100%;
    background: #FFFFFF;
}

/* ===========================
   BANNER AD AREA
   =========================== */
#banner-ad {
    width: 100%;
    background: #FFF;
    border-bottom: 1px solid #999999;
    padding: 2px 0;
    text-align: center;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#banner-ad .ad-placeholder {
    width: 468px;
    height: 60px;
    background: #FFF;
    border: 1px solid #999999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #FFF;
    font-style: italic;
}

/* ===========================
   TOP BAR (utility links)
   =========================== */
#top-bar {
    background: #EEEEEE;
    border-bottom: 1px solid #CCCCCC;
    padding: 2px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
}

#top-bar .top-bar-left {
    color: #333333;
}

#top-bar .top-bar-right a {
    color: #0000CC;
    text-decoration: none;
    font-size: 10px;
    margin-left: 8px;
}

#top-bar .top-bar-right a:hover {
    text-decoration: underline;
}

/* ===========================
   LOGO AREA
   =========================== */
#logo-area {
    padding: 6px 4px 2px 4px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #CC0000;
}

#site-logo {
    text-decoration: none;
}

#site-logo .logo-text {
    font-size: 36px;
    font-weight: bold;
    color: #CC0000;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: -1px;
    line-height: 1;
    text-shadow: none;
}

#site-logo .logo-tagline {
    font-size: 9px;
    color: #666666;
    margin-top: 1px;
    display: block;
    font-weight: normal;
}

#logo-right {
    font-size: 10px;
    text-align: right;
    padding-bottom: 2px;
}

#logo-right a {
    color: #0000CC;
    text-decoration: none;
    font-size: 10px;
    margin-left: 6px;
}

#logo-right a:hover {
    text-decoration: underline;
}

/* ===========================
   MAIN NAV TABS (Portal categories)
   =========================== */
#main-nav {
    background: #003399;
    color: #FFFFFF;
    border-bottom: 1px solid #002277;
    padding: 0;
    overflow: hidden;
}

#main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

#main-nav ul li a {
    display: block;
    padding: 4px 10px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
    border-right: 1px solid #FFFFFF33;
}

#main-nav ul li a:visited {
    color: #FFFFFF;
}

#main-nav ul li a:hover,
#main-nav ul li.current-menu-item a {
    background: #FFCC00;
    color: #000000;
    text-decoration: none;
}

#main-nav ul li.active-tab a,
#main-nav ul li a:hover {
    background: #FFCC00;
    color: #000000;
    font-weight: bold;
    border-color: #999999;
}
/* Sign In tab (shown to logged-out users) */
#main-nav ul li a.nav-login-btn {
    background: #003399;
    color: #FFFFFF;
    font-weight: bold;
    border-color: #001f6b;
}
#main-nav ul li a.nav-login-btn:hover {
    background: #FFCC00;
    color: #000000;
    border-color: #999999;
}

/* ===========================
   SEARCH TYPE TABS
   =========================== */
#search-type-tabs {
    background: #F0F0F0;
    border-bottom: 1px solid #CCCCCC;
    padding: 0;
}

#search-type-tabs ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 2px 0 0 4px;
}

#search-type-tabs ul li a {
    display: block;
    padding: 3px 10px;
    color: #0000CC;
    text-decoration: none;
    font-size: 11px;
    border: 1px solid #CCCCCC;
    border-bottom: none;
    background: #E8E8E8;
    margin-right: 2px;
    position: relative;
    top: 1px;
}

#search-type-tabs ul li.active-tab a,
#search-type-tabs ul li a:hover {
    background: #FFFFFF;
    color: #000000;
    font-weight: bold;
    border-color: #999999;
}

/* ===========================
   SEARCH FORM AREA
   =========================== */
#search-area {
    background: #FFFFFF;
    border-bottom: 2px solid #CCCCCC;
    padding: 8px 4px;
    text-align: center;
}

#search-area form {
    display: inline-block;
    text-align: left;
}

#search-area .search-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 3px;
}

#search-area input[type="text"],
#search-area input[type="search"] {
    width: 380px;
    height: 22px;
    border: 1px solid #999999;
    padding: 2px 4px;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    background: #FFFFFF;
}

#search-area input[type="submit"] {
    padding: 2px 12px;
    height: 24px;
    background: #DDDDDD;
    border: 2px outset #CCCCCC;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
}

#search-area input[type="submit"]:hover {
    background: #CCCCCC;
}

#search-area .search-options {
    font-size: 10px;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 3px;
}

#search-area .search-options label {
    cursor: pointer;
}

#search-area .search-links {
    font-size: 10px;
    color: #333333;
    margin-top: 2px;
}

#search-area .search-links a {
    color: #0000CC;
    font-size: 10px;
    margin-right: 8px;
}

/* ===========================
   MAIN CONTENT AREA
   =========================== */
#content-area {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

/* Left column: Directory categories */
#directory-column {
    display: table-cell;
    width: 185px;
    vertical-align: top;
    border-right: 1px solid #CCCCCC;
    padding: 0;
}

/* Center column: Main content / posts */
#main-column {
    display: block;
    width: 100%;
    vertical-align: top;
    padding: 0 6px;
}

/* Right column: Sidebar */
#sidebar-column {
    display: table-cell;
    width: 185px;
    vertical-align: top;
    padding: 0;
}

/* ===========================
   DIRECTORY BOX (left column)
   =========================== */
.directory-box {
    margin-bottom: 0;
}

.directory-box .box-header {
    background: #003399;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.directory-box ul {
    list-style: none;
    padding: 3px 5px;
    margin: 0;
    border-bottom: 1px solid #CCCCCC;
}

.directory-box ul li {
    padding: 1px 0;
    line-height: 1.5;
}

.directory-box ul li a {
    color: #0000CC;
    text-decoration: none;
    font-size: 11px;
}

.directory-box ul li a:hover {
    text-decoration: underline;
}

.directory-box ul li a::before {
    content: "› ";
    color: #CC0000;
}

/* ===========================
   CONTENT BOX (shared widget style)
   =========================== */
.content-box {
    margin-bottom: 6px;
    border: 1px solid #CCCCCC;
    width: 100%;
}

.content-box .box-header {
    background: #003399;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-box .box-header a {
    color: #FFCC00;
    text-decoration: none;
    font-size: 10px;
    font-weight: normal;
}

.content-box .box-header a:visited {
    color: #FFFFFF;
}

.content-box .box-header a:hover {
    text-decoration: underline;
}

.content-box .box-body {
    padding: 4px 5px;
    background: #FFFFFF;
}

/* ===========================
   NEWS HEADLINES
   =========================== */
.news-item {
    border-bottom: 1px dotted #CCCCCC;
    padding: 3px 0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item a {
    color: #0000CC;
    text-decoration: none;
    font-size: 11px;
    line-height: 1.4;
}

.news-item a:hover {
    text-decoration: underline;
}

.news-item .news-meta {
    color: #666666;
    font-size: 9px;
    margin-top: 1px;
}

/* ===========================
   POST LISTINGS (Blog Posts as News)
   =========================== */
.post-listing {
    border-bottom: 1px solid #CCCCCC;
    padding: 5px 0;
}

.post-listing:last-child {
    border-bottom: none;
}

.post-listing h2 {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 2px;
}

.post-listing h2 a {
    color: #0000CC;
    text-decoration: none;
}

.post-listing h2 a:hover {
    text-decoration: underline;
    color: #CC0000;
}

.post-listing .post-meta {
    color: #666666;
    font-size: 9px;
    margin-bottom: 3px;
}

.post-listing .post-meta span {
    margin-right: 8px;
}

.post-listing .post-excerpt {
    font-size: 11px;
    color: #333333;
    line-height: 1.4;
}

.post-listing .read-more {
    font-size: 10px;
    color: #CC0000;
    text-decoration: none;
    font-weight: bold;
}

.post-listing .read-more:hover {
    text-decoration: underline;
}

/* ===========================
   SINGLE POST
   =========================== */
.single-post-header h1 {
    font-size: 14px;
    font-weight: bold;
    color: #003399;
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 3px;
    margin-bottom: 4px;
}

.single-post-meta {
    color: #666666;
    font-size: 9px;
    margin-bottom: 8px;
}

.single-post-content {
    font-size: 12px;
    line-height: 1.5;
    color: #000000;
}

.single-post-content p {
    margin-bottom: 8px;
}

.single-post-content h2 {
    font-size: 13px;
    color: #003399;
    margin-top: 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 2px;
}

.single-post-content h3 {
    font-size: 12px;
    color: #003399;
    margin-top: 8px;
    margin-bottom: 3px;
}

/* ===========================
   SIDEBAR WIDGETS
   =========================== */
.sidebar-widget {
    margin-bottom: 6px;
    border: 1px solid #CCCCCC;
}

.sidebar-widget .widget-title {
    background: #003399;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 5px;
    text-transform: uppercase;
    margin: 0;
}

.sidebar-widget .widget-body {
    padding: 4px 5px;
    background: #FFFFFF;
}

.sidebar-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-widget ul li {
    padding: 1px 0;
    border-bottom: 1px dotted #CCCCCC;
    font-size: 11px;
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: #0000CC;
    text-decoration: none;
}

.sidebar-widget ul li a:hover {
    text-decoration: underline;
}

/* Stock ticker style widget */
.stock-widget {
    font-size: 10px;
    font-family: "Courier New", monospace;
}

.stock-item {
    display: flex;
    justify-content: space-between;
    padding: 1px 0;
    border-bottom: 1px dotted #CCCCCC;
}

.stock-item .stock-up {
    color: #006600;
}

.stock-item .stock-down {
    color: #CC0000;
}

/* Sports headlines widget */
.sports-widget {
    font-size: 10px;
}

.sports-headlines {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sports-headlines li {
    padding: 2px 0;
    border-bottom: 1px dotted #CCCCCC;
    line-height: 1.4;
}

.sports-headlines li:last-child {
    border-bottom: none;
}

/* Weather widget */
.weather-widget {
    text-align: center;
    padding: 4px;
    font-size: 10px;
}

.weather-widget .weather-temp {
    font-size: 18px;
    font-weight: bold;
    color: #003399;
}

.weather-widget .weather-desc {
    font-size: 9px;
    color: #333333;
}

/* ===========================
   SEARCH RESULTS PAGE
   =========================== */
.search-results-header {
    background: #003399;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 6px;
    margin-bottom: 6px;
}

.search-result-item {
    padding: 5px 0;
    border-bottom: 1px solid #CCCCCC;
}

.search-result-item h3 {
    font-size: 12px;
    margin-bottom: 2px;
}

.search-result-item h3 a {
    color: #0000CC;
    text-decoration: none;
}

.search-result-item h3 a:hover {
    text-decoration: underline;
}

.search-result-item .result-url {
    color: #006600;
    font-size: 10px;
    margin-bottom: 2px;
}

.search-result-item .result-excerpt {
    font-size: 11px;
    color: #333333;
    line-height: 1.4;
}

.search-result-item .result-meta {
    font-size: 9px;
    color: #666666;
    margin-top: 2px;
}

/* ===========================
   PAGINATION
   =========================== */
.pagination {
    padding: 6px 0;
    text-align: center;
    font-size: 11px;
    border-top: 1px solid #CCCCCC;
    margin-top: 6px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 1px 5px;
    margin: 0 1px;
    border: 1px solid #CCCCCC;
    text-decoration: none;
    color: #0000CC;
}

.pagination span.current {
    background: #003399;
    color: #FFFFFF;
    border-color: #003399;
    font-weight: bold;
}

.pagination a:hover {
    background: #EEEEEE;
}

/* ===========================
   FOOTER
   =========================== */
#site-footer {
    background: #EEEEEE;
    border-top: 2px solid #003399;
    padding: 6px 4px;
    text-align: center;
    margin-top: 8px;
}

#footer-links {
    margin-bottom: 3px;
}

#footer-links a {
    color: #0000CC;
    text-decoration: none;
    font-size: 10px;
    margin: 0 6px;
}

#footer-links a:hover {
    text-decoration: underline;
}

#footer-copyright {
    font-size: 9px;
    color: #666666;
    margin-top: 2px;
}

/* ===========================
   HORIZONTAL DIVIDER
   =========================== */
.section-divider {
    height: 1px;
    background: #CCCCCC;
    margin: 4px 0;
}

/* ===========================
   "TODAY ON ALTAVISTA" feature box
   =========================== */
.feature-box {
    background: #FFFBE6;
    border: 1px solid #FFCC00;
    padding: 4px 6px;
    margin-bottom: 6px;
    font-size: 11px;
}

.feature-box .feature-title {
    font-weight: bold;
    color: #CC0000;
    font-size: 11px;
    margin-bottom: 2px;
}

/* ===========================
   CATEGORY/ARCHIVE HEADER
   =========================== */
.archive-header {
    background: #003399;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 6px;
    margin-bottom: 6px;
}

/* ===========================
   COMMENTS
   =========================== */
.comments-area {
    margin-top: 10px;
    border-top: 1px solid #CCCCCC;
    padding-top: 6px;
}

.comments-title {
    font-size: 12px;
    font-weight: bold;
    color: #003399;
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 3px;
    margin-bottom: 6px;
}

.comment {
    border-bottom: 1px dotted #CCCCCC;
    padding: 4px 0;
    font-size: 11px;
}

.comment-author {
    font-weight: bold;
    color: #003399;
}

.comment-date {
    color: #666666;
    font-size: 9px;
}

.comment-content {
    margin-top: 3px;
}

/* Comment form */
.comment-form label {
    display: block;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 2px;
    margin-top: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    border: 1px solid #999999;
    padding: 2px 4px;
    font-size: 11px;
    font-family: Arial, Helvetica, sans-serif;
}

.comment-form textarea {
    height: 80px;
    resize: vertical;
}

.comment-form input[type="submit"] {
    margin-top: 4px;
    padding: 2px 12px;
    background: #DDDDDD;
    border: 2px outset #CCCCCC;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
}

/* ===========================
   404 PAGE
   =========================== */
.error-404-box {
    padding: 20px;
    text-align: center;
    border: 1px solid #CCCCCC;
    margin: 10px 0;
}

.error-404-box h1 {
    font-size: 48px;
    color: #CC0000;
    font-weight: bold;
}

.error-404-box p {
    font-size: 12px;
    margin-top: 8px;
    color: #333333;
}

/* ===========================
   PAGE TEMPLATE
   =========================== */
.page-header h1 {
    font-size: 14px;
    font-weight: bold;
    color: #003399;
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 3px;
    margin-bottom: 6px;
}

.page-content {
    font-size: 12px;
    line-height: 1.5;
    width: 100%;
}

.page-content p {
    margin-bottom: 8px;
}

/* ===========================
   UTILITY
   =========================== */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.bold { font-weight: bold; }
.red { color: #CC0000; }
.blue { color: #003399; }
.gray { color: #666666; }
.small { font-size: 9px; }

/* ===========================
   TOP PROMO STRIP
   =========================== */
#promo-strip {
    background: #FFCC00;
    padding: 2px 4px;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    color: #000000;
    border-bottom: 1px solid #CC9900;
}

#promo-strip a {
    color: #003399;
    text-decoration: none;
}

#promo-strip a:hover {
    text-decoration: underline;
}

/* ===========================
   FULL-WIDTH PAGE TEMPLATE
   Used for subscribe/checkout and other wide layouts.
   =========================== */
.fullwidth-layout #main-column {
    display: block;
    width: 100%;
    border-right: none;
    padding: 0 8px;
    box-sizing: border-box;
}
