/*
Theme Name: IGN Pocket Retro
Theme URI: https://example.com/ignpocket-retro
Author: Your Name
Author URI: https://example.com
Description: A modern, responsive WordPress theme inspired by the classic IGN Pocket layout. Uses standard WordPress features only — no custom post types or custom database tables.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ignpocket-retro
Tags: blog, news, two-columns, left-sidebar, right-sidebar, custom-menu, custom-logo, featured-images, post-formats, threaded-comments, translation-ready, responsive
*/

/* ============================================================
   Variables — tuned to the 2001 IGN Pocket palette
   ============================================================ */
:root {
    --color-bg: #ffffff;
    --color-page-bg: #ffffff;
    --color-text: #000000;
    --color-muted: #333333;
    --color-border: #999999;
    --color-light: #cccccc;
    --color-accent: #cc0000;      /* IGN red */
    --color-accent-dark: #990000;
    --color-link: #0000ff;
    --color-link-hover: #cc0000;
    --color-nav-text: #000000;
    --color-widget-bg: #cccccc;
    --font-body: Verdana, Arial, Helvetica, sans-serif;
    --font-heading: Verdana, Arial, Helvetica, sans-serif;
    --max-width: 750px;
    --sidebar-left: 103px;
    --sidebar-right: 170px;
    --gap: 10px;
}

/* ============================================================
   Reset / Base
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--color-text);
    background: var(--color-page-bg);
}

a {
    color: var(--color-link);
    text-decoration: underline;
}

a:hover,
a:focus {
    color: var(--color-link-hover);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.25;
    margin: 0 0 0.5rem;
    color: var(--color-text);
}

p {
    margin: 0 0 0.75rem;
}

ul, ol {
    margin: 0 0 0.75rem 1.25rem;
    padding: 0;
}

/* ============================================================
   Accessibility
   ============================================================ */
.screen-reader-text,
.skip-link {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 0.5rem 0.75rem;
    background: var(--color-accent);
    color: #fff;
    z-index: 99999;
    clip: auto;
}

/* ============================================================
   Layout
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 0.5rem;
}

.site-content {
    display: grid;
    grid-template-columns: var(--sidebar-left) 1fr;
    gap: var(--gap);
    padding-top: var(--gap);
    padding-bottom: var(--gap);
    align-items: start;
}

.has-right-sidebar .site-content {
    grid-template-columns: var(--sidebar-left) 1fr var(--sidebar-right);
}

.site-main {
    min-width: 0;
    background: #ffffff;
    border: 1px solid #d4d4d4;
    border-radius: 24px 24px 0 0;
    padding: 0.75rem 0.9rem 0.9rem;
}

/* ============================================================
   Masthead
   ============================================================ */
.site-masthead {
    background: transparent;
    color: #ffffff;
    font-size: 0.6875rem;
    padding: 0.3rem 0 0;
}

.site-masthead a {
    color: #ffffff;
    text-decoration: none;
}

.site-masthead a:hover,
.site-masthead a:focus {
    color: #ffcccc;
    text-decoration: underline;
}

.top-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.75rem;
}

.top-menu li {
    position: relative;
}

.top-menu li:not(:last-child)::after {
    content: "|";
    margin-left: 0.75rem;
    opacity: 0.5;
}

.top-ribbon {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 0.5rem;
}

.ribbon-logo {
    width: 95px;
}

.ribbon-logo .custom-logo {
    max-height: 58px;
    width: auto;
}

.ribbon-title {
    display: inline-block;
    font-weight: bold;
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    background: #212121;
    padding: 0.35rem 0.45rem;
    border-radius: 6px;
}

