/*================================================================
  THE INTIMACY GUIDE — HOMEPAGE STYLES (front-page.php)
  Depends on the CSS variables defined in the main style.css
  (--tig-cream, --tig-terracotta, --tig-blush, etc.) — load this
  file AFTER style.css.
================================================================*/

.tig-home {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.tig-btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 4px;
    font-family: var(--tig-font-body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.tig-btn-primary {
    background: var(--tig-terracotta);
    color: #fff !important;
}

.tig-btn-primary:hover {
    background: var(--tig-plum);
}

.tig-btn-outline {
    background: transparent;
    border: 1px solid var(--tig-terracotta);
    color: var(--tig-terracotta) !important;
}

.tig-btn-outline:hover {
    background: var(--tig-terracotta);
    color: #fff !important;
}

.tig-section {
    margin-top: 70px;
}

.tig-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}

.tig-section-title {
    font-family: var(--tig-font-display);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--tig-ink);
    margin: 0 0 24px;
}

.tig-section-subtitle {
    font-family: var(--tig-font-body);
    text-transform: none;
    font-weight: 400;
    color: var(--tig-grey);
    letter-spacing: 0;
    font-size: 14px;
}

.tig-eyebrow-title {
    margin-bottom: 20px;
    display: block;
}

.tig-view-all {
    font-family: var(--tig-font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--tig-terracotta);
    text-decoration: none;
    white-space: nowrap;
}

.tig-view-all:hover {
    color: var(--tig-plum);
}

/* ============ HERO ============ */
.tig-hero {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
    padding-top: 50px;
}

.tig-hero-eyebrow {
    display: block;
    font-family: var(--tig-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--tig-terracotta);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.tig-hero-headline {
    font-family: var(--tig-font-display);
    font-weight: 500;
    font-size: 44px;
    line-height: 1.25;
    color: var(--tig-ink);
    margin: 0 0 30px;
}

.tig-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    max-height: 480px;
}

/* ============ CATEGORY ICON STRIP ============ */
.tig-category-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--tig-line);
    border-radius: 6px;
    margin-top: 40px;
    overflow: hidden;
    background: #fff;
}

.tig-category-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 26px 10px;
    text-decoration: none !important;
    border-right: 1px solid var(--tig-line);
    transition: background 0.2s ease;
}

.tig-category-strip-item:last-child {
    border-right: none;
}

.tig-category-strip-item:hover {
    background: var(--tig-blush);
}

.tig-category-strip-item i {
    font-size: 20px;
    color: var(--tig-terracotta);
}

.tig-category-strip-item span {
    font-family: var(--tig-font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--tig-ink);
}

