/*
Theme Name:     Indians Drive Canada (Neve Child)
Theme URI:      https://indiansdrivecanada.com/
Template:       neve
Author:         Indians Drive Canada
Author URI:     https://indiansdrivecanada.com/
Description:    A lightweight Neve child theme built for Indians Drive Canada. Designed for clear, trustworthy, and mobile-friendly newcomer driving guides for Indians in Canada, with a strong focus on licence rules, road tests, car insurance, vehicle buying, provincial driving requirements, and practical step-by-step informational content. Optimized for readability, performance, accessibility, and search visibility.
Version:        1.0.0
License:        GNU General Public License v2 or later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    indiansdrivecanada
Tags:           education, informational, guides, newcomer, driving, canada, responsive, fast-loading, seo-optimized, gutenberg, clean-design
*/


@media (max-width: 768px) {

  .entry-content table,
  .post-content table,
  .main-content table {
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse;
  }

  .entry-content th, .entry-content td,
  .post-content th,  .post-content td,
  .main-content th,  .main-content td {
    padding: 4px 6px !important;
    font-size: clamp(10px, 2.6vw, 13px) !important;
    line-height: 1.15 !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;

    max-width: 1px;
  }

  .entry-content th,
  .post-content th,
  .main-content th {
    font-size: clamp(10px, 2.8vw, 14px) !important;
  }

  .entry-content table,
  .post-content table,
  .main-content table {
    display: table !important;
    overflow: visible !important;
  }
}
@media (max-width: 480px) {
  .entry-content th, .entry-content td,
  .post-content th,  .post-content td,
  .main-content th,  .main-content td {
    padding: 3px 5px !important;
    font-size: 10px !important;
  }
}

.idc-guide-page {
  color: #172033;
  font-size: 17px;
  line-height: 1.72;
}

.idc-guide-page * {
  box-sizing: border-box;
}

.idc-guide-page p {
  margin: 0 0 1.05rem;
}

.idc-guide-page h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.85rem;
  color: #101828;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.25;
}

.idc-guide-page h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.65rem;
  color: #1f2937;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.3;
}

.idc-guide-page a {
  color: #0f4c81;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.idc-guide-page a:hover {
  color: #08365f;
}

.idc-guide-page strong {
  color: #101828;
}

.idc-answer-box,
.idc-warning-box,
.idc-info-box,
.idc-tip-box,
.idc-doc-box,
.idc-source-box {
  margin: 1.25rem 0;
  padding: 1.05rem 1.15rem;
  border-radius: 14px;
  border: 1px solid transparent;
}

.idc-answer-box {
  background: #eef5ff;
  border-color: #b9d7ff;
  color: #102a43;
}

.idc-warning-box {
  background: #fff4df;
  border-color: #f3c36b;
  color: #3b2600;
}

.idc-info-box {
  background: #eef6f8;
  border-color: #b7d7df;
  color: #12343b;
}

.idc-tip-box {
  background: #edf8f1;
  border-color: #a8d8b9;
  color: #123524;
}

.idc-doc-box {
  background: #f4f6f8;
  border-color: #cfd8e3;
  color: #1f2937;
}

.idc-source-box {
  background: #f7f7fb;
  border-color: #c7c9d9;
  color: #1f2937;
}

.idc-answer-box p:last-child,
.idc-warning-box p:last-child,
.idc-info-box p:last-child,
.idc-tip-box p:last-child,
.idc-doc-box p:last-child,
.idc-source-box p:last-child {
  margin-bottom: 0;
}

.idc-guide-page .idc-box-title {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 750;
  color: #101828;
}

.idc-guide-page ul,
.idc-guide-page ol {
  margin: 0.85rem 0 1.2rem 1.25rem;
  padding-left: 1rem;
}

.idc-guide-page li {
  margin-bottom: 0.55rem;
}

.idc-guide-page .idc-icon-list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.idc-guide-page .idc-icon-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
}

.idc-guide-page .idc-check-list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.idc-guide-page .idc-check-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.65rem;
}

.idc-guide-page .idc-check-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
}

.idc-guide-page .idc-step-card {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid #d6dde8;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.idc-guide-page .idc-step-card strong {
  display: block;
  margin-bottom: 0.3rem;
}

.idc-guide-page .idc-on-page {
  margin: 1.4rem 0;
  padding: 1rem;
  border: 1px solid #d8dee9;
  border-radius: 14px;
  background: #f8fafc;
}

.idc-guide-page .idc-on-page ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 1.2rem;
}

.idc-guide-page .idc-on-page li {
  break-inside: avoid;
  margin-bottom: 0.55rem;
}

.idc-guide-page table {
  width: 100%;
  margin: 1.2rem 0;
  border-collapse: collapse;
  font-size: 0.96rem;
  background: #ffffff;
  border: 1px solid #d8dee9;
}

.idc-guide-page caption {
  caption-side: top;
  padding: 0.7rem 0;
  color: #374151;
  font-weight: 700;
  text-align: left;
}

