/* Channel List — matches site white + pink/navy theme */

.channel-list-section {
  position: relative;
  padding: 80px 0 90px;
  background: #ffffff;
}

.channel-list-section .sec-title-four h2 {
  color: var(--main-color-two);
}

.channel-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.channel-intro p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  font-family: var(--font-family-poppins);
}

.channel-intro a {
  color: rgb(229, 42, 91);
  font-weight: 500;
  text-decoration: none;
}

.channel-intro a:hover {
  text-decoration: underline;
}

.channel-search {
  max-width: 420px;
  margin: 0 auto 36px;
}

.channel-search input {
  width: 100%;
  padding: 13px 22px;
  border-radius: 50px;
  border: 1px solid #e6e6e6;
  background: #fff;
  color: var(--main-color-two);
  font-family: var(--font-family-poppins);
  font-size: 14px;
  box-shadow: 0 2px 12px rgba(1, 12, 58, 0.06);
}

.channel-search input:focus {
  outline: none;
  border-color: var(--main-color-eighteen);
}

.channel-search input::placeholder {
  color: #aaa;
}

/* Country grid */
.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.country-cell {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.country-cell:hover {
  border-color: rgba(229, 42, 91, 0.35);
  box-shadow: 0 4px 18px rgba(229, 42, 91, 0.1);
}

.country-cell.open {
  border-color: var(--main-color-eighteen);
  box-shadow: 0 6px 24px rgba(229, 42, 91, 0.15);
  grid-column: 1 / -1;
}

.country-cell-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--font-family-poppins);
  text-align: left;
  transition: background 0.2s;
}

.country-cell.open .country-cell-toggle {
  background: linear-gradient(to right, rgba(229, 42, 91, 0.06) 0%, rgba(1, 12, 58, 0.04) 100%);
  border-bottom: 1px solid #eee;
}

.country-cell-toggle .flag {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.country-cell-toggle .name {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--main-color-two);
}

.country-cell-toggle .chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--main-color-eighteen);
  border-bottom: 2px solid var(--main-color-eighteen);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-right: 4px;
}

.country-cell.open .country-cell-toggle .chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

/* Expanded panel */
.country-cell-panel {
  display: none;
  padding: 20px 22px 24px;
  background: #fafafa;
}

.country-cell.open .country-cell-panel {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.channel-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.cat-tab {
  padding: 7px 16px;
  border-radius: 50px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #555;
  font-family: var(--font-family-poppins);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-tab.active,
.cat-tab:hover {
  border-color: var(--main-color-eighteen);
  color: #fff;
  background: linear-gradient(to left, var(--main-color-two) 0%, var(--main-color-eighteen) 100%);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.channel-item {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: #444;
  font-family: var(--font-family-poppins);
  display: flex;
  align-items: center;
  gap: 8px;
}

.channel-item .dot {
  width: 6px;
  height: 6px;
  background: var(--main-color-eighteen);
  border-radius: 50%;
  flex-shrink: 0;
}

.country-cell-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.country-cell-footer p {
  font-size: 12px;
  color: #888;
  margin: 0;
  font-family: var(--font-family-poppins);
}

@media (max-width: 1024px) {
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .channel-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .country-grid { grid-template-columns: repeat(2, 1fr); }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .country-grid { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: 1fr; }
}
