/*
Theme Name:   10Techy Child
Theme URI:    https://10techy.com
Description:  GeneratePress Child Theme for 10Techy - Tech Insights, Ranked Right.
Author:       10Techy
Author URI:   https://10techy.com
Template:     generatepress
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  10techy-child
*/

/* ============================================================
   10TECHY BRAND COLORS & VARIABLES
   ============================================================ */
:root {
  --tt-red:        #E8302A;
  --tt-red-dark:   #C0251F;
  --tt-red-light:  #fef2f2;
  --tt-black:      #111111;
  --tt-text:       #1f2937;
  --tt-muted:      #6b7280;
  --tt-border:     #e5e7eb;
  --tt-bg:         #f9fafb;
  --tt-white:      #ffffff;
  --tt-green:      #16a34a;
  --tt-blue:       #2563eb;
  --tt-radius:     6px;
  --tt-radius-lg:  10px;
  --tt-shadow:     0 1px 3px rgba(0,0,0,.08);
  --tt-shadow-md:  0 4px 16px rgba(0,0,0,.10);
}

/* ============================================================
   GLOBAL RESETS & STICKY FOOTER BASE LAYOUT
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  color: var(--tt-text);
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Standard modern full-height layout with sticky footer */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--tt-red); }
a:hover { color: var(--tt-red-dark); }

/* Force GeneratePress container to fill available vertical space */
.site {
  display: flex;
  flex-direction: column;
  flex: 1; 
  width: 100%;
}

.site-content {
  flex-grow: 1; /* Pushes footer down */
  width: 100%;
  display: block;
}

.site-footer {
  margin-top: auto;
  width: 100%;
  clear: both;
}

/* Global width wrapper system */
.tt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem; /* Standard Laptop side-by-side padding */
  width: 100%;
  box-sizing: border-box;
}

/* Align GeneratePress native containers */
.inside-header, 
.inside-navigation, 
.inside-site-content, 
.inside-site-info,
.inside-site-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* ============================================================
   10TECHY CUSTOM HEADER (STICKY AND FUNCTIONAL)
   ============================================================ */

/* Force cohesive colors across entire header area */
.site-header {
  background-color: #fff !important;
  border-bottom: 1px solid var(--tt-border, #ddd) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.08) !important;
}

.tt-custom-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.tt-custom-header .inside-header {
  display: flex;
  flex-direction: column;
  padding-top: 0;
  padding-bottom: 1rem;
}

/* Force standard, non-broken navigation look */
.tt-nav-wrapper .main-navigation,
.inside-navigation {
  background: transparent !important;
  color: var(--tt-text, #111) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

/* FIXED PROPORTIONAL LOGO SIZE */
.tt-logo-container {
  height: 100px; /* Forces proportional height area */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}
.tt-logo img {
  display: block;
  max-height: 60px; /* FORCES PROPORTIONAL SIZE */
  width: auto;
  object-fit: contain;
}

/* NAV AREA Align */
.inside-navigation {
  justify-content: space-between !important;
}
    
/* NAV GRID */
.main-nav .nav-pill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
    
/* The Pill Design */
.nav-pill-items a,
.tt-right-pills .search-form {
  border: 1px solid var(--tt-border, #ddd) !important;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 13px;
  transition: all .15s ease-in-out;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit !important;
}
.nav-pill-items a:hover,
.tt-right-pills .search-form:hover {
  background-color: var(--tt-bg, #f9f9f9) !important;
}

/* RIGHT PILLS Align only Search form */
.tt-right-pills {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}
    
/* Search form pill style */
.tt-right-pills .search-form {
  margin: 0;
  padding: 0;
  position: relative;
  border-color: var(--tt-border, #ddd) !important;
  min-width: 150px;
}
.tt-right-pills .search-field {
  border: none !important;
  padding: 0.5rem 1rem 0.5rem 2.5rem !important;
  width: 100% !important;
  font-size: 13px !important;
  height: auto !important;
  background: transparent !important;
  color: inherit !important;
}
.tt-right-pills .search-field:focus {
  outline: none !important;
}
.tt-right-pills .search-submit {
  background-color: transparent !important;
  border: none !important;
  position: absolute;
  left: 0.75rem !important;
  cursor: pointer;
  padding: 0;
  display: flex !important;
  align-items: center !important;
  color: var(--tt-muted, #6b7280) !important;
}

/* ============================================================
   AD ZONES — leaderboard, rectangle, in-content
   ============================================================ */
.ad-zone {
  background: var(--tt-bg);
  border: 1px dashed var(--tt-border);
  border-radius: var(--tt-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--tt-muted);
  letter-spacing: .05em;
  text-align: center;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}
.ad-zone-leaderboard  { min-height: 90px; margin: .75rem auto; width: 100%; max-width: 728px; }
.ad-zone-rectangle    { min-height: 250px; width: 300px; margin: 1.25rem auto; }
.ad-zone-mid-content  { min-height: 90px; margin: 1.5rem auto; width: 100%; max-width: 728px; }

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
.tt-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1px;
  background: var(--tt-border);
  border-radius: var(--tt-radius-lg);
  overflow: hidden;
  margin-bottom: 1px;
}

.tt-hero-main {
  position: relative;
  background: var(--tt-black);
  min-height: 320px;
}
.tt-hero-main img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  opacity: .82;
}
.tt-hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,.88));
}
.tt-hero-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--tt-red);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .4rem;
}
.tt-hero-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: .5rem;
}
.tt-hero-meta {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.tt-score-badge {
  position: absolute;
  top: 14px; left: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,.85);
  border: 2.5px solid var(--tt-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--tt-red);
}