.ribbon-links {
    background: linear-gradient(180deg, #cc4eb8 0%, #8b1f7d 60%, #6a0f61 100%);
    border-radius: 20px;
    padding: 0.3rem 0.8rem 0.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

/* ============================================================
   Masthead date bar (like original "February 28, 2001" row)
   ============================================================ */
.masthead-bar {
    display: flex;
    align-items: center;
    align-items: center;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 0.25rem 0;
    margin-bottom: var(--gap);
    font-size: 0.75rem;
}

.masthead-date {
    font-weight: bold;
    color: var(--color-text);
}

/* ============================================================
   Left sidebar / primary navigation
   ============================================================ */
.left-sidebar {
    position: relative;
    background: #bdbdbd;
    border-radius: 0 0 8px 8px;
    padding: 0.3rem;
    overflow: hidden;
}

.left-sidebar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;
    background: linear-gradient(180deg, #cc4eb8 0%, #8b1f7d 60%, #6a0f61 100%);
}

.left-nav-group {
    margin-bottom: 0.4rem;
}

.left-nav-group:last-child {
    margin-bottom: 0;
}

.left-block-label {
    position: relative;
    margin: 0 0 0.2rem;
    padding: 0.15rem 0.35rem;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: lowercase;
    color: #f5f5f5;
    background: linear-gradient(180deg, #cc4eb8 0%, #8b1f7d 60%, #6a0f61 100%);
    border-radius: 12px;
    margin-top: 10px;
}

.left-block-label::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -5px;
    height: 6px;
    background: #8b1f7d;
    border-radius: 0 0 6px 6px;
}

.primary-navigation {
    background: #c7c7c7;
    border: 1px solid var(--color-border);
    margin-top: 3px;
}

.menu-toggle {
    display: none;
    width: 100%;
    padding: 0.5rem;
    background: var(--color-accent);
    color: #fff;
    border: 0;
    font-size: 0.8125rem;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background: var(--color-accent-dark);
}

.primary-menu,
.primary-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu li {
    border-bottom: 1px solid var(--color-border);
}

.primary-menu li:last-child {
    border-bottom: 0;
}

.primary-menu a {
    display: block;
    padding: 0.17rem 0.32rem;
    color: var(--color-nav-text);
    font-size: 0.6875rem;
    line-height: 1.25;
    text-decoration: none;
    font-weight: bold;
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
    background: #f1f1f1;
    color: #000;
    text-decoration: none;
}

.primary-menu .sub-menu {
    border-top: 1px solid var(--color-border);
}

.primary-menu .sub-menu li {
    border-bottom: 1px dotted var(--color-border);
}

.primary-menu .sub-menu li:last-child {
    border-bottom: 0;
}

.primary-menu .sub-menu a {
    padding-left: 0.75rem;
    background: #f7f7f7;
    font-size: 0.625rem;
}

.left-nav-secondary .primary-menu a {
    font-weight: normal;
}

/* ============================================================
   Section headers (Home, News, Reviews, etc.)
   ============================================================ */
.section-header {
    background: #b7b7b7;
    color: #4f4f4f;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: lowercase;
    padding: 0.25rem 0.5rem;
    margin: 0 0 var(--gap);
    border-radius: 12px;
    letter-spacing: 0;
}

.section-header a {
    color: #4f4f4f;
    text-decoration: none;
}

.hero-panel {
    display: grid;
    grid-template-columns: minmax(180px, 42%) 1fr;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.hero-thumb img {
    border: 0;
}

.hero-title {
    margin: 0.3rem 0 0.25rem;
    font-size: 0.8125rem;
    line-height: 1.25;
    font-weight: bold;
}

.hero-title a,
.hero-teaser-item h3 a {
    color: #134c82;
    text-decoration: underline;
}

.hero-excerpt {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 0.2rem;
}

.hero-more {
    color: #134c82;
    font-size: 0.6875rem;
}

.hero-teaser-item {
    margin-bottom: 0.55rem;
}

.hero-teaser-item:last-child {
    margin-bottom: 0;
}

.hero-teaser-item h3 {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.25;
}

.hero-teaser-item p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.35;
}

/* ============================================================
   Story cards (archive / home)
   ============================================================ */
.story-card {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.story-card:first-child {
    padding-top: 0;
}

.story-thumb {
    flex: 0 0 120px;
}

.story-thumb img {
    border: 1px solid var(--color-border);
}

.story-body {
    flex: 1;
    min-width: 0;
}

.story-title {
    font-size: 0.8125rem;
    font-weight: bold;
    margin: 0 0 0.25rem;
}

.story-title a {
    color: #134c82;
    text-decoration: underline;
}

.story-title a:hover,
.story-title a:focus {
    color: var(--color-link-hover);
}

.story-meta {
    font-size: 0.6875rem;
    color: var(--color-muted);
    margin-bottom: 0.35rem;
}

.story-meta a {
    color: var(--color-muted);
    text-decoration: underline;
}

.story-excerpt {
    font-size: 0.75rem;
    line-height: 1.4;
}

.story-excerpt p {
    margin-bottom: 0.35rem;
}

.read-more {
    font-size: 0.6875rem;
    font-weight: normal;
    white-space: nowrap;
}

.page-header {
    margin-bottom: 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid #8a8a8a;
}

.page-title {
    font-size: 0.9375rem;
    margin: 0;
    text-transform: uppercase;
}

.page-links {
    margin-top: 0.6rem;
    padding-top: 0.35rem;
    border-top: 1px solid #aaaaaa;
    font-size: 0.6875rem;
    color: #444;
}

.page-links a {
    display: inline-block;
    margin-left: 0.25rem;
    color: #333;
    text-decoration: underline;
}

.page-links .post-page-numbers.current {
    display: inline-block;
    margin-left: 0.25rem;
    padding: 0 0.25rem;
    border: 1px solid #8a8a8a;
    background: #e5e5e5;
    color: #000;
    font-weight: bold;
}

/* ============================================================
   Single article
   ============================================================ */
.single-story {
    background: #fff;
}

.breadcrumbs {
    font-size: 0.6875rem;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--color-border);
}

.breadcrumbs a {
    color: var(--color-link);
}

.breadcrumbs .sep {
    margin: 0 0.3rem;
    color: var(--color-muted);
}

.single-story .story-header {
    margin-bottom: 0.75rem;
}

.single-story .story-title {
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 0.35rem;
    color: #134c82;
}

.story-dek {
    font-size: 0.8125rem;
    font-style: italic;
    color: var(--color-muted);
    margin: 0 0 0.5rem;
}

.featured-image {
    margin: 0 0 0.75rem;
    border: 1px solid var(--color-border);
    padding: 0.35rem;
    background: #eeeeee;
    display: inline-block;
    max-width: 100%;
}

.featured-image img {
    max-width: 100%;
}

.featured-image figcaption {
    font-size: 0.6875rem;
    color: var(--color-muted);
    margin-top: 0.35rem;
    text-align: center;
}

.story-content {
    font-size: 0.75rem;
    line-height: 1.5;
}

.story-content h2,
.story-content h3,
.story-content h4 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
}

.story-content blockquote {
    border-left: 3px solid #8a8a8a;
    margin: 0.75rem 0;
    padding: 0.35rem 0.75rem;
    background: #eeeeee;
    font-style: italic;
}

.story-footer {
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
}

.byline {
    font-style: italic;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}

.author-spotlight {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.6rem;
    margin-bottom: 0.75rem;
    border: 1px solid #8f8f8f;
    background: #d5d5d5;
    box-shadow: inset 0 1px 0 #efefef, inset 0 -1px 0 #b3b3b3;
}

.author-spotlight-avatar {
    flex: 0 0 116px;
}

.author-spotlight-avatar .avatar {
    border: 1px solid #7f7f7f;
    background: #fff;
    padding: 2px;
    width: 112px;
    height: 112px;
}

.author-spotlight-body {
    min-width: 0;
}

.author-spotlight-title {
    margin: -0.6rem -0.6rem 0.35rem;
    padding: 0.22rem 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #ffffff;
    background: #7a7a7a;
    letter-spacing: 0.3px;
}

.author-spotlight-name {
    margin: 0 0 0.2rem;
    font-size: 0.75rem;
    font-weight: bold;
    color: #000;
}

.author-spotlight-bio {
    margin: 0;
    font-size: 0.6875rem;
    line-height: 1.35;
    color: #222;
}

.story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.6875rem;
}

