/* Widen single-post content toward the sidebar */
.single-post .entry-content,
.single-post .post-content,
.single-post .article-content {
    max-width: none !important;
    width: 100% !important;	
}
/* Widen page content toward the sidebar */
.page .entry-content,
.page .post-content,
.page .article-content {
    max-width: none !important;
    width: 100% !important;
}

/* TITAN'S GAME GUIDES — FULL WIDTH */
/* WordPress Page ID: 52208 */

@media (min-width: 768px) {

  body.page-id-52208 #secondary,
  body.page-id-52208 .sidebar,
  body.page-id-52208 #sidebar,
  body.page-id-52208 .widget-area {
    display: none !important;
  }

  body.page-id-52208 #primary,
  body.page-id-52208 #content,
  body.page-id-52208 .content-area,
  body.page-id-52208 .site-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.page-id-52208 #titans-game-guides {
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
  }
}

/* Titan's Game Guides — Remove content width restriction */
/* Only affects page 52208 */

body.page-id-52208 .entry-content,
body.page-id-52208 .post-content,
body.page-id-52208 .article-content {
    max-width: none !important;
    width: 100% !important;
}

/* TITAN'S GAME GUIDES — FULL-WIDTH PAGE */
/* Only affects WordPress page 52208 */

@media (min-width: 768px) {

    /* Change the theme's two-column layout to one column */
    body.page-id-52208 .tq-shell.single-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    /* Allow the article to fill the entire grid */
    body.page-id-52208 .tq-shell.single-layout > article {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    /* Remove the article's internal width restriction */
    body.page-id-52208 .entry-content,
    body.page-id-52208 .post-content,
    body.page-id-52208 .article-content {
        width: 100% !important;
        max-width: none !important;
    }

    /* Let the directory occupy the full available width */
    body.page-id-52208 #titans-game-guides {
        width: 100% !important;
        max-width: none !important;
    }
}


/* Titan's Game Guides — Gold card titles */
/* Page 52208 only */

body.page-id-52208 #titans-game-guides .tg-card h3.tg-card-title {
    background: none !important;
    background-image: none !important;
    color: #f3d18d !important;
    -webkit-text-fill-color: #f3d18d !important;
    text-shadow: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 10px !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

/* ==========================================
   TITAN'S GAME GUIDES — FINAL POLISH
   Page ID: 52208
   ========================================== */

/* Make introduction use the full directory width */
body.page-id-52208 #titans-game-guides .tg-intro,
body.page-id-52208 #titans-game-guides .tg-intro p {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
}

/* Make the archive button text black */
body.page-id-52208 #titans-game-guides a.tg-archive-link,
body.page-id-52208 #titans-game-guides a.tg-archive-link:link,
body.page-id-52208 #titans-game-guides a.tg-archive-link:visited,
body.page-id-52208 #titans-game-guides a.tg-archive-link:hover,
body.page-id-52208 #titans-game-guides a.tg-archive-link:focus {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

/* ==========================================
   TITANQUISITOR — SITEWIDE ARTICLE TABLES
   ========================================== */

/* Main table */
.entry-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 24px 0 30px;
    background: #141820;
    border: 1px solid #b99247;
    color: #c2c2c2;
    font-size: 15px;
    line-height: 1.6;
}

/* Table headings */
.entry-content table th {
    background: #25202a;
    color: #f3d18d !important;
    -webkit-text-fill-color: #f3d18d !important;
    font-weight: 700;
    text-align: left;
    padding: 13px 16px;
    border: 1px solid #715a35;
}

/* Table cells */
.entry-content table td {
    padding: 12px 16px;
    border: 1px solid #34383f;
    color: #c2c2c2;
    background: transparent;
    vertical-align: middle;
}

/* Alternating rows */
.entry-content table tbody tr:nth-child(even) {
    background: #1c222b;
}

.entry-content table tbody tr:nth-child(odd) {
    background: #141820;
}

/* Hover highlight */
.entry-content table tbody tr:hover {
    background: #26343b;
}

/* Gold first column */
.entry-content table tbody td:first-child {
    color: #f3d18d;
    font-weight: 600;
}

/* TITANQUISITOR — SITEWIDE ARTICLE TABLES */

body article table:not(.wp-block-table table) {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #141820 !important;
    color: #c2c2c2 !important;
    border: 2px solid #c69b45 !important;
}

body article table th {
    background: #28212a !important;
    color: #f3d18d !important;
    -webkit-text-fill-color: #f3d18d !important;
    padding: 14px !important;
    border: 1px solid #806337 !important;
}

body article table td {
    background: #141820 !important;
    color: #c2c2c2 !important;
    -webkit-text-fill-color: #c2c2c2 !important;
    padding: 12px 14px !important;
    border: 1px solid #34383f !important;
}

body article table tbody tr:nth-child(even) td {
    background: #202630 !important;
}

body article table tbody td:first-child {
    color: #f3d18d !important;
    -webkit-text-fill-color: #f3d18d !important;
    font-weight: 700 !important;
}


/* TITANQUISITOR — STARFIELD LATEST POSTS */

.tq-starfield-latest {
    display: grid;
    gap: 16px;
    margin: 25px 0 35px;
}

.tq-starfield-post {
    background: #141820;
    border: 1px solid #806337;
    border-left: 4px solid #c69b45;
    padding: 20px 24px;
    border-radius: 4px;
}

.tq-starfield-post h3 {
    margin: 0 0 8px !important;
    font-size: 21px;
    background: none !important;
    background-image: none !important;
    -webkit-text-fill-color: #f3d18d !important;
}

.tq-starfield-post h3 a {
    color: #f3d18d !important;
    -webkit-text-fill-color: #f3d18d !important;
    text-decoration: none !important;
}

.tq-starfield-post h3 a:hover {
    color: #65dce8 !important;
    -webkit-text-fill-color: #65dce8 !important;
}

.tq-starfield-date {
    color: #65dce8;
    font-size: 12px;
    margin-bottom: 12px;
}

.tq-starfield-post p {
    color: #c2c2c2;
    margin: 0 !important;
    line-height: 1.7;
}