/* Top Stories sidebar */
.tt-top-stories {
  background: #fff;
  overflow-y: auto;
  max-height: 320px;
}
.tt-top-stories-header {
  font-size: 13px;
  font-weight: 700;
  padding: .75rem 1rem .5rem;
  border-bottom: 1px solid var(--tt-bg);
  color: var(--tt-black);
}
.tt-story-item {
  display: grid;
  grid-template-columns: 28px 1fr 68px;
  gap: .5rem;
  align-items: start;
  padding: .55rem 1rem;
  border-bottom: 1px solid var(--tt-bg);
  transition: background .1s;
  cursor: pointer;
}
.tt-story-item:hover { background: var(--tt-bg); }
.tt-story-num { font-size: 16px; font-weight: 800; color: #e5e7eb; }
.tt-story-num.active { color: var(--tt-red); }
.tt-story-cat {
  font-size: 9px;
  font-weight: 700;
  color: var(--tt-red);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tt-story-title { font-size: 12px; font-weight: 600; line-height: 1.35; color: var(--tt-black); }
.tt-story-thumb {
  height: 52px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--tt-bg);
}
.tt-story-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Mini feature cards below hero */
.tt-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--tt-border);
  border-radius: 0 0 var(--tt-radius-lg) var(--tt-radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.tt-mini-card { background: #fff; cursor: pointer; }
.tt-mini-card-img { height: 150px; overflow: hidden; position: relative; }
.tt-mini-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tt-mini-card:hover .tt-mini-card-img img { transform: scale(1.03); }
.tt-mini-card-body { padding: .75rem; }
.tt-mini-card-cat {
  font-size: 10px; font-weight: 700;
  color: var(--tt-red);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .25rem;
}
.tt-mini-card-title { font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--tt-black); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.tt-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem 0 .75rem;
}
.tt-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--tt-black);
}
.tt-section-title::after {
  content: ' →';
  font-size: 15px;
  font-weight: 400;
  color: var(--tt-muted);
}
.tt-section-more { font-size: 12px; color: var(--tt-red); }

/* ============================================================
   REVIEWS / FEATURES SPLIT GRID
   ============================================================ */
