/* =============================================================
   The Innovation Guy - Main Stylesheet
   Makoney-inspired editorial magazine layout · Roboto typography
   ============================================================= */

*, *::before, *::after { box-sizing: border-box; }

:root {
    --tig-blue: #1400FF;
    --tig-ink: #111111;
    --tig-bg: #ffffff;
    --tig-soft: #f8f7f4;
    --tig-border: #e4e2dc;
    --tig-muted: #808070;
    --tig-faint: #c0bfb5;
    --tig-blue-bg: #eeeeff;
}

html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--tig-bg);
    color: var(--tig-ink);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
a:hover { color: var(--tig-blue); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
.tig-screen-reader-text {
    position: absolute; left: -9999px; top: -9999px;
}

/* SCROLL PROGRESS */
.tig-progress {
    position: fixed; top: 0; left: 0;
    height: 2px; background: var(--tig-blue);
    width: 0; z-index: 1000;
    transition: width .05s linear;
}

/* TOP BAR */
.tig-topbar {
    background: var(--tig-ink);
    padding: 6px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.tig-topbar-date {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    font-weight: 400;
}
.tig-topbar-cats {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0; padding: 0;
}
.tig-topbar-cats a {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    transition: color .15s;
    font-weight: 500;
}
.tig-topbar-cats a:hover { color: #fff; }
.tig-topbar-right {
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tig-blue);
    font-weight: 700;
}

/* MASTHEAD */
.tig-masthead {
    padding: 22px 40px 18px;
    border-bottom: 2.5px solid var(--tig-ink);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
}
.tig-mh-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.tig-mh-tag {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--tig-muted);
    font-weight: 500;
}
.tig-mh-stat {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--tig-blue);
    font-weight: 700;
}
.tig-mh-logo {
    text-align: center;
}
.tig-mh-logo img,
.tig-mh-logo .custom-logo {
    height: 78px !important;
    width: auto !important;
    max-width: 320px;
    margin: 0 auto;
    display: block;
}
.tig-mh-logo .tig-text-logo {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 28px;
    letter-spacing: -.02em;
    color: var(--tig-ink);
}
.tig-mh-logo .tig-text-logo span { color: var(--tig-blue); }
.tig-mh-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.tig-subscribe-form {
    display: flex;
    gap: 6px;
}
.tig-subscribe-form input[type="email"] {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    padding: 8px 14px;
    border: 1px solid var(--tig-border);
    border-radius: 2px;
    outline: none;
    width: 172px;
    transition: border-color .2s;
    background: var(--tig-bg);
    color: var(--tig-ink);
}
.tig-subscribe-form input[type="email"]:focus { border-color: var(--tig-ink); }
.tig-subscribe-form button {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 8px 16px;
    background: var(--tig-ink);
    color: #fff;
    border: none;
    border-radius: 2px;
    white-space: nowrap;
    transition: background .2s;
}
.tig-subscribe-form button:hover { background: var(--tig-blue); }
.tig-mh-nav { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.tig-mh-nav a {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tig-muted);
    transition: color .15s;
    font-weight: 500;
}
.tig-mh-nav a:hover,
.tig-mh-nav .current-menu-item > a {
    color: var(--tig-ink);
}
.tig-mh-nav .current-menu-item > a {
    border-bottom: 1.5px solid var(--tig-ink);
    padding-bottom: 1px;
}

/* HERO SECTION */
.tig-hero-wrap { border-bottom: 1px solid var(--tig-border); }
.tig-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border-top: 1px solid var(--tig-border);
}
.tig-hero-main {
    padding: 28px 32px;
    border-right: 1px solid var(--tig-border);
}
.tig-hero-side {
    display: flex;
    flex-direction: column;
}
.tig-hero-side-item {
    padding: 22px;
    border-bottom: 1px solid var(--tig-border);
    flex: 1;
}
.tig-hero-side-item:last-child { border-bottom: none; }