/* Post navigation */
.posts-navigation,
.post-navigation {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.75rem;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: var(--gap);
    flex-wrap: wrap;
}

.nav-previous,
.nav-next {
    flex: 1;
    min-width: 140px;
}

.nav-next {
    text-align: right;
}

/* ============================================================
   Right sidebar / widgets
   ============================================================ */
.right-sidebar {
    font-size: 0.6875rem;
    line-height: 1.35;
}

.widget {
    background: var(--color-widget-bg);
    border: 1px solid var(--color-border);
    margin-bottom: var(--gap);
    padding: 0.5rem;
}

.widget-title {
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: -0.5rem -0.5rem 0.5rem;
    padding: 0.25rem 0.5rem;
    background: #8a8a8a;
    color: #fff;
}

.widget img {
    margin-bottom: 0.5rem;
}

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

.widget li {
    padding: 0.25rem 0;
    border-bottom: 1px dotted #999999;
}

.widget li:last-child {
    border-bottom: 0;
}

.widget a {
    color: var(--color-link);
}

.widget a:hover,
.widget a:focus {
    color: var(--color-link-hover);
}

.widget select {
    width: 100%;
    padding: 0.2rem;
    font-size: 0.6875rem;
}

/* Search widget */
.widget_search .search-form {
    display: flex;
    border: 1px solid var(--color-border);
}