.tt-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--tt-border);
  border-radius: var(--tt-radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.tt-split-col { background: #fff; }

.tt-split-hero {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.tt-split-hero img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform .3s;
}
.tt-split-hero:hover img { transform: scale(1.03); }
.tt-split-hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
}
.tt-split-hero-title { font-size: 16px; font-weight: 800; color: #fff; line-height: 1.3; }
.tt-split-hero-meta { font-size: 10px; color: rgba(255,255,255,.6); margin-top: .3rem; }

.tt-split-list-item {
  display: grid;
  grid-template-columns: 1fr 88px;
  gap: .75rem;
  padding: .75rem;
  border-top: 1px solid var(--tt-bg);
  align-items: center;
  cursor: pointer;
  transition: background .1s;
}
.tt-split-list-item:hover { background: var(--tt-bg); }
.tt-sli-title { font-size: 12px; font-weight: 600; line-height: 1.35; color: var(--tt-black); }
.tt-sli-meta { font-size: 10px; color: var(--tt-muted); margin-top: .2rem; }
.tt-sli-thumb { height: 62px; border-radius: 5px; overflow: hidden; }
.tt-sli-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.tt-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--tt-border);
  border-radius: var(--tt-radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}
.tt-cat-card {
  position: relative;
  height: 130px;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.tt-cat-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
  filter: brightness(.6);
}
.tt-cat-card:hover img { transform: scale(1.05); }
.tt-cat-label {
  position: relative;
  z-index: 1;
  padding: .6rem .75rem;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}

/* ============================================================
   ARTICLE (SINGLE POST) LAYOUT
   ============================================================ */
.tt-post-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

/* Breadcrumb */
.tt-breadcrumb {
  font-size: 12px;
  color: var(--tt-muted);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.tt-breadcrumb a { color: var(--tt-red); }
.tt-breadcrumb span { color: #d1d5db; }

/* Post header */
.tt-post-cat-tag {
  display: inline-block;
  background: var(--tt-red-light);
  color: var(--tt-red);
  font-size: 10px;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .5rem;
}
.entry-title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--tt-black);
  margin-bottom: .875rem;
}
.tt-post-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  padding: .625rem 0;
  border-top: 1px solid var(--tt-border);
  border-bottom: 1px solid var(--tt-border);
  margin-bottom: 1rem;
  font-size: 12px;
}
.tt-author-chip {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
}
.tt-author-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--tt-red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.tt-post-date { color: var(--tt-muted); }
.tt-post-comments {
  display: flex; align-items: center; gap: .3rem;
  border: 1px solid var(--tt-border);
  border-radius: 20px;
  padding: .2rem .6rem;
  color: var(--tt-muted);
}
.tt-post-share {
  margin-left: auto;
  display: flex; align-items: center; gap: .3rem;
  border: 1px solid var(--tt-red);
  border-radius: 20px;
  padding: .2rem .6rem;
  color: var(--tt-red);
  cursor: pointer;
}

/* Trusted source / update notice */
.tt-trusted-banner {
  background: #fff8f0;
  border: 1px solid #fed7aa;
  border-radius: var(--tt-radius);
  padding: .65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: 12px;
}
.tt-update-notice {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  background: #eff6ff;
  border-left: 3px solid #3b82f6;
  padding: .5rem .875rem;
  border-radius: 0 5px 5px 0;
  font-size: 12px;
  color: #1d4ed8;
  margin-bottom: 1rem;
}

/* Post content typography */
.entry-content h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--tt-black);
  margin: 1.75rem 0 .625rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--tt-border);
}
.entry-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--tt-black);
  margin: 1.25rem 0 .5rem;
}
.entry-content p {
  font-size: 15px;
  line-height: 1.78;
  color: #374151;
  margin-bottom: 1rem;
}
.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.entry-content li {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: .3rem;
}
.entry-content strong { color: var(--tt-black); }
.entry-content a { color: var(--tt-red); }
.entry-content img {
  border-radius: var(--tt-radius);
  margin: 1rem 0;
}

/* ============================================================
   SCORE CARD (inside post)
   ============================================================ */
