/* Force the homepage Superprof link to stay bright yellow, even when set to open in a new tab */
.home a[href*="superprof"], 
.home a[href*="superprof"]:visited,
.home a[rel*="noopener"],
.home a[rel*="noreferrer"] {
    color: #fcb900 !important; /* Bright Yellow */
    text-decoration: underline !important;
    font-weight: bold !important;
}

/* Ensure it shifts to gold smoothly when hovered over */
.home a[href*="superprof"]:hover,
.home a[rel*="noopener"]:hover {
    color: #cca600 !important;
}

/* Force the entire row container to span wide across the screen */
.home .wp-block-columns {
    display: flex !important;
    width: 100% !important;
    max-width: 1300px !important; /* Expands horizontal margins completely */
    margin: 0 auto !important;
    gap: 3.5rem !important; /* Adds deep breathing room between lists */
}

/* Ensure all three lower columns distribute width perfectly evenly */
.home .wp-block-column {
    flex: 1 1 33.33% !important;
    min-width: 0 !important;
}



/* This controls the title look across your entire website */
.entry-header, .entry-title, .page-title, h1.entry-title, .type-page .entry-title {
    display: block !important;
    font-size: 24px !important;
    text-align: left !important;
    margin-bottom: 20px !important;
    color: #111111 !important;
    padding-left: 20px !important;
}

/* This targets ONLY the homepage and forces the text to be crisp white */
.home .entry-title, .home .page-title, .home h1.entry-title {
    color: #ffffff !important;
}


/* This shrunk your logo */
.site-logo, .site-logo img, img.custom-logo {
    max-width: 85px !important;
    height: auto !important;
}



/* Fix text squeezing and restore proper card width on inner pages */
.page:not(.home) .site-main,
.page:not(.home) .content-area {
    max-width: 1100px !important;
    width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Ensure gentle internal cushioning for left-aligned text */
.page:not(.home) article {
    padding-left: 50px !important;
    padding-right: 50px !important;
    box-sizing: border-box !important;
}


/* ALL-INCLUSIVE INNER PAGE REPAIR ENGINE (FOR PRICING, ABOUT, METHODS & FOCUS) */
@media screen and (max-width: 768px) {
  /* 1. Targets every variation of your theme's mobile layout wrappers to force them wide */
  .page:not(.home) .site-main,
  .page:not(.home) .content-area,
  .page:not(.home) article,
  .page:not(.home) .entry-content,
  .page:not(.home) #primary,
  .page:not(.home) .main-content-inner,
  .page-id-25 .site-main,   /* Explicit structural target for your Pricing page */
  .page-id-18 .site-main    /* Explicit structural target for your About page */ {
    width: 92vw !important;
    min-width: 92vw !important;
    max-width: 92vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    float: none !important;
    display: block !important;
  }

  /* 2. Forces inner groups, text fields, and blocks to fill out 100% of that wide space */
  .page:not(.home) .wp-block-group,
  .page:not(.home) .wp-block-columns,
  .page:not(.home) .wp-block-column,
  .page:not(.home) p,
  .page:not(.home) h2,
  .page:not(.home) h3,
  .page:not(.home) ul,
  .page:not(.home) li,
  .page:not(.home) div {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 3. Forces the table container to swipe sideways on phones instead of crushing text */
  .page:not(.home) .ninja_table_wrapper,
  .page:not(.home) .wp-block-shortcode,
  .page:not(.home) table {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    display: block !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .page:not(.home) table.ninja_table_class, 
  .page:not(.home) table.footable {
    min-width: 580px !important;
  }
  .page:not(.home) .ninja_table_class th, 
  .page:not(.home) .ninja_table_class td {
    white-space: nowrap !important;
  }
}


/* 1. Hide the default WordPress.com footer credit link text */
.site-info a, .site-info {
    color: transparent !important;
    font-size: 0 !important;
}

/* 2. Inject custom copyright and privacy link on a single, uniform line */
.site-info::before {
    content: "© 2026 Kokoro Japanese. All Rights Reserved.  |  PRIVACY & PROTOCOLS" !important;
    color: #666666 !important;
    font-size: 11px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    display: block !important;
    text-align: center !important;
    visibility: visible !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
}

/* 3. Lock the dark background coverage strictly to the Homepage wrapper */
.home .site-footer, .home #colophon {
    background-color: #111111 !important;
    margin-bottom: 0 !important;
    padding-bottom: 25px !important;
}
