@charset "UTF-8";
/**
 * YouTube Feed – Base styles
 *
 * Shared styles for all feed layouts (header, card, typography).
 * Uses BEM: .esf-yt-feed, .esf-yt-feed__header, .esf-yt-feed__card, etc.
 *
 * @package Easy_Social_Feed
 * @subpackage YouTube/Frontend
 * @since 6.7.5
 */
.esf-yt-feed {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #1a1a1a;
}
.esf-yt-feed *,
.esf-yt-feed *::before,
.esf-yt-feed *::after {
  box-sizing: inherit;
}

.esf-yt-feed__header {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}

.esf-yt-feed__header-banner-wrap {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}

.esf-yt-feed__header-banner {
  display: block;
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: cover;
  object-position: center;
}

.esf-yt-feed__header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.esf-yt-feed__header-logo {
  display: block;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
}
.esf-yt-feed__header-logo img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.esf-yt-feed__header-meta {
  flex: 1;
  min-width: 0;
}

.esf-yt-feed__header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 12px 16px;
}

.esf-yt-feed__header-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.esf-yt-feed__header-name {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
}
.esf-yt-feed__header-name:hover {
  color: #065fd4;
}

.esf-yt-feed__header-stats {
  font-size: 13px;
  color: #606060;
}

.esf-yt-feed__header-stat:not(:last-child)::after {
  content: " · ";
}

.esf-yt-feed__header-subscribe {
  display: inline-block;
  flex-shrink: 0;
  margin-left: auto;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  background-color: #ff0000;
  border: none;
  border-radius: 18px;
  transition: background-color 0.2s ease;
}
.esf-yt-feed__header-subscribe:hover {
  color: #fff;
  background-color: #cc0000;
}
.esf-yt-feed__header-subscribe:focus {
  outline: 2px solid #ff0000;
  outline-offset: 2px;
}

.esf-yt-feed__header-description {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: #606060;
}

.esf-yt-feed__card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.esf-yt-feed__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.esf-yt-feed__card-link:hover .esf-yt-feed__card-title {
  color: #065fd4;
}

.esf-yt-feed__card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f0f0f0;
}
.esf-yt-feed__card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.esf-yt-feed__card-thumb::before, .esf-yt-feed__card-thumb::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}
.esf-yt-feed__card-thumb::before {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.esf-yt-feed__card-thumb::after {
  margin-left: 3px;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent #ff0000;
}

.esf-yt-feed__card-body {
  padding: 12px 14px;
}

.esf-yt-feed__card-title {
  margin: 0 0 6px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.esf-yt-feed__card-desc {
  margin: 0 0 6px 0;
  font-size: 13px;
  color: #606060;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.esf-yt-feed__card-date,
.esf-yt-feed__card-views {
  display: inline-block;
  font-size: 12px;
  color: #606060;
}
.esf-yt-feed__card-date:not(:last-child),
.esf-yt-feed__card-views:not(:last-child) {
  margin-right: 8px;
}

.esf-yt-feed__empty {
  padding: 24px;
  text-align: center;
}

.esf-yt-feed__empty-text {
  margin: 0;
  font-size: 14px;
  color: #606060;
}

.esf-yt-feed__load-more-wrap {
  margin-top: 24px;
  text-align: center;
}

.esf-yt-feed__load-more {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background-color: #ff0000;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.esf-yt-feed__load-more:hover:not(:disabled) {
  background-color: #cc0000;
}

.esf-yt-feed__load-more:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