.widget_search .search-field {
    flex: 1;
    border: 0;
    padding: 0.25rem;
    font-size: 0.6875rem;
}

.widget_search .search-submit {
    border: 0;
    background: #8a8a8a;
    color: #fff;
    padding: 0 0.4rem;
    cursor: pointer;
    font-size: 0.6875rem;
}

.widget_search .search-submit:hover {
    background: #6f6f6f;
}

/* ============================================================
   Story footer / tags
   ============================================================ */
.story-tags {
    margin-top: 0.75rem;
    font-size: 0.6875rem;
    color: var(--color-muted);
    line-height: 1.9;
}

.story-tags > span {
    display: inline-block;
    margin-right: 0.3rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #444;
}

.story-tags a {
    display: inline-block;
    margin: 0 0.18rem 0.18rem 0;
    padding: 0.08rem 0.35rem;
    border: 1px solid #8c8c8c;
    background: #f0e7af;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.story-tags a:hover,
.story-tags a:focus {
    background: #e7dc96;
    color: #000;
    text-decoration: none;
}

/* ============================================================
   Comments
   ============================================================ */
.comments-area {
    margin-top: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
}

.comments-title {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
}

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

.comment-list ol {
    list-style: none;
    margin-left: 1rem;
}

.comment-body {
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #eeeeee;
    border: 1px solid var(--color-border);
}

.comment-meta {
    font-size: 0.6875rem;
    color: var(--color-muted);
    margin-bottom: 0.35rem;
}

.comment-meta .comment-author {
    font-weight: bold;
    color: var(--color-text);
}

.comment-meta .avatar {
    float: left;
    margin-right: 0.5rem;
}

.comment-content {
    clear: both;
    font-size: 0.75rem;
}

.comment-reply-link {
    font-size: 0.6875rem;
}

.comment-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.15rem;
    font-size: 0.6875rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.25rem;
    border: 1px solid var(--color-border);
    font-family: inherit;
    font-size: 0.75rem;
}

.comment-form input[type="submit"] {
    border: 1px solid var(--color-border);
    background: #8a8a8a;
    color: #fff;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.75rem;
}

.comment-form input[type="submit"]:hover {
    background: #6f6f6f;
}

.no-comments {
    font-style: italic;
    color: var(--color-muted);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: #000000;
    color: #bbbbbb;
    font-size: 0.6875rem;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
}

.site-footer a {
    color: #dddddd;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #ffffff;
}

.footer-menu {
    list-style: none;
    margin: 0 0 0.5rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.5rem;
}

.footer-menu li:not(:last-child)::after {
    content: "|";
    margin-left: 0.5rem;
    opacity: 0.5;
}

.site-info p {
    margin: 0;
}

/* ============================================================
   Page / generic content
   ============================================================ */
.entry-content {
    font-size: 0.75rem;
    line-height: 1.5;
}

/* ============================================================
   404 / search no results
   ============================================================ */
.no-results,
.not-found {
    padding: 1rem 0;
}

.no-results .page-title,
.not-found .page-title {
    font-size: 0.9375rem;
}

/* ============================================================
   Alignment
   ============================================================ */