/* BOTTOM 4-COL ROW */
.tig-hero-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--tig-border);
}
.tig-hb-cell {
    padding: 20px;
    border-right: 1px solid var(--tig-border);
}
.tig-hb-cell:last-child { border-right: none; }

/* IMAGE / FALLBACK BLOCKS */
.tig-img-block {
    border-radius: 2px;
    overflow: hidden;
    background: var(--tig-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 40px;
    aspect-ratio: 16/9;
}
.tig-img-block.tig-img-tall { aspect-ratio: 4/3; }
.tig-img-block.tig-img-square { aspect-ratio: 1/1; font-size: 26px; }
.tig-img-block.tig-img-thin { aspect-ratio: 4/2; font-size: 28px; }
.tig-img-block img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* CATEGORY LABEL */
.tig-cat-label {
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 9px;
    color: var(--tig-blue);
}
.tig-cat-label.ink { color: var(--tig-ink); }
.tig-cat-label.gray { color: var(--tig-muted); }

/* HEADLINES */
.tig-t-hero {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 0 0 12px;
    color: var(--tig-ink);
    transition: color .15s;
}
.tig-t-hero a { color: inherit; }
.tig-t-hero a:hover { color: var(--tig-blue); }
.tig-t-md {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: -.01em;
    margin: 0 0 8px;
    color: var(--tig-ink);
}
.tig-t-md a:hover { color: var(--tig-blue); }
.tig-t-sm {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: -.005em;
    margin: 0 0 7px;
    color: var(--tig-ink);
}
.tig-t-sm a:hover { color: var(--tig-blue); }

/* EXCERPTS */
.tig-exc {
    font-size: 13.5px;
    color: var(--tig-muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 12px;
    font-weight: 400;
}
.tig-exc2 {
    font-size: 12.5px;
    color: var(--tig-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 8px;
    font-weight: 400;
}

/* META */
.tig-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.tig-meta-src {
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--tig-blue);
    font-weight: 700;
}
.tig-meta-dot { color: var(--tig-faint); }
.tig-meta-date {
    font-size: 10.5px;
    color: var(--tig-faint);
    font-weight: 400;
}

/* READ MORE */
.tig-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--tig-ink);
    margin-top: 10px;
    border: none;
    background: none;
    padding: 0;
    transition: color .15s;
}
.tig-read-more:hover { color: var(--tig-blue); }
.tig-read-more svg { width: 11px; height: 11px; stroke: currentColor; stroke-width: 2.5; fill: none; }

/* ACTIONS */
.tig-actions {
    display: flex;
    gap: 14px;
    margin-top: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.tig-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    color: var(--tig-faint);
    border: none;
    background: none;
    padding: 0;
    transition: color .15s;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}
.tig-action-btn:hover { color: var(--tig-ink); }
.tig-action-btn svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2; fill: none; }
.tig-action-btn.liked { color: var(--tig-blue); }
.tig-action-btn.liked svg { fill: var(--tig-blue); }

/* SECTION HEADER */
.tig-sec-head {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--tig-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}
.tig-sec-head::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--tig-border);
}

/* BELOW FOLD LAYOUT */
.tig-below-fold {
    display: grid;
    grid-template-columns: 1fr 280px;
}
.tig-main-col {
    padding: 34px 36px;
    border-right: 1px solid var(--tig-border);
}
.tig-sidebar {
    padding: 30px 24px;
}

/* LIST ARTICLES */
.tig-list-item {
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--tig-border);
}
.tig-list-item:last-child { border-bottom: none; }
.tig-list-thumb {
    border-radius: 2px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: var(--tig-soft);
    overflow: hidden;
}
.tig-list-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* LOAD MORE */
.tig-load-more-btn {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    border: 1px solid var(--tig-border);
    border-radius: 2px;
    background: var(--tig-bg);
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--tig-muted);
    transition: all .18s;
}
.tig-load-more-btn:hover {
    border-color: var(--tig-ink);
    color: var(--tig-ink);
}
.tig-load-more-btn:disabled { opacity: .35; cursor: default; }

