/* Detail Elite Golfer Profile Styles */
.golfer-profile-container {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  /* min-height: 100vh; */
  color: white;
  font-family: "Arial", sans-serif;
  padding-top: 60px;
  padding-bottom: 0;
}

/* Left Section - Golfer Info */
.golfer-info {
  padding: 20px;
}

.golfer-name {
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  line-height: 0.9;
  letter-spacing: 2px;
}

.golfer-name::first-line {
  font-size: 2.8rem;
  color: #fff;
}

.nationality-team {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  font-size: 1.1rem;
  font-weight: 500;
}

.flag-icon {
  font-size: 1.5rem;
}

.separator {
  color: #ffffff;
  font-weight: 300;
}

.current-position-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.current-position-box .label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.current-position-box .position {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
}

.current-study-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  display: block;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.current-study-box .label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  display: block;
}

.current-study-box .position {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
}

.current-quote-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  display: block;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.current-quote-box span {
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.4;
  padding-left: 14px;
  padding-right: 5px;
}

.current-quote-box i {
  font-size: 9px;
  display: inline-block;
  position: absolute;
}

.current-quote-box p {
  font-style: italic;
  font-weight: 200;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 0;
  text-align: right;
}

.stats-box {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-column {
  text-align: center;
  flex: 1;
  position: relative;
}

.stat-column:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 8px;
}

.stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
}

.social-media {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-icon i {
  font-size: 1.2rem;
}

/* Center Section - Golfer Image */
.golfer-image-container {
  display: flex;
  justify-content: center;
  align-items: end;
  height: 100%;
}

.golfer-image {
  text-align: center;
}

.profile-photo {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Right Section - Teammates */
.teammates-section {
  padding: 20px;
}

.teammates-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 30px 0;
  text-align: center;
  color: #fff;
}

.teammates-list {
  margin-bottom: 30px;
}

.teammate-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.teammate-item:last-child {
  border-bottom: none;
}

.teammate-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.teammate-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
}

.first-name {
  font-size: 0.9rem;
  opacity: 0.8;
}

.last-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.captain-badge {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #1a1a2e;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.team-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #1a1a2e;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.team-site-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  color: #1a1a2e;
  text-decoration: none;
}

.team-site-btn i {
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 991px) {
  .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .golfer-name {
    font-size: 2.8rem;
    text-align: center;
  }

  .golfer-name::first-line {
    font-size: 2.2rem;
  }

  .nationality-team {
    justify-content: center;
  }

  .current-position-box {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .stats-box {
    flex-direction: column;
    gap: 20px;
  }

  .stat-column:not(:last-child)::after {
    display: none;
  }

  .teammates-title {
    text-align: center;
  }

  .team-site-btn {
    width: auto;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .golfer-profile-container {
    padding: 40px 0;
  }

  .container {
    padding: 0 15px;
  }

  .golfer-name {
    font-size: 2.2rem;
  }

  .golfer-name::first-line {
    font-size: 1.8rem;
  }

  .current-position-box .position {
    font-size: 2rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }
}

/* Animation Effects */
.golfer-info,
.golfer-image-container,
.teammates-section {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover Effects */
.current-position-box:hover,
.stats-box:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.teammate-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
  margin: 0 -15px;
  transition: all 0.3s ease;
}

/* Career History Section */
.career-history {
  width: 80%;
  margin: auto;
}

.career-history h2 {
  color: #1a1a2e;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.career-history h3 {
  color: #1a1a2e;
  font-size: 1.3rem;
  font-weight: 500;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 0px;
  text-transform: capitalize;
}

.career-history p {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  margin-top: 25px;
}

/* Achievements Section */
.achievements-section {
  background: white;
  padding: 40px;
  margin: 40px 0;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.achievements-title {
  color: #1a1a2e;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.achievements-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #1a1a2e, #16213e);
  border-radius: 2px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 0;
  border-top: solid 3px;
}

.achievement-item {
  text-align: left;
  padding: 20px 0px;
}

.achievement-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1a1a2e;
  margin-bottom: 0;
  line-height: 1;
  margin-top: 10px;
}

.achievement-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

/* Responsive Design for Achievements */
@media (max-width: 1200px) {
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .achievement-value {
    font-size: 2.5rem;
  }

  .achievement-label {
    font-size: 0.8rem;
  }

  .career-history,
  .achievements-section {
    padding: 30px 20px;
    margin: 30px 0;
  }

  .career-history h2,
  .achievements-title {
    font-size: 2rem;
  }
}

/* Other Info Section - Career Accordion */
.other-info {
  margin-top: 40px;
}

.career-accordion {
  background: white;
  overflow: hidden;
}

.career-accordion .accordion-item {
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.career-accordion .accordion-item:last-child {
  border-bottom: none;
}

.career-accordion .accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
  background: white;
  transition: all 0.3s ease;
  position: relative;
  border-top: solid 1px #ccc;
  border-right: solid 1px #ccc;
  text-transform: capitalize;
}

.career-accordion.accordion-header:hover {
  background: #f8f9fa;
}

.career-accordion .accordion-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.4;
  flex: 1;
  padding-right: 20px;
}

.career-accordion .accordion-icon {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a2e;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  border: solid 1px #ccc;
  padding: 7px 8px;
  border-radius: 100%;
  background: #fff;
}

.career-accordion .accordion-content {
  max-height: 0;
  overflow: auto;
  transition: max-height 0.3s ease;
  background: #f8f9fa;
}

.career-accordion .accordion-content ul {
  margin-left: 60px;
  margin-right: 60px;
}

.career-accordion .accordion-content ul li {
  margin: 0;
}

.career-accordion .accordion-content ul li p {
  padding: 0px;
}

.career-accordion .accordion-content p {
  margin: 0;
  padding: 0 30px 25px 30px;
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
}

.career-accordion .accordion-content p:first-child {
  padding-top: 15px;
}

/* Active state */
.career-accordion .accordion-item.active .accordion-header {
  background: #e3e0e0;
  border-right: solid 3px #000;
}

.career-accordion .accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.career-accordion .accordion-item.active .accordion-content {
  max-height: 530px;
  background: #e3e0e0;
  border-right: solid 3px #000;
}

/* Responsive Design for Accordion */
@media (max-width: 768px) {
  .career-accordion .accordion-header {
    padding: 20px 20px;
  }

  .career-accordion .accordion-title {
    font-size: 1rem;
    padding-right: 15px;
  }

  .career-accordion .accordion-content p {
    padding: 0 20px 20px 20px;
    font-size: 0.95rem;
  }

  .career-accordion .accordion-content p:first-child {
    padding-top: 20px;
  }
}

/* Tournament List Section */
.tournament-list {
  margin-top: 30px;
}

.tournament-table {
  background: white;
  overflow: hidden;
}

.tournament-table table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Arial", sans-serif;
}