.tt-score-card {
  background: var(--tt-black);
  border-radius: var(--tt-radius-lg);
  padding: 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin: 1.25rem 0;
}
.tt-score-circle {
  width: 68px; height: 68px;
  border-radius: 50%;
  border: 3px solid var(--tt-red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tt-score-num { font-size: 22px; font-weight: 900; color: var(--tt-red); line-height: 1; }
.tt-score-lbl { font-size: 8px; color: #9ca3af; text-transform: uppercase; letter-spacing: .06em; }
.tt-score-info h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: .3rem; }
.tt-score-info p { font-size: 12px; color: #9ca3af; line-height: 1.55; font-style: italic; }
.tt-score-ratings { display: flex; gap: 1rem; margin-top: .75rem; }
.tt-mini-rating { display: flex; align-items: center; gap: .4rem; font-size: 12px; color: #9ca3af; }
.tt-mini-rating-badge {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--tt-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--tt-red);
}
.tt-mini-rating-badge.user { border-color: var(--tt-green); color: var(--tt-green); }

/* ============================================================
   SPECS BAR
   ============================================================ */
.tt-specs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--tt-border);
  border-radius: var(--tt-radius);
  overflow: hidden;
  margin: 1rem 0;
}
.tt-spec-item { background: #fff; padding: .55rem .75rem; flex: 1; min-width: 90px; }
.tt-spec-name { font-size: 9px; text-transform: uppercase; letter-spacing: .07em; color: var(--tt-muted); }
.tt-spec-val { font-size: 13px; font-weight: 700; color: var(--tt-black); }

/* ============================================================
   PROS / CONS BOX
   ============================================================ */
.tt-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--tt-border);
  border-radius: var(--tt-radius);
  overflow: hidden;
  margin: 1.25rem 0;
}
.tt-pros, .tt-cons { background: #fff; padding: 1rem; }
.tt-pc-head {
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: .4rem;
  margin-bottom: .75rem;
}
.tt-pc-head.pros { color: var(--tt-green); }
.tt-pc-head.cons { color: #dc2626; }
.tt-pc-icon {
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; flex-shrink: 0;
}
.tt-pc-icon.pro { background: #dcfce7; color: var(--tt-green); }
.tt-pc-icon.con { background: #fee2e2; color: #dc2626; }
.tt-pc-item {
  display: flex; gap: .5rem;
  align-items: flex-start;
  font-size: 13px; color: #4b5563;
  margin-bottom: .4rem; line-height: 1.45;
}

/* ============================================================
   AUTHOR BIO
   ============================================================ */
.tt-author-bio {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--tt-bg);
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-radius-lg);
  padding: 1rem 1.125rem;
  margin: 1.5rem 0;
}
.tt-author-bio-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--tt-red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  flex-shrink: 0;
}
.tt-author-bio-name { font-size: 15px; font-weight: 700; margin-bottom: .2rem; }
.tt-author-bio-desc { font-size: 12px; color: var(--tt-muted); line-height: 1.6; margin-bottom: .5rem; }
.tt-author-bio-socials { display: flex; gap: .4rem; }
.tt-author-bio-soc {
  font-size: 11px; padding: .2rem .5rem;
  border: 1px solid var(--tt-border);
  border-radius: 20px; color: var(--tt-muted);
}
.tt-author-bio-soc:hover { border-color: var(--tt-red); color: var(--tt-red); }

/* ============================================================
   COMMENTS BOX
   ============================================================ */
.tt-comments-box {
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.tt-comments-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem;
  background: var(--tt-bg);
  border-bottom: 1px solid var(--tt-border);
  font-size: 13px; font-weight: 700;
  cursor: pointer;
}
.tt-comments-count {
  background: var(--tt-border);
  border-radius: 20px;
  padding: .1rem .5rem;
  font-size: 11px; font-weight: 700;
  margin-left: .4rem;
}

/* ============================================================
   RELATED / RECOMMENDED
   ============================================================ */
.tt-recommended-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--tt-border);
  align-items: center;
  cursor: pointer;
}
.tt-recommended-item:last-child { border-bottom: none; }
.tt-rec-img { height: 120px; border-radius: var(--tt-radius); overflow: hidden; }
.tt-rec-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tt-recommended-item:hover .tt-rec-img img { transform: scale(1.03); }
.tt-rec-title { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--tt-black); margin-bottom: .4rem; }
.tt-rec-auth { display: flex; align-items: center; gap: .35rem; font-size: 11px; color: var(--tt-muted); }
.tt-rec-auth-av {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--tt-red);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 700;
}

/* Related 2-col */
.tt-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--tt-border);
  border-radius: var(--tt-radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}
.tt-related-item {
  background: #fff;
  padding: .75rem;
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: .75rem;
  align-items: center;
  cursor: pointer;
  transition: background .1s;
}
.tt-related-item:hover { background: var(--tt-bg); }
.tt-related-thumb { height: 66px; border-radius: 5px; overflow: hidden; }
.tt-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tt-related-title { font-size: 12px; font-weight: 700; line-height: 1.35; color: var(--tt-black); }
.tt-related-meta { font-size: 10px; color: var(--tt-muted); margin-top: .25rem; }

