/* Main Content */
.main-content {
  padding-top: 80px;
  background: transparent;
}

/* Container */
.container {
  max-width: 1300px;
  margin: 0 auto;
}

/* Coach Profile Section */
.coach-profile-section {
  padding: 40px 0;
}

/* Profile Layout - Two Columns */
.profile-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
}

/* ==================== LEFT COLUMN ==================== */
.profile-left-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Profile Card */
.profile-card {
  background: #FFF;
  border-radius: 25px;
  border: 1px solid #E8E0D6;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.10);
  padding: 34px 35px;
}

.profile-card-content {
  position: relative;
}

.profile-info {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.profile-avatar {
  flex-shrink: 0;
}

.avatar-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-details {
  flex: 1;
}

.profile-name {
  font-size: 24px;
  font-weight: 600;
  color: #2C3342;
  margin: 0 0 5px 0;
  line-height: normal;
}

.profile-function {
  font-size: 14px;
  color: #5E6678;
  font-weight: 500;
  margin: 0 0 18px 0;
}

.profile-badges {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 6px 22px;
  border: 1px solid #E8E0D6;
  border-radius: 10px;
  background: transparent;
  font-size: 12px;
  color: #2C3342;
  font-weight: 600;
}

.profile-favicon {
  position: absolute;
  top: 0;
  right: 0;
}

/* Tabs Navigation */
.tabs-navigation {
  display: flex;
  gap: 0;
  background: transparent;
  border-bottom: 1px solid #E2E4E8;
  position: relative;
}

.tab-item {
  padding: 11px 24px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: #A1A7B3;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Chewie DEMO';
}

.tab-item:hover {
  color: #2C3342;
}

.tab-item.active {
  color: #252A34;
  font-weight: 600;
  border-bottom-color: #ECA455;
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.content-block {
  background: #FFF;
  border-radius: 25px;
  border: 1px solid #E8E0D6;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.10);
  overflow: hidden;
}

/* Content Header */
.content-header {
  background: linear-gradient(0deg, #FFF 0.07%, #E8E0D6 119.44%, #DCE1EB 239.38%);
  padding: 18px 28px 18px 30px;
  border-bottom: 1px solid #E8E0D6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content-title {
  font-size: 20px;
  font-weight: 700;
  color: #252A34;
  margin: 0;
}

.filter-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 13px;
  border: 1px solid #A1A7B3;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12px;
  color: #5E6678;
  font-weight: 600;
  font-family: 'Chewie DEMO';
}

.filter-button:hover {
  border-color: #ECA455;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(236, 164, 85, 0.2);
}

/* Resources Grid */
.resources-grid {
  padding: 34px 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

/* Resource Card */
.resource-card {
  background: #FCF9F6;
  border: 1px solid #EDE8E2;
  border-radius: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 230px;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #ECA455;
}

.resource-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 18px;
}

.resource-badge-primary {
  border-radius: 6px;
  border: 1px solid #2C3342;
  background: transparent;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.10);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  width: fit-content;
  font-family: 'Chewie DEMO';
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: #252A34;
}

.resource-badge-free {
  display: inline-block;
  padding: 8px 15px;
  background: transparent;
  font-family: 'Chewie DEMO';
  color: #27A63D;
  border: 1px solid #27A63D;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Chewie DEMO';
  width: fit-content;
  flex-shrink: 0;
}

.resource-content {
  display: flex;
  gap: 20px;
  padding: 0 18px 19px 18px;
}

.resource-image {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
}

.resource-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.resource-title {
  font-family: 'Chewie DEMO';
  font-size: 18px;
  font-weight: 700;
  color: #252A34;
  margin-bottom: 4px;
  line-height: 26px;
}

.resource-category {
  font-family: 'Chewie DEMO';
  font-size: 12px;
  font-weight: 600;
  color: #ECA455;
  margin-bottom: 15px;
}

.resource-meta {
  display: flex;
  gap: 10px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Chewie DEMO';
  font-size: 12px;
  font-weight: 700;
  color: #5E6678;
}

.resource-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 17px;
  border-top: 1px solid #EDE8E2;
  margin-top: auto;
}

.resource-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-family: 'Chewie DEMO';
  font-size: 14px;
  font-weight: 600;
  color: #252A34;
}

.resource-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.rating-star {
  color: #FBBB00;
  font-size: 16px;
}

.rating-value {
  font-family: 'Chewie DEMO';
  font-size: 14px;
  font-weight: 600;
  color: #2C3342;
}

/* ==================== RIGHT COLUMN ==================== */
.profile-right-column {
  position: sticky;
  top: 100px;
  height: fit-content;
}