.tournament-table thead {
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
}

.tournament-table th {
  padding: 20px 15px;
  text-align: center;
  font-weight: 700;
  color: #1a1a2e;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tournament-table tbody tr {
  border-bottom: 1px solid #f1f3f4;
  transition: background-color 0.3s ease;
}

.tournament-table tbody tr:hover {
  background-color: #f8f9fa;
}

.tournament-table tbody tr:last-child {
  border-bottom: none;
}

.tournament-table td {
  padding: 20px 15px;
  vertical-align: top;
}

/* Event Info Column */
.event-info {
  min-width: 200px;
}

.event-name {
  font-weight: 700;
  color: #1a1a2e;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.event-date {
  color: #6c757d;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Finish Position Column */
.finish-position {
  font-weight: 700;
  color: #1a1a2e;
  font-size: 1.1rem;
  text-align: center;
  min-width: 80px;
}

/* Points Column */
.points-earned {
  text-align: center;
  min-width: 80px;
}

.points-earned {
  background: white;
  border: 2px solid #1a1a2e;
  border-radius: 20px;
  padding: 8px 16px;
  font-weight: 700;
  color: #1a1a2e;
  font-size: 1rem;
  display: inline-block;
  min-width: 40px;
  text-align: center;
}

/* Total Score Column */
.total-score {
  text-align: center;
  min-width: 80px;
}

.total-score {
  background: #e8f5e8;
  border-radius: 20px;
  padding: 8px 16px;
  font-weight: 700;
  color: #1a1a2e;
  font-size: 1rem;
  display: inline-block;
  min-width: 40px;
  text-align: center;
}

/* Round Scores Column */
.round-scores {
  min-width: 200px;
}

.round {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9rem;
  color: #495057;
  font-weight: 500;
}

.round:last-child {
  margin-bottom: 0;
}

/* Responsive Design for Tournament Table */
@media (max-width: 1200px) {
  .tournament-table {
    overflow-x: auto;
  }

  .tournament-table table {
    min-width: 800px;
  }
}

@media (max-width: 768px) {
  .tournament-table th,
  .tournament-table td {
    padding: 15px 10px;
  }

  .event-name {
    font-size: 1rem;
  }

  .event-date {
    font-size: 0.8rem;
  }

  .finish-position,
  .points-earned,
  .total-score {
    font-size: 0.9rem;
  }

  .round {
    font-size: 0.8rem;
  }
}

.victory-list {
  position: relative;
  margin-left: 50px;
}

.victory-list b {
  margin-top: 20px;
  color: #df0e54;
  font-style: italic;
}

.victory-list b:first-child {
  margin-top: 0;
}

.victory-list p {
  padding-top: 0 !important;
  font-size: 0.9rem !important;
}

.victory-list ul {
  margin-left: 35px !important;
}

/* Related Posts Slider Styles */
.related-posts {
  margin: 40px 0;
}

.related-posts-swiper {
  /* padding: 20px 0; */
  overflow: hidden;
}

.related-post-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.related-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.post-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-post-card:hover .post-image img {
  transform: scale(1.05);
}

.default-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.post-content {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex: 1;
}

.post-date {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.read-more-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
}

.read-more-btn:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
  color: white;
}

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
  background: rgba(255, 255, 255, 0.9);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: white;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  color: #667eea;
  font-weight: bold;
}

/* Swiper Pagination Styles */
.swiper-pagination-bullet {
  background: #ddd;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #667eea;
  opacity: 1;
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .related-post-card {
    margin: 0 10px;
  }

  .post-content {
    padding: 20px;
  }

  .post-title {
    font-size: 1.2rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
}