/* ============================================================
   POST TAGS
   ============================================================ */
.tt-post-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.25rem 0; }
.tt-post-tags a {
  font-size: 12px;
  padding: .25rem .7rem;
  border: 1px solid var(--tt-border);
  border-radius: 20px;
  color: var(--tt-muted);
  transition: all .15s;
}
.tt-post-tags a:hover { border-color: var(--tt-red); color: var(--tt-red); }
.tt-post-tags a::before { content: '#'; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--tt-border);
  background: #fff;
  padding: 2.5rem 0 1.25rem;
  margin-top: 3rem;
}
.tt-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.tt-footer-logo {
  display: inline-block;
  background: var(--tt-red);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  padding: .25rem .65rem;
  border-radius: 4px;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.tt-footer-desc {
  font-size: 13px;
  color: var(--tt-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 270px;
}
.tt-footer-socials { display: flex; gap: .5rem; }
.tt-footer-soc {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--tt-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #374151;
  transition: all .15s; cursor: pointer;
}
.tt-footer-soc:hover { background: var(--tt-red-light); border-color: var(--tt-red); color: var(--tt-red); }
.tt-footer-col-title {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--tt-black); margin-bottom: .75rem;
}
.tt-footer-links { display: flex; flex-direction: column; gap: .45rem; }
.tt-footer-links a { font-size: 13px; color: var(--tt-muted); transition: color .15s; }
.tt-footer-links a:hover { color: var(--tt-red); }
.tt-footer-bottom {
  border-top: 1px solid var(--tt-bg);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.tt-footer-copy { font-size: 12px; color: #9ca3af; }
.tt-footer-legal { display: flex; gap: 1rem; }
.tt-footer-legal a { font-size: 12px; color: #9ca3af; }
.tt-footer-legal a:hover { color: var(--tt-red); }

/* ============================================================
   ADDED: Dynamic Category Grid & General Post Loop 
   ============================================================ */
.tt-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ============================================================
   10TECHY OVERRIDES (Mobile Layout, Comments, Recommended)
   ============================================================ */

/* 1. Mobile Text Spacing & Readability */
.entry-content p, 
.entry-content li {
  font-size: 17px;
  line-height: 1.8;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

/* 2. Featured Image (Edge-to-Edge on Mobile, Rounded on Desktop) */
.tt-hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (min-width: 769px) {
  .tt-featured-image-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
  }
  .tt-hero-image {
    border-radius: var(--tt-radius-lg);
    height: 500px;
  }
}

/* 3. Comment Section Styling */
.tt-comments-wrapper {
  background: #fff;
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-radius-lg);
  padding: 1.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
h3.comments-title {
  display: none !important; /* Hides "1 thought on..." */
}
.comment-respond .comment-reply-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 1rem;
  display: block;
}
.comment-form-comment label,
.comment-form-author label,
.comment-form-email label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--tt-black);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-radius);
  margin-bottom: 1rem;
  font-size: 15px;
  background: var(--tt-bg);
}
.comment-form input[type="submit"] {
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px; /* Pill shape button */
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
}
.comment-body {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--tt-bg);
}
.comment-author img {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.comment-author b { color: var(--tt-red); }
.comment-metadata { font-size: 12px; color: var(--tt-muted); margin-bottom: 0.5rem; }

/* 4. Recommended Articles (Small & Side-by-Side on Mobile) */
.tt-recommended-list {
  display: flex;
  flex-direction: column;
}
.tt-recommended-item {
  display: grid;
  grid-template-columns: 140px 1fr; /* Image left, Text right */
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--tt-border);
  align-items: center;
}
.tt-rec-img {
  height: 80px; /* Thumbnail size */
  border-radius: var(--tt-radius);
  overflow: hidden;
}
.tt-rec-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tt-rec-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.tt-rec-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tt-black);
  margin-bottom: 0.3rem;
}
.tt-rec-auth {
  font-size: 12px;
  color: var(--tt-muted);
}

