/*
Theme Name:     Neve Child
Theme URI:      https://themeisle.com/themes/neve/
Template: neve
*/
.edu-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: flex-start;
}

.edu-col {
  display: flex;
  flex-direction: column;
  background: #f9fafb;
  padding: 20px;
  border-radius: 10px;
  line-height: 1.6;
}

.edu-col h3 {
  background: #f2f5ff;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  margin: 28px 0 14px;
  border: 1px solid #e1e6f5;
  min-height: 56px;
  display: flex;
  align-items: center;
}

.edu-col h3:first-of-type {
  margin-top: 0;
}

.edu-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #555;
  margin: 10px 0 4px;
}

.edu-col p {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-weight: 600;
}

.edu-col p + h3 {
  margin-top: 34px;
}

@media (max-width: 768px) {
  .edu-row {
    grid-template-columns: 1fr;
  }
  .edu-col h3 {
    min-height: auto;
  }
}

.comparison-table {
  margin-top: 30px;
}

.comparison-table h2 {
  text-align: center;
  margin-bottom: 15px;
}

.comparison-table > .edu-compare-wrapper {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.comparison-table > div {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  padding: 20px;
  border-radius: 8px;
}

.comparison-table h3 {
  margin-top: 30px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
}

@media (max-width: 768px) {
  .comparison-table {
    flex-direction: column;
  }
}

.compare-button,
.country-compare-cta {
  margin: 20px 0;
}

.compare-button a,
.country-compare-cta a {
  display: inline-block;
  padding: 10px 18px;
  background: #1e73be;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.compare-button a:hover,
.country-compare-cta a:hover {
  background: #155a8a;
}

.compare-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f5f8ff;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.compare-country {
  text-align: center;
  width: 40%;
}

.compare-country h2 {
  margin: 10px 0 0;
}

.compare-vs {
  font-size: 20px;
  font-weight: 700;
  color: #777;
}

.country-controls {
  margin: 30px 0;
}

.country-search {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
}

.country-az {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.country-az span {
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  background: #f3f4f6;
  font-weight: 600;
}

.country-az span:hover {
  background: #1e73be;
  color: #fff;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 26px;
  margin: 40px 0;
}

.country-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.country-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}

.country-card a {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.country-image {
  aspect-ratio: 16 / 9;
  background: #f3f4f6;
  overflow: hidden;
}

.country-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.country-meta {
  padding: 14px 16px;
  text-align: center;
}

.country-flag {
  width: 36px;
  height: auto;
  margin-bottom: 6px;
}

.country-title {
  font-size: 16px;
  font-weight: 700;
  margin: 4px 0;
}

.country-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  background: #1e73be;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
}

.country-compare-btn {
  display: block;
  text-align: center;
  padding: 10px;
  background: #f5f8ff;
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid #e5e7eb;
}

.country-compare-btn:hover {
  background: #1e73be;
  color: #fff;
}

@media (max-width: 600px) {
  .country-title {
    font-size: 15px;
  }
}

.single-post-container,
.nv-single-post-wrap,
.entry-header,
.nv-title-meta-wrap,
.nv-content-wrap,
.nv-thumb-wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 16px !important;
}

.nv--yoast-breadcrumb {
  margin: 0 !important;
  padding: 0 !important;
  display: block;
}

.nv-title-meta-wrap h1.title.entry-title {
  margin-top: 4px !important;
  margin-bottom: 10px !important;
  line-height: 1.2em !important;
}

.nv-meta-list {
  margin: 0 !important;
  padding: 0 !important;
  gap: 6px;
}

.nv-thumb-wrap {
  margin-top: 8px !important;
  margin-bottom: 12px !important;
}

.nv-content-wrap.entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.nv-content-wrap.entry-content p {
  margin-bottom: 12px !important;
}

.nv-content-wrap.entry-content h2,
.nv-content-wrap.entry-content h3 {
  margin-top: 18px !important;
  margin-bottom: 10px !important;
}

footer, .nv-content-wrap {
  margin-top: 20px !important;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

th, td {
  border: 1px solid #ccc;
  padding: 6px 8px;
  text-align: left;
}

th {
  background: #eee;
  color: #000;
}

table td,
table th {
  white-space: normal !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 600px) {
  .entry-content table,
  .post-content table,
  .main-content table {
    display: block !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
  }

  th, td {
    padding: 4px 6px;
  }

  table, th, td {
    font-size: 0.78rem !important;
  }

  th {
    font-size: 0.82rem !important;
  }
}

@media (min-width: 601px) {
  .entry-content table,
  .post-content table,
  .main-content table {
    display: table !important;
    white-space: normal !important;
    overflow-x: visible !important;
  }
}

.edu-compare-table {
  margin-top: 16px;
}

.edu-compare-table .compare-section-row th {
  background: #f2f5ff;
  color: #111827;
  font-size: 14px;
  text-transform: none;
}

.edu-compare-table .compare-data-row th.compare-label-cell {
  background: #0b6b8c;
  color: #fff;
  width: 34%;
}

.edu-compare-table .compare-data-row td {
  width: 33%;
}

@media (max-width: 600px) {
  .entry-content table.edu-compare-table,
  .post-content table.edu-compare-table,
  .main-content table.edu-compare-table {
    display: table !important;
    overflow-x: visible !important;
    white-space: normal !important;
  }

  .edu-compare-table {
    table-layout: fixed !important;
  }

  .edu-compare-table th,
  .edu-compare-table td {
    font-size: 0.7rem !important;
    padding: 3px 4px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .edu-compare-table .compare-section-row th {
    font-size: 0.78rem !important;
  }

  .edu-compare-sticky-header {
    font-size: 0.75rem !important;
    padding: 4px 6px !important;
    grid-template-columns: minmax(70px, 1fr) 1fr 1fr;
  }

  body {
    overflow-x: hidden;
  }
}

.comparison-intro {
  background: #f9fafb;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 1rem;
  line-height: 1.6;
}

.edu-compare-notice-bar {
  width: 100%;
  background: #f8fafc;
  padding: 10px 15px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  display: flex;
  justify-content: center;
  z-index: 999;
}

.edu-compare-notice-bar .edu-header-compare {
  width: 100%;
  max-width: 900px;
}

.single-comparison .edu-compare-wrapper{
  position: relative !important;
}

.single-comparison .edu-compare-sticky-header{
  position: relative !important;
  z-index: 5 !important;

  background: #0b6b8c !important;
  color: #fff !important;
  border-bottom: 2px solid #08526b !important;

  display: grid !important;
  grid-template-columns: 30% 35% 35% !important;
  align-items: center !important;
  justify-items: stretch !important;

  padding: 10px 12px !important;
  box-sizing: border-box !important;
}

.single-comparison .edu-compare-sticky-header.edu-fixed-active{
  position: fixed !important;
  z-index: 999999 !important;
}


.single-comparison .edu-compare-sticky-header .sticky-col{
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.single-comparison .edu-compare-sticky-header .sticky-col-country{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;

  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;

  font-size: clamp(0.55rem, 2.2vw, 1rem) !important;
  line-height: 1.1 !important;
  text-align: center !important;
}


@media (max-width: 600px){
  .single-comparison .edu-compare-sticky-header{
    padding: 8px 8px !important;
    grid-template-columns: 32% 34% 34% !important;
  }
  .single-comparison .edu-compare-sticky-header .sticky-col-country{
    font-size: clamp(0.5rem, 3vw, 0.9rem) !important;
  }
}




.single-comparison .edu-compare-wrapper{
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

.single-comparison .edu-compare-wrapper .edu-compare-sticky-header{
  min-width: 0 !important;
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 30% 35% 35% !important;
  align-items: center !important;
  justify-items: stretch !important;
}

.single-comparison .edu-compare-wrapper .edu-compare-sticky-header .sticky-col{
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

.single-comparison .edu-compare-wrapper .edu-compare-sticky-header .sticky-col-country{
  display: flex !important;
  width: 100% !important;
  justify-content: center !important;
  align-items: center !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: clamp(0.55rem, 2.2vw, 1rem) !important;
  line-height: 1.1 !important;
  text-align: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.single-comparison .edu-compare-wrapper .edu-compare-sticky-header .sticky-col-label{
  display: flex !important;
  width: 100% !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

@media (max-width: 600px){
  .single-comparison .edu-compare-wrapper .edu-compare-sticky-header{
    padding: 8px 6px !important;
    grid-template-columns: 32% 34% 34% !important;
  }

  .single-comparison .edu-compare-wrapper .edu-compare-sticky-header .sticky-col-country{
    font-size: clamp(0.5rem, 3vw, 0.9rem) !important;
  }
}

@media (max-width: 400px){
  .single-comparison .edu-compare-wrapper .edu-compare-sticky-header .sticky-col-country{
    font-size: clamp(0.45rem, 3.5vw, 0.85rem) !important;
  }
}

.edu-compare-container {
    margin: 30px 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.edu-compare-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: fixed !important;
    min-width: unset !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
}

.edu-compare-sticky-header th {
    position: sticky !important;
    top: 0 !important;
    background: #0b6b8c !important;
    color: #fff !important;
    z-index: 99 !important;
    padding: 14px 10px !important;
    border-bottom: 2px solid #08526b !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
    font-size: 0.92rem !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    vertical-align: middle !important;
    text-align: center !important;
}

.sticky-col-label,
.compare-label-cell {
    width: 26% !important;
    text-align: left !important;
}

.sticky-col-country,
.compare-value-a,
.compare-value-b {
    width: 37% !important;
    text-align: center !important;
}

.edu-compare-table th,
.edu-compare-table td {
    padding: 13px 10px !important;
    border: 1px solid #f0f0f0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    vertical-align: middle !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
}

.compare-section-row th {
    background: #f0f6fa !important;
    color: #1e3a4a !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    font-size: 0.8rem !important;
    padding: 14px 10px !important;
    border-top: 2px solid #d1e8f0 !important;
}

.compare-label-cell {
    background: #0b6b8c !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
}

.compare-data-row:nth-child(even) .compare-value-a,
.compare-data-row:nth-child(even) .compare-value-b {
    background: #f9fafb !important;
}

@media (max-width: 768px) {
    .edu-compare-table {
        font-size: 0.86rem !important;
        min-width: unset !important;
        width: 100% !important;
    }

    .edu-compare-sticky-header th {
        padding: 10px 7px !important;
        font-size: 0.8rem !important;
    }

    .edu-compare-table th,
    .edu-compare-table td {
        padding: 10px 7px !important;
        font-size: 0.84rem !important;
    }
}

@media (max-width: 600px) {
    .edu-compare-container {
        margin: 20px 0 !important;
        border-radius: 8px !important;
        overflow-x: hidden !important;
    }

    .edu-compare-table {
        width: 100% !important;
        min-width: unset !important;
        table-layout: fixed !important;
        font-size: 0.75rem !important;
    }

    .sticky-col-label,
    .compare-label-cell {
        width: 30% !important;
    }

    .sticky-col-country,
    .compare-value-a,
    .compare-value-b {
        width: 35% !important;
    }

    .edu-compare-sticky-header th {
        padding: 8px 5px !important;
        font-size: 0.72rem !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        word-break: break-word !important;
        hyphens: auto !important;
    }

    .edu-compare-table th,
    .edu-compare-table td {
        padding: 8px 5px !important;
        font-size: 0.73rem !important;
        line-height: 1.4 !important;
    }

    .compare-label-cell {
        font-size: 0.7rem !important;
    }

    .compare-section-row th {
        font-size: 0.68rem !important;
        padding: 10px 5px !important;
        letter-spacing: 0.03em !important;
    }
}

@media (max-width: 400px) {
    .edu-compare-table {
        font-size: 0.68rem !important;
    }

    .edu-compare-sticky-header th {
        font-size: 0.65rem !important;
        padding: 7px 4px !important;
    }

    .edu-compare-table th,
    .edu-compare-table td {
        padding: 6px 4px !important;
        font-size: 0.66rem !important;
    }

    .sticky-col-label,
    .compare-label-cell {
        width: 32% !important;
    }

    .sticky-col-country,
    .compare-value-a,
    .compare-value-b {
        width: 34% !important;
    }
}

.edu-date-meta-wrapper {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-bottom: 25px !important;
}

.edu-date-meta-box {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    background: #f8f9fa !important;
    border-bottom: 3px solid #0b6b8c !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    color: #555 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

@media (max-width: 600px) {
    .edu-date-meta-box {
        flex-direction: column !important;
        gap: 5px !important;
        width: 100% !important;
        text-align: center !important;
    }

    .edu-date-separator {
        display: none !important;
    }
}