.alignleft {
    float: left;
    margin-right: 0.5rem;
}

.alignright {
    float: right;
    margin-left: 0.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 760px) {
    .site-content,
    .has-right-sidebar .site-content {
        grid-template-columns: 1fr;
    }

    .left-sidebar {
        order: 1;
    }

    .site-main {
        order: 2;
    }

    .right-sidebar {
        order: 3;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--gap);
    }

    .right-sidebar .widget {
        margin-bottom: 0;
    }

    .top-ribbon {
        grid-template-columns: 1fr;
        row-gap: 0.35rem;
    }

    .ribbon-logo {
        width: auto;
    }

    .ribbon-links {
        border-radius: 10px;
    }

    .menu-toggle {
        display: block;
    }

    .primary-menu {
        display: none;
    }

    .primary-menu.toggled {
        display: block;
    }

    .primary-menu a {
        padding: 0.5rem;
        font-size: 0.8125rem;
    }

    .hero-panel {
        grid-template-columns: 1fr;
    }

    .hero-teaser-item h3 {
        font-size: 0.95rem;
    }

    .hero-teaser-item p {
        font-size: 0.82rem;
    }
}

@media (max-width: 480px) {
    .top-menu li:not(:last-child)::after {
        content: "";
        margin: 0;
    }

    .top-menu {
        gap: 0.15rem 0.5rem;
    }

    .story-card {
        flex-direction: column;
        gap: 0.5rem;
    }

    .story-thumb {
        flex: 0 0 auto;
        max-width: 160px;
    }

    .story-actions {
        flex-direction: column;
        gap: 0.15rem;
    }

    .footer-menu {
        flex-direction: column;
        gap: 0.15rem;
    }

    .footer-menu li:not(:last-child)::after {
        content: "";
        margin: 0;
    }
}

/* ============================================================
   2006 IGN Cube Remodel Overrides
   ============================================================ */
:root {
    --cube-blue-1: #0f3f73;
    --cube-blue-2: #245f97;
    --cube-blue-3: #0a2c52;
    --cube-panel: #d5d9df;
    --cube-panel-edge: #7d8693;
    --cube-bg: #c3cad4;
}

body {
    background:
        repeating-linear-gradient(0deg, #cfd6df 0 1px, #c8d0da 1px 3px),
        linear-gradient(180deg, #d4dae2 0%, #c2c9d3 60%, #b8c1cd 100%);
    font-family: Tahoma, Verdana, Arial, sans-serif;
    color: #1f2933;
}

.container {
    max-width: 1000px;
}

.network-bar {
    background: #000;
    border-bottom: 1px solid #4c4c4c;
    font-size: 11px;
}

.network-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    margin: 0;
    padding: 4px 0;
    list-style: none;
}

.network-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: bold;
}

.network-links a:hover,
.network-links a:focus {
    color: #fff;
    text-decoration: underline;
}

.network-links-has-separators li:not(:last-child)::after {
    content: "|";
    margin-left: 8px;
    color: #a4a4a4;
}

.site-masthead {
    background: linear-gradient(180deg, var(--cube-blue-2) 0%, var(--cube-blue-1) 48%, var(--cube-blue-3) 100%);
    border-bottom: 1px solid #1f3349;
    padding: 0;
}

.masthead-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
}

.brand-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.brand-line .custom-logo {
    max-height: 46px;
    width: auto;
}

.channel-name {
    display: inline-block;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 0.2px;
    line-height: 1.05;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}

.masthead-info-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 5px 0 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(12, 30, 48, 0.45);
    color: #e7eef7;
    font-size: 11px;
    line-height: 1.2;
}

.masthead-info-item {
    font-weight: bold;
    letter-spacing: 0.2px;
}

.masthead-info-separator {
    opacity: 0.7;
}


