/* ===================================
   idea-single.css - MOBILE FIRST
   Uses unique .main-container-single to avoid conflict
   Reusable row/column classes
   =================================== */

/* Unique container for single page */
.main-container-single {
    padding: 1.5rem 1rem;
    display: block; /* Override any global flex if needed */
}

/* Reusable Row - Stack on mobile */
.idea-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

/* Reusable Columns */
.column-left,
.column-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom:0;
}

/* Left column content wrapped in global .idea-card */
.column-left .idea-card {
    padding: 2rem;

}

/* Featured Image */
.idea-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

/* Key Facts Card - Flexbox with 2 columns (even on mobile) */
.key-facts-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem 2rem; /* Vertical + horizontal gap */
}

.fact-item {
    flex: 1 1 calc(50% - 1rem); /* 2 columns */
    min-width: 140px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.fact-item:last-child,
.fact-item:nth-last-child(2):not(:nth-child(odd)) {
    border-bottom: none;
    padding-bottom: 0;
}

.fact-label {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fact-value {
    font-size: var(--fs-base);
    color: var(--text-primary);
    font-weight: var(--fw-medium);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

/* Country fact styling */
.country-fact .fact-value {
    gap: 0.75rem;
    font-size: var(--fs-md);
}

.country-fact svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.currency {
    margin-left: auto;
    font-weight: var(--fw-bold);
    font-size: var(--fs-md);
}

/* Inline elements */
.fact-value.ticks,
.fact-value.tags,
.fact-value.categories {
    gap: 0.75rem;
}

.tick {
    color: var(--success);
    white-space: nowrap;
}

.term {
    font-size: var(--fs-xs);
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    white-space: nowrap;
}

.term.category {
    background: var(--accent-soft);
    color: var(--accent-primary);
    border-color: transparent;
}

/* Business Features Yes/No split */
.idea-features-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: auto;
}

.features-yes,
.features-no {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--fs-base);
}

.features-yes .icon { color: var(--success); font-weight: bold; }
.features-no .icon { color: var(--danger); font-weight: bold; }

/* Content Rows */
.idea-main-content,
.country-details-card {
    background: var(--bg-surface);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.country-details-card h2 {
    margin: 0 0 1.5rem 0;
    font-size: var(--fs-xl);
    color: var(--text-primary);
}

/* ===================================
   TABLET (768px+)
   =================================== */
@media (min-width: 768px) {
    .main-container-single {
        padding: 2rem 1.5rem;
    }

    .fact-item {
        min-width: 180px;
    }

    .idea-features-grid {
        flex-direction: row;
        gap: 2.5rem;
        margin-left:auto;
        margin-right:auto;
        padding:20px;
    }

    .features-yes,
    .features-no {
        flex: 1;
    }
}
/** FAQs 
************/
/* FAQ Section – inside .idea-card */
.faq-section {
  margin-top: 2rem;
}

.faq-section h2 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.faq-section .faq-country-note {
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--text-secondary);
}

/* FAQ List */
#faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Individual FAQ Item */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 20px;
  transition: background-color 0.2s ease;
}

.faq-item:hover {
  background-color: var(--bg-soft);
  border-radius:15px;
}

/* Summary (question) */
.faq-item summary.faq-question {
  list-style: none; /* remove default marker */
  cursor: pointer;
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  padding: 0.75rem 0;
  position: relative;
  padding-right: 2rem; /* space for icon */
  transition: color 0.2s ease;
}

.faq-item summary.faq-question:hover {
  color: var(--accent-primary);
}

/* Hide default disclosure widget */
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  display: none;
}

/* Custom chevron icon using SVG */
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.25s ease;
}

/* Rotate chevron when open */
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

/* Answer panel */
.faq-item .faq-answer {
  padding: 0 0 0.75rem 0;
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
}

/* Optional: slight indent for answer */
.faq-item .faq-answer p {
  margin: 0.5em 0;
}

/* Last item: remove bottom border */
.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}


/* Smaller spacing on mobile */
@media (max-width: 640px) {
  .faq-item summary.faq-question {
    padding: 0.875rem 0;
  }
}
/* ===================================
   DESKTOP (1024px+) - Hero 70/30 Split
   =================================== */
@media (min-width: 1024px) {
    .main-container-single {
        padding: 2.5rem 2rem;
    }

    .idea-row.hero {
        flex-direction: row;
        flex-wrap: nowrap;
    }

   .idea-row.hero .column-left {
        width: 60%;
    }

    .idea-row.hero .column-right {
        width: 40%;
    }

    .key-facts-card {
        padding: 1.75rem;
    }
}

/* ===================================
   LARGE SCREENS
   =================================== */
@media (min-width: 1280px) {
    .main-container-single {
        max-width: 1280px;
        margin: 0 auto;
    }
}