/* ============ FEATURED CATEGORIES ============ */
.tig-featured-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tig-fc-card {
    display: block;
    text-decoration: none !important;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.tig-fc-card:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.tig-fc-image {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.tig-fc-body {
    padding: 18px;
}

.tig-fc-body h3 {
    font-family: var(--tig-font-display);
    font-weight: 500;
    font-size: 18px;
    color: var(--tig-ink);
    margin: 0 0 8px;
}

.tig-fc-body p {
    font-family: var(--tig-font-body);
    font-size: 13.5px;
    color: var(--tig-grey);
    line-height: 1.5;
    margin: 0 0 12px;
}

.tig-fc-read {
    font-family: var(--tig-font-body);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tig-terracotta);
}

/* ============ LATEST ARTICLES ============ */
.tig-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.tig-latest-card {
    display: block;
    text-decoration: none !important;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.tig-latest-card:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.tig-latest-image,
.tig-latest-image-placeholder {
    height: 190px;
    background: var(--tig-blush);
}

.tig-latest-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.tig-latest-body {
    padding: 18px;
}

.tig-latest-cat {
    display: block;
    font-family: var(--tig-font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--tig-terracotta);
    margin-bottom: 8px;
}

.tig-latest-body h3 {
    font-family: var(--tig-font-display);
    font-weight: 500;
    font-size: 19px;
    color: var(--tig-ink);
    margin: 0 0 10px;
    line-height: 1.35;
}

.tig-latest-meta {
    font-family: var(--tig-font-body);
    font-size: 13px;
    color: var(--tig-grey);
    margin-bottom: 6px;
}

.tig-latest-meta-bottom {
    font-family: var(--tig-font-body);
    font-size: 12px;
    color: var(--tig-grey);
}

.tig-latest-sep {
    margin: 0 6px;
}

/* ============ NEWSLETTER ============ */
.tig-newsletter {
    background: var(--tig-blush);
    border-radius: 10px;
    margin-top: 70px;
    padding: 50px 40px;
}

.tig-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.tig-newsletter-eyebrow {
    display: block;
    font-family: var(--tig-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--tig-terracotta);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.tig-newsletter-text h2 {
    font-family: var(--tig-font-display);
    font-weight: 500;
    font-size: 26px;
    color: var(--tig-ink);
    margin: 0;
    max-width: 480px;
}

.tig-newsletter-form {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.tig-newsletter-form input[type="email"] {
    padding: 13px 16px;
    border: 1px solid var(--tig-line);
    border-radius: 4px;
    font-family: var(--tig-font-body);
    font-size: 14px;
    min-width: 240px;
}

/* ============ TWO COLUMN: FEATURED STORY + TRENDING ============ */
.tig-two-col-section {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    margin-top: 70px;
}

.tig-story-card {
    display: block;
    text-decoration: none !important;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.tig-story-image img,
.tig-story-image .tig-latest-image-placeholder {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.tig-story-body {
    padding: 26px;
}

.tig-story-body h3 {
    font-family: var(--tig-font-display);
    font-weight: 500;
    font-size: 26px;
    color: var(--tig-ink);
    margin: 0 0 12px;
    line-height: 1.3;
}

.tig-story-body p {
    font-family: var(--tig-font-body);
    font-size: 14.5px;
    color: var(--tig-grey);
    line-height: 1.6;
    margin: 0 0 18px;
}

.tig-trending-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tig-trending-item {
    display: flex;
    gap: 14px;
    align-items: center;
    text-decoration: none !important;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.tig-trending-thumb img,
.tig-trending-thumb .tig-latest-image-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
    display: block;
}

.tig-trending-body h4 {
    font-family: var(--tig-font-display);
    font-weight: 500;
    font-size: 15px;
    color: var(--tig-ink);
    margin: 0 0 6px;
    line-height: 1.35;
}

.tig-trending-body span {
    font-family: var(--tig-font-body);
    font-size: 11.5px;
    color: var(--tig-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============ POPULAR COLLECTIONS ============ */
.tig-collections-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}

.tig-collection-tile {
    display: block;
    text-decoration: none !important;
    text-align: center;
}

.tig-collection-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
}

.tig-collection-tile span {
    font-family: var(--tig-font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--tig-ink);
}

/* ============ EDITOR'S PICKS ============ */
.tig-picks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.tig-pick-card {
    display: block;
    text-decoration: none !important;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    padding-bottom: 18px;
}

.tig-pick-image {
    height: 150px;
    background-size: cover;
    background-position: center;
    margin-bottom: 14px;
}

.tig-pick-card h4 {
    font-family: var(--tig-font-display);
    font-weight: 500;
    font-size: 16px;
    color: var(--tig-ink);
    margin: 0 18px 8px;
}

.tig-pick-link {
    font-family: var(--tig-font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--tig-terracotta);
    margin: 0 18px;
}

/* ============ RESPONSIVE ============ */
@media screen and (max-width: 1024px) {
    .tig-featured-categories { grid-template-columns: repeat(2, 1fr); }
    .tig-latest-grid { grid-template-columns: repeat(2, 1fr); }
    .tig-collections-row { grid-template-columns: repeat(4, 1fr); }
    .tig-picks-grid { grid-template-columns: repeat(2, 1fr); }
    .tig-instagram-row { grid-template-columns: repeat(4, 1fr); }
    .tig-two-col-section { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
    .tig-hero { grid-template-columns: 1fr; }
    .tig-hero-image { order: -1; }
    .tig-hero-headline { font-size: 30px; }
    .tig-category-strip { grid-template-columns: repeat(3, 1fr); }
    .tig-category-strip-item:nth-child(3) { border-right: none; }
    .tig-category-strip-item:nth-child(n+4) { border-top: 1px solid var(--tig-line); }
    .tig-featured-categories { grid-template-columns: 1fr; }
    .tig-latest-grid { grid-template-columns: 1fr; }
    .tig-newsletter-inner { flex-direction: column; align-items: flex-start; }
    .tig-newsletter-form { width: 100%; }
    .tig-newsletter-form input[type="email"] { flex: 1; min-width: 0; }
    .tig-collections-row { grid-template-columns: repeat(3, 1fr); }
    .tig-picks-grid { grid-template-columns: 1fr; }
    .tig-instagram-row { grid-template-columns: repeat(3, 1fr); }
    .tig-section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}


/*================================================================
  FIX 1 — WIDTH ISSUE
  The theme's .main-content wrapper reserves a sidebar column via
  a data-layout grid even though front-page.php has no sidebar,
  leaving a large empty gap on the right. Force it to full width
  and single column specifically (this file only loads on the
  front page, so it's safe to be broad here).
================================================================*/
.main-content {
    display: block !important;
    grid-template-columns: none !important;
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