/* SIDEBAR WIDGETS */
.tig-sidebar .widget { margin-bottom: 30px; }
.tig-sidebar .widget-title {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--tig-muted);
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--tig-ink);
    margin-bottom: 16px;
}
.tig-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tig-sidebar ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--tig-border);
    font-size: 13px;
}
.tig-sidebar ul li:last-child { border-bottom: none; }
.tig-sidebar ul li a {
    color: var(--tig-muted);
    transition: color .15s;
}
.tig-sidebar ul li a:hover { color: var(--tig-ink); }

/* NEWSLETTER WIDGET */
.tig-nl-widget {
    background: var(--tig-ink);
    padding: 24px;
    border-radius: 2px;
    margin-bottom: 28px;
}
.tig-nl-eyebrow {
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    margin: 0 0 8px;
    font-weight: 500;
}
.tig-nl-headline {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 6px;
}
.tig-nl-headline em {
    font-style: italic;
    color: var(--tig-blue);
}
.tig-nl-desc {
    font-size: 12px;
    color: rgba(255,255,255,.4);
    line-height: 1.55;
    margin: 0 0 14px;
}
.tig-nl-input {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 2px;
    background: rgba(255,255,255,.07);
    color: #fff;
    outline: none;
    margin-bottom: 8px;
}
.tig-nl-input::placeholder { color: rgba(255,255,255,.22); }
.tig-nl-input:focus { border-color: var(--tig-blue); }
.tig-nl-btn {
    width: 100%;
    padding: 10px;
    background: var(--tig-blue);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    transition: background .18s;
}
.tig-nl-btn:hover { background: #0500cc; }
.tig-nl-note {
    font-size: 9px;
    color: rgba(255,255,255,.18);
    margin: 8px 0 0;
    text-align: center;
}

/* TRENDING */
.tig-trending-list {
    display: flex;
    flex-direction: column;
}
.tig-trend-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--tig-border);
    align-items: start;
}
.tig-trend-item:last-child { border-bottom: none; }
.tig-trend-num {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: var(--tig-border);
    line-height: 1;
    text-align: right;
}
.tig-trend-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 12.5px;
    line-height: 1.3;
    color: var(--tig-ink);
    transition: color .15s;
    margin: 0;
}
.tig-trend-title a:hover { color: var(--tig-blue); }
.tig-trend-meta {
    font-size: 10px;
    color: var(--tig-faint);
    margin-top: 4px;
}

/* TAG CLOUD */
.tig-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.tagcloud a,
.tig-tag-pill {
    font-size: 10px !important;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid var(--tig-border);
    padding: 5px 10px;
    border-radius: 2px;
    color: var(--tig-muted) !important;
    transition: all .15s;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}
.tagcloud a:hover,
.tig-tag-pill:hover {
    border-color: var(--tig-ink);
    color: var(--tig-ink) !important;
}