.idc-guide-page th,
.idc-guide-page td {
  padding: 0.8rem;
  border: 1px solid #d8dee9;
  text-align: left;
  vertical-align: top;
}

.idc-guide-page th {
  background: #edf2f7;
  color: #111827;
  font-weight: 750;
}

.idc-guide-page tbody tr:nth-child(even) {
  background: #f9fafb;
}

.idc-guide-page .idc-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 1.2rem 0;
}

.idc-guide-page .idc-table-wrap table {
  min-width: 680px;
  margin: 0;
}

.idc-guide-page .idc-faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.idc-guide-page .idc-faq-item h3 {
  margin-top: 0;
  color: #101828;
}

.idc-guide-page .idc-faq-item p:last-child {
  margin-bottom: 0;
}

.idc-guide-page em {
  color: #374151;
}

@media (max-width: 768px) {
  .idc-guide-page {
    font-size: 16px;
  }

  .idc-answer-box,
  .idc-warning-box,
  .idc-info-box,
  .idc-tip-box,
  .idc-doc-box,
  .idc-source-box,
  .idc-step-card {
    padding: 0.9rem;
    border-radius: 12px;
  }

  .idc-guide-page .idc-on-page ul {
    columns: 1;
  }

  .idc-guide-page table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .idc-guide-page th,
  .idc-guide-page td {
    padding: 0.7rem;
  }
}
:root{--idc-text:#172033;--idc-muted:#4b5563;--idc-heading:#0f172a;--idc-blue:#0f4c81;--idc-blue-dark:#08365f;--idc-border:#d8dee9;--idc-soft:#f8fafc;--idc-white:#fff;--idc-radius:16px;--idc-shadow:0 10px 28px rgba(15,23,42,.07)}body{font-feature-settings:"kern";text-rendering:optimizeLegibility}.single-post .nv-content-wrap,.page .nv-content-wrap,.entry-content{color:var(--idc-text);font-size:17px;line-height:1.72}.single-post .entry-title,.page .entry-title{max-width:980px;margin-left:auto;margin-right:auto;color:var(--idc-heading);font-size:clamp(2rem,4vw,3.15rem);line-height:1.12;letter-spacing:-.035em;font-weight:800}.entry-content p,.idc-guide-page p{margin:0 0 1.05rem}.entry-content a,.idc-guide-page a{color:var(--idc-blue);font-weight:700;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}.entry-content a:hover,.idc-guide-page a:hover{color:var(--idc-blue-dark)}.entry-content strong,.idc-guide-page strong{color:var(--idc-heading);font-weight:800}.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4,.entry-content h5,.entry-content h6,.idc-guide-page h1,.idc-guide-page h2,.idc-guide-page h3,.idc-guide-page h4,.idc-guide-page h5,.idc-guide-page h6{color:var(--idc-heading);letter-spacing:-.02em;font-weight:800}.entry-content h2,.idc-guide-page h2{position:relative;margin:2.35rem 0 .9rem;padding-left:1rem;font-size:clamp(1.45rem,2.5vw,2rem);line-height:1.22}.entry-content h2:before,.idc-guide-page h2:before{content:"";position:absolute;left:0;top:.14em;width:5px;height:1.15em;border-radius:999px;background:linear-gradient(180deg,#0f4c81,#1f7aaa)}.entry-content h3,.idc-guide-page h3{margin:1.55rem 0 .65rem;font-size:clamp(1.16rem,1.8vw,1.38rem);line-height:1.3}.entry-content h4,.idc-guide-page h4{margin:1.25rem 0 .55rem;font-size:1.05rem;line-height:1.35}.idc-guide-page{max-width:980px;margin:0 auto;color:var(--idc-text);font-size:17px;line-height:1.72}.idc-guide-page *{box-sizing:border-box}.idc-guide-page>p:first-of-type{font-size:1.06rem;color:#243044}.idc-answer-box,.idc-warning-box,.idc-info-box,.idc-tip-box,.idc-doc-box,.idc-source-box{position:relative;margin:1.35rem 0;padding:1.1rem 1.2rem;border-radius:var(--idc-radius);border:1px solid var(--idc-border);box-shadow:var(--idc-shadow);overflow:hidden}.idc-answer-box:before,.idc-warning-box:before,.idc-info-box:before,.idc-tip-box:before,.idc-doc-box:before,.idc-source-box:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px}.idc-answer-box{background:#eef5ff;border-color:#b9d7ff;color:#102a43}.idc-answer-box:before{background:#0f4c81}.idc-warning-box{background:#fff4df;border-color:#efbd5b;color:#3b2600}.idc-warning-box:before{background:#c77700}.idc-info-box{background:#eef6f8;border-color:#b7d7df;color:#12343b}.idc-info-box:before{background:#137b91}.idc-tip-box{background:#edf8f1;border-color:#a8d8b9;color:#123524}.idc-tip-box:before{background:#1f7a45}.idc-doc-box{background:#f4f6f8;border-color:#cfd8e3;color:#1f2937}.idc-doc-box:before{background:#52657a}.idc-source-box{background:#f7f7fb;border-color:#c7c9d9;color:#1f2937}.idc-source-box:before{background:#4f46e5}.idc-answer-box p:last-child,.idc-warning-box p:last-child,.idc-info-box p:last-child,.idc-tip-box p:last-child,.idc-doc-box p:last-child,.idc-source-box p:last-child{margin-bottom:0}.idc-guide-page ul,.idc-guide-page ol,.entry-content ul,.entry-content ol{margin:.85rem 0 1.2rem 1.25rem;padding-left:1rem}.idc-guide-page li,.entry-content li{margin-bottom:.55rem}.idc-guide-page .idc-icon-list,.idc-guide-page .idc-check-list{list-style:none;margin-left:0;padding-left:0}.idc-guide-page .idc-icon-list li{display:flex;gap:.6rem;align-items:flex-start;margin-bottom:.7rem}.idc-guide-page .idc-check-list li{position:relative;padding-left:1.75rem;margin-bottom:.7rem}.idc-guide-page .idc-check-list li:before{content:"✅";position:absolute;left:0;top:0}.idc-guide-page .idc-step-card{margin:1rem 0;padding:1.05rem 1.15rem;border:1px solid #d6dde8;border-radius:var(--idc-radius);background:#fff;box-shadow:var(--idc-shadow)}.idc-guide-page .idc-step-card p:last-child{margin-bottom:0}.idc-guide-page .idc-step-card h3{margin-top:0}.idc-table-wrap{width:100%;overflow-x:auto;margin:1.25rem 0;border-radius:14px;box-shadow:0 8px 24px rgba(15,23,42,.05)}.idc-guide-page table,.entry-content table{width:100%;border-collapse:collapse;font-size:.96rem;background:#fff;border:1px solid var(--idc-border)}.idc-table-wrap table{min-width:680px;margin:0}.idc-guide-page caption,.entry-content caption{caption-side:top;padding:.75rem 0;color:#374151;font-weight:800;text-align:left}.idc-guide-page th,.idc-guide-page td,.entry-content th,.entry-content td{padding:.82rem;border:1px solid var(--idc-border);text-align:left;vertical-align:top}.idc-guide-page th,.entry-content th{background:#edf2f7;color:#111827;font-weight:800}.idc-guide-page tbody tr:nth-child(even),.entry-content tbody tr:nth-child(even){background:#f9fafb}.idc-guide-page .idc-faq-item{padding:1rem 0;border-bottom:1px solid #e5e7eb}.idc-guide-page .idc-faq-item h3{margin-top:0;color:var(--idc-heading)}.idc-guide-page .idc-faq-item p:last-child{margin-bottom:0}.idc-guide-page em,.entry-content em{color:#374151}.entry-content blockquote,.idc-guide-page blockquote{margin:1.4rem 0;padding:1rem 1.2rem;border-left:5px solid #0f4c81;background:#f8fafc;border-radius:0 14px 14px 0;color:#263244}.wp-block-button__link{border-radius:999px;font-weight:800;box-shadow:0 8px 20px rgba(15,76,129,.16);transition:transform .18s ease,box-shadow .18s ease}.wp-block-button__link:hover{transform:translateY(-1px);box-shadow:0 12px 24px rgba(15,76,129,.22)}.entry-content img,.idc-guide-page img{border-radius:16px}.entry-content figure,.idc-guide-page figure{margin:1.5rem 0}.entry-content figcaption,.idc-guide-page figcaption{font-size:.92rem;color:var(--idc-muted);text-align:center;margin-top:.5rem}.entry-content hr,.idc-guide-page hr{border:0;border-top:1px solid #e5e7eb;margin:2rem 0}@media(max-width:768px){.single-post .nv-content-wrap,.page .nv-content-wrap,.entry-content,.idc-guide-page{font-size:16px;line-height:1.68}.single-post .entry-title,.page .entry-title{font-size:clamp(1.75rem,8vw,2.35rem);line-height:1.14}.entry-content h2,.idc-guide-page h2{margin-top:2rem;font-size:1.38rem}.entry-content h3,.idc-guide-page h3{font-size:1.16rem}.idc-answer-box,.idc-warning-box,.idc-info-box,.idc-tip-box,.idc-doc-box,.idc-source-box,.idc-guide-page .idc-step-card{padding:.95rem 1rem;border-radius:13px}.idc-guide-page table,.entry-content table{font-size:.92rem}.idc-guide-page th,.idc-guide-page td,.entry-content th,.entry-content td{padding:.7rem}.idc-table-wrap table{min-width:640px}.idc-guide-page .idc-icon-list li{gap:.5rem}}@media(max-width:480px){.idc-guide-page{max-width:100%}.idc-table-wrap table{min-width:600px}.idc-answer-box,.idc-warning-box,.idc-info-box,.idc-tip-box,.idc-doc-box,.idc-source-box{box-shadow:0 6px 18px rgba(15,23,42,.06)}}