.utility-strip {
    border-top: 1px solid #4f6f93;
    border-bottom: 1px solid #1f3349;
    background: linear-gradient(180deg, #8ca0b8 0%, #71879f 100%);
}

.ribbon-links {
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 5px 0;
}

.top-menu {
    gap: 0;
    font-size: 11px;
}

.top-menu a {
    color: #fff;
    font-weight: bold;
}

.top-menu li:not(:last-child)::after {
    color: #ced8e5;
    margin-left: 8px;
    margin-right: 8px;
}

.site-content,
.has-right-sidebar .site-content {
    grid-template-columns: 180px 1fr 235px;
    align-items: start;
    gap: 8px;
    padding-top: 8px;
}

.left-sidebar,
.site-main,
.right-sidebar .widget {
    border: 1px solid var(--cube-panel-edge);
    background: var(--cube-panel);
    box-shadow: inset 0 1px 0 #f4f7fb;
}

.left-sidebar {
    border-radius: 0;
    padding: 6px;
}

.left-sidebar::before {
    display: none;
}

.left-block-label {
    margin: 0 0 2px;
    border-radius: 0;
    padding: 3px 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    background: linear-gradient(180deg, #375f88 0%, #20466d 100%);
}

.left-block-label::after {
    display: none;
}

.primary-navigation {
    border: 1px solid #8f98a5;
    background: #edf1f5;
}

.primary-menu a {
    font-size: 11px;
    padding: 3px 6px;
}

.primary-menu a::before {
    content: "\00B7\00A0";
    color: #2f4d6d;
}

.site-main {
    border-radius: 0;
    padding: 8px;
    background: #eceff3;
}

.masthead-bar {
    margin-bottom: 8px;
    border-top: 1px solid #a8b0bb;
    border-bottom: 1px solid #a8b0bb;
    padding: 4px 6px;
    background: #dee3ea;
}

.section-header {
    border-radius: 0;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.35px;
    color: #fff;
    background: linear-gradient(180deg, #385f88 0%, #20466d 100%);
}

.hero-panel {
    border: 1px solid #8f98a5;
    background: #f4f6f9;
    padding: 8px;
    gap: 10px;
}

.hero-title a,
.hero-teaser-item h3 a,
.story-title a {
    color: #134c82;
}

.hero-more,
.read-more {
    color: #134c82;
    font-weight: bold;
}

.story-card {
    padding: 8px 0;
    border-bottom: 1px solid #adb5c0;
}

.story-cards-compact .story-card {
    padding: 5px 0;
}

.story-cards-compact .story-title {
    margin-bottom: 0.15rem;
}

.story-cards-compact .story-meta {
    font-size: 10px;
}

.story-cards-compact .story-excerpt,
.story-cards-compact .read-more {
    font-size: 11px;
}

.story-meta {
    font-size: 11px;
    color: #384858;
}

.story-excerpt,
.story-content,
.entry-content {
    font-size: 12px;
}

.right-sidebar {
    font-size: 11px;
}

.right-sidebar .widget {
    padding: 6px;
    margin-bottom: 8px;
    border-radius: 0;
    background: #e6ebf1;
}

.widget-title {
    margin: -6px -6px 6px;
    padding: 4px 6px;
    border-radius: 0;
    background: linear-gradient(180deg, #385f88 0%, #20466d 100%);
    font-size: 11px;
    letter-spacing: 0.3px;
}

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

.right-sidebar-list li {
    margin: 0;
    padding: 3px 0;
    border-bottom: 1px solid #b9c2ce;
}

.right-sidebar-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.right-sidebar-list a {
    display: block;
    line-height: 1.25;
}

.right-previews-empty {
    margin: 0;
    font-size: 10px;
    color: #2f3f51;
}

.site-footer {
    margin-top: 8px;
    padding: 8px 0;
    border-top: 1px solid #324a66;
    background: linear-gradient(180deg, #0f2540 0%, #0a182b 100%);
}

@media (max-width: 980px) {
    .site-content,
    .has-right-sidebar .site-content {
        grid-template-columns: 170px 1fr;
    }

    .right-sidebar {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
        gap: 8px;
    }

    .right-sidebar .widget {
        margin-bottom: 0;
    }
}

@media (max-width: 760px) {
    .network-links {
        gap: 2px 7px;
        padding: 6px 0;
    }

    .masthead-info-bar {
        gap: 3px;
        padding: 4px 0 5px;
    }

    .channel-name {
        font-size: 19px;
    }

    .site-content,
    .has-right-sidebar .site-content {
        grid-template-columns: 1fr;
    }
}