/* FOOTER */
.tig-footer {
    border-top: 2.5px solid var(--tig-ink);
    padding: 30px 40px 22px;
}
.tig-footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 26px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--tig-border);
}
.tig-footer-brand-name {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: -.01em;
    margin: 0 0 8px;
}
.tig-footer-brand-name em {
    font-style: italic;
    color: var(--tig-blue);
}
.tig-footer-desc {
    font-size: 12.5px;
    color: var(--tig-muted);
    line-height: 1.6;
    margin: 0;
}
.tig-footer-col-title {
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--tig-muted);
    font-weight: 700;
    margin: 0 0 12px;
}
.tig-footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.tig-footer-links a {
    font-size: 13px;
    color: var(--tig-muted);
    transition: color .15s;
}
.tig-footer-links a:hover { color: var(--tig-ink); }
.tig-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.tig-footer-copy {
    font-size: 10px;
    color: var(--tig-faint);
    letter-spacing: .05em;
}
.tig-footer-copy em {
    font-style: normal;
    color: var(--tig-blue);
}
.tig-social-icons {
    display: flex;
    gap: 8px;
}
.tig-social-btn {
    width: 28px;
    height: 28px;
    border-radius: 2px;
    border: 1px solid var(--tig-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    color: var(--tig-muted);
}
.tig-social-btn:hover {
    border-color: var(--tig-ink);
    color: var(--tig-ink);
}
.tig-social-btn svg { width: 12px; height: 12px; fill: currentColor; }

/* SINGLE POST */
.tig-single {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 32px 80px;
}
.tig-single-cat {
    display: block;
    text-align: center;
    margin-bottom: 16px;
}
.tig-single h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -.02em;
    text-align: center;
    margin: 0 0 20px;
}
.tig-single-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--tig-border);
}
.tig-single-content {
    font-size: 17px;
    line-height: 1.75;
    color: var(--tig-ink);
}
.tig-single-content p { margin: 0 0 1.4em; }
.tig-single-content h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 26px;
    margin: 1.6em 0 .6em;
    letter-spacing: -.01em;
}
.tig-single-content h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin: 1.4em 0 .5em;
}
.tig-single-content blockquote {
    border-left: 3px solid var(--tig-blue);
    padding-left: 20px;
    margin: 1.6em 0;
    font-style: italic;
    color: var(--tig-muted);
}
.tig-single-content a {
    color: var(--tig-blue);
    border-bottom: 1px solid var(--tig-blue);
}
.tig-single-content code {
    background: var(--tig-soft);
    padding: 2px 6px;
    border-radius: 2px;
    font-family: 'Roboto Mono', monospace;
    font-size: .9em;
}

.tig-single-share {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 40px 0 24px;
    padding: 20px 0;
    border-top: 1px solid var(--tig-border);
    border-bottom: 1px solid var(--tig-border);
}
.tig-single-share-label {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--tig-muted);
    margin-right: 8px;
}

/* ARCHIVE / SEARCH */
.tig-archive-header {
    padding: 40px 40px 28px;
    border-bottom: 2.5px solid var(--tig-ink);
    text-align: center;
}
.tig-archive-eyebrow {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--tig-muted);
    font-weight: 700;
}
.tig-archive-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -.02em;
    margin: 8px 0 0;
}

/* PAGINATION */
.tig-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}
.tig-pagination a, .tig-pagination span {
    padding: 8px 14px;
    border: 1px solid var(--tig-border);
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    color: var(--tig-muted);
}
.tig-pagination .current {
    background: var(--tig-ink);
    color: #fff;
    border-color: var(--tig-ink);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .tig-hero-grid { grid-template-columns: 1fr; }
    .tig-hero-main { border-right: none; border-bottom: 1px solid var(--tig-border); }
    .tig-hero-bottom { grid-template-columns: repeat(2, 1fr); }
    .tig-hb-cell:nth-child(2) { border-right: none; }
    .tig-hb-cell:nth-child(1), .tig-hb-cell:nth-child(2) {
        border-bottom: 1px solid var(--tig-border);
    }
    .tig-below-fold { grid-template-columns: 1fr; }
    .tig-main-col { border-right: none; border-bottom: 1px solid var(--tig-border); }
    .tig-masthead { grid-template-columns: 1fr; gap: 16px; text-align: center; }
    .tig-mh-left { align-items: center; }
    .tig-mh-right { align-items: center; }
    .tig-footer-top { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
    .tig-topbar { padding: 6px 16px; }
    .tig-topbar-cats { display: none; }
    .tig-masthead { padding: 18px 16px 14px; }
    .tig-hero-main, .tig-hero-side-item { padding: 18px; }
    .tig-hero-bottom { grid-template-columns: 1fr; }
    .tig-hb-cell { border-right: none; border-bottom: 1px solid var(--tig-border); }
    .tig-hb-cell:last-child { border-bottom: none; }
    .tig-main-col { padding: 24px 18px; }
    .tig-sidebar { padding: 24px 18px; }
    .tig-list-item { grid-template-columns: 1fr 80px; gap: 12px; }
    .tig-footer { padding: 24px 18px 18px; }
    .tig-single { padding: 40px 18px 60px; }
    .tig-subscribe-form input[type="email"] { width: 140px; }
}