/* ============================================================
   RESPONSIVE CASCADING (Tablet)
   ============================================================ */
@media (max-width: 1024px) {
  /* Prevent full-width bleed before mobile */
  .grid-container,
  .tt-custom-header .inside-header.grid-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Shrink sidebars slightly */
  .tt-hero, 
  .tt-post-wrap { 
    grid-template-columns: 1fr 260px; 
    gap: 1.5rem;
  }
  
  /* Cat grid moves to 3 columns */
  .tt-cat-grid { 
    grid-template-columns: repeat(3, 1fr); 
  }

  /* Footer moves to 2 columns */
  .tt-footer-grid { 
    grid-template-columns: 1fr 1fr; 
    gap: 2rem;
  }
}

/* ============================================================
   RESPONSIVE CASCADING (Mobile)
   ============================================================ */
@media (max-width: 768px) {
  /* Strict Container Override */
  .tt-container,
  .inside-header,
  .site-info,
  .site-footer .tt-container {
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  /* Header Overrides */
  .tt-custom-header {
    position: static !important;
    border-bottom: none !important;
    box-shadow: none !important;
  }
  .inside-header {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding-bottom: 0.5rem !important;
  }
  .tt-logo-container {
    padding: 1rem 0 !important;
  }
  .tt-logo img {
    max-height: 50px !important; /* FORCES Standard mobile size */
  }
  .tt-nav-wrapper .inside-navigation {
    flex-wrap: wrap !important;
    justify-content: space-between !important;
  }
  .nav-pill-items {
    display: none !important;
  }
  .menu-toggle {
    display: block !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.5rem !important;
    cursor: pointer !important;
    color: inherit !important;
    order: 1 !important;
  }
  .main-navigation.toggled .main-nav ul {
    display: block !important;
    background-color: var(--tt-bg, #f9f9f9) !important;
    border: 1px solid var(--tt-border, #ddd) !important;
    border-radius: var(--tt-radius, 6px) !important;
    padding: 0 !important;
    margin-top: 1rem !important;
    width: 100% !important;
  }
  .main-navigation.toggled .main-nav a {
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--tt-border, #ddd) !important;
    padding: 0.75rem 1rem !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
  .tt-right-pills {
    order: 2 !important;
    margin-left: auto !important;
    gap: 0.25rem !important;
  }
  .menu-cta-pill,
  .pill-search-pill {
    display: none !important;
  }

  /* Layout Stacking */
  .tt-hero, 
  .tt-split-grid, 
  .tt-pros-cons, 
  .tt-post-wrap { 
    grid-template-columns: 1fr; 
  }
  
  .tt-sidebar { 
    position: static; 
    margin-top: 2rem;
  }
  .tt-top-stories { 
    max-height: none; 
  }
  .tt-hero-main img { 
    height: 260px; 
  }
  .entry-title { 
    font-size: 26px !important; 
  }
  
  .tt-mini-cards, 
  .tt-related-grid { 
    grid-template-columns: 1fr 1fr; 
  }
  
  .tt-author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  /* Footer Stacking */
  .tt-footer-grid { 
    grid-template-columns: 1fr; 
    gap: 2rem; 
    text-align: center;
  }
  .tt-footer-socials {
    justify-content: center;
  }
  .tt-footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .tt-footer-legal {
    justify-content: center;
  }

  /* Recommended Articles Mobile Fix */
  .tt-recommended-item {
    grid-template-columns: 110px 1fr; 
    gap: 1rem;
  }
  .tt-rec-img {
    height: 70px;
  }
  .tt-rec-title {
    font-size: 14px;
  }

  /* Prevent Long Words Expanding the Screen */
  .entry-content p,
  .entry-content li,
  .entry-content h2,
  .entry-content h3 {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  html, body {
    overflow-x: hidden !important;
  }
  .tt-comments-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* --- Small Mobile Breakpoint (<= 480px) --- */
@media (max-width: 480px) {
  .tt-cat-grid,
  .tt-mini-cards, 
  .tt-related-grid,
  .tt-recommended-item { 
    grid-template-columns: 1fr; 
  }
  .entry-title { 
    font-size: 20px !important; 
  }
  .tt-rec-img { 
    height: 180px; 
  }
}