/* ==================== RELATED COACHES SECTION ==================== */
.related-coaches-section {
  background: linear-gradient(0deg, #FFF 0.07%, #E8E0D6 119.44%, #DCE1EB 239.38%);
  border-radius: 25px;
  border: 1px solid #E8E0D6;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.10);
  padding: 40px 53px;
  margin-top: 40px;
}

.related-coaches-title {
  font-size: 28px;
  font-weight: 700;
  color: #2C3342;
  margin: 0 0 30px 0;
  line-height: 1.2;
  text-align: center;
}

.related-coaches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Coach Card Styles (from home_coachs.css) */
.related-coaches-section .coach-card {
  border-radius: 25px;
  border: 1px solid #EDE8E2;
  background: #FFF;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
  padding: 34px 40px 23px 40px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.related-coaches-section .coach-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.related-coaches-section .coach-avatar {
  margin-bottom: 17px;
}

.related-coaches-section .avatar-img {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  margin: 0 auto;
  display: block;
  object-fit: cover;
}

.related-coaches-section .coach-name {
  font-size: 18px;
  font-weight: 700;
  color: #2C3342;
  margin-bottom: 14px;
}

.related-coaches-section .coach-function {
  font-size: 14px;
  color: #2C3342;
  font-weight: 600;
  line-height: 24px;
  margin-bottom: 21px;
  flex-grow: 1;
}

.related-coaches-section .coach-footer {
  border-top: 1px solid #EDE8E2;
  padding-top: 1rem;
  margin-top: auto;
}

.related-coaches-section .coach-badge {
  border-radius: 20px;
  background: rgba(236, 164, 85, 0.10);
  display: inline-block;
  padding: 0 18px;
  color: #5E6678;
  font-size: 12px;
  font-weight: 500;
  line-height: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pricing-card {
  background: linear-gradient(0deg, #FFF 0.07%, #E8E0D6 119.44%, #DCE1EB 239.38%);
  border-radius: 20px;
  border: 1px solid #E8E0D6;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.10);
  padding: 31px 32px;
  display: flex;
  flex-direction: column;
}

.pricing-label {
  font-size: 16px;
  font-weight: 600;
  color: #5E6678;
  margin-bottom: 27px;
  line-height: 1;
  font-family: 'Chewie DEMO';
}

.pricing-value {
  font-size: 32px;
  font-weight: 700;
  font-family: 'Chewie DEMO';
  color: #ECA455;
  -webkit-text-stroke-width: 0.5px;
  -webkit-text-stroke-color: #2C3342;
  margin-bottom: 42px;
  line-height: 1;
}

/* Buttons */
.btn {
  padding: 14px 30px;
  border-radius: 15px;
  font-family: 'Chewie DEMO';
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  gap: 10px;
}

.btn-primary {
  background: #ECA455;
  color: #252A34;
  border-color: #252A34;
  margin-bottom: 18px;
}

.btn-primary:hover {
  background: #D6943A;
  border-color: #1A1E24;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(236, 164, 85, 0.3);
}

.btn-outline {
  background: transparent;
  color: #27221D;
  border-color: #27221D;
}

.btn-outline:hover {
  background: #2C3342;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 51, 66, 0.3);
}

.btn-full {
  width: 100%;
}

.btn-with-icon {
  position: relative;
}

.btn-icon {
  width: 20px;
  height: 20px;
  position: absolute;
  left: 20px;
}

.btn-with-icon span {
  margin-left: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-right-column {
    position: static;
    order: -1;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .related-coaches-section {
    padding: 30px 24px;
  }

  .related-coaches-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  /* Container */
  .coach-profile-section {
    padding: 20px 0;
  }

  .coach-profile-section .container {
    padding: 0 16px;
  }

  .profile-layout {
    gap: 16px;
  }

  /* Profile Card */
  .profile-card {
    padding: 16px;
    border-radius: 16px;
  }

  .profile-info {
    gap: 16px;
    align-items: center;
  }

  .avatar-img {
    width: 80px;
    height: 80px;
  }

  .profile-name {
    font-size: 18px;
    margin-bottom: 3px;
  }

  .profile-function {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .profile-badges {
    gap: 8px;
  }

  .profile-badge {
    padding: 4px 14px;
    font-size: 11px;
    height: 28px;
    border-radius: 8px;
  }

  .profile-favicon {
    display: none;
  }

  /* Pricing Card */
  .pricing-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .pricing-label {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .pricing-value {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 12px;
  }

  /* Tabs Navigation */
  .tabs-navigation {
    gap: 0;
  }

  .tab-item {
    white-space: nowrap;
    font-size: 13px;
    padding: 10px 14px;
  }

  /* Content Block */
  .content-block {
    border-radius: 16px;
  }

  .content-header {
    padding: 14px 16px;
    gap: 10px;
  }

  .content-title {
    font-size: 16px;
  }

  .filter-button {
    padding: 5px 10px;
    font-size: 11px;
    border-radius: 8px;
  }

  /* Resources Grid */
  .resources-grid {
    padding: 16px;
    gap: 12px;
  }

  .resource-card {
    min-height: auto;
    border-radius: 14px;
  }

  .resource-card-header {
    padding: 10px 12px;
    gap: 8px;
  }

  .resource-badge-primary {
    padding: 5px 10px;
    font-size: 11px;
    gap: 6px;
  }

  .resource-badge-free {
    padding: 5px 10px;
    font-size: 11px;
  }

  .resource-content {
    flex-direction: row;
    padding: 0 12px 10px;
    gap: 12px;
  }

  .resource-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .resource-title {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 2px;
  }

  .resource-category {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .resource-footer {
    padding: 8px 12px;
  }

  .author-name {
    font-size: 12px;
  }

  .rating-value {
    font-size: 12px;
  }

  /* Related Coaches */
  .related-coaches-section {
    padding: 24px 16px;
    border-radius: 16px;
    margin-top: 24px;
  }

  .related-coaches-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .related-coaches-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .related-coaches-section .coach-card {
    padding: 16px 12px;
    border-radius: 16px;
  }

  .related-coaches-section .avatar-img {
    width: 72px;
    height: 72px;
  }

  .related-coaches-section .coach-avatar {
    margin-bottom: 10px;
  }

  .related-coaches-section .coach-name {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .related-coaches-section .coach-function {
    font-size: 11px;
    line-height: 18px;
    margin-bottom: 10px;
  }

  .related-coaches-section .coach-badge {
    font-size: 10px;
    padding: 0 10px;
    line-height: 24px;
  }
}

@media (max-width: 380px) {
  .profile-info {
    flex-direction: column;
    text-align: center;
  }

  .profile-badges {
    justify-content: center;
  }

  .related-coaches-grid {
    grid-template-columns: 1fr;
  }
}
