/*
  Custom mobile styles for hepimizbiriz.com.tr
*/

/* ????????????????????????????????????????????
 *  PROFILE PAGE ? Mobile: avatar + name in row
 * ???????????????????????????????????????????*/
@media (max-width: 767px) {

  /* ?? Cover photo: shorter on mobile ?? */
  .profile-container .card.hovercard .cardheader {
    max-height: 200px !important;
    min-height: 140px !important;
    overflow: hidden;
  }

  /* Hide the gradient overlay on mobile */
  .wo_user_profile .problackback {
    display: none !important;
  }

  /* ?? Main container: flex row, avatar + info side by side ?? */
  .wo_user_profile .pic-info-cont {
    display: flex !important;
    align-items: flex-start;
    text-align: left;
    padding: 10px 16px 4px;
    gap: 12px;
    flex-wrap: nowrap;
    position: relative !important;
    bottom: 0;
    height: auto !important;
  }

  /* Avatar: smaller, pulled up slightly over cover */
  .container .wo_user_profile .pic-info-cont .user-avatar {
    margin: 0 !important;
    display: block !important;
    top: 0 !important;
    width: 80px !important;
    height: 80px !important;
    min-width: 80px;
    flex-shrink: 0;
    position: relative;
    margin-top: -40px !important;
  }

  .container .wo_user_profile .pic-info-cont .user-avatar img {
    width: 80px !important;
    height: 80px !important;
  }

  /* Info block takes remaining space */
  .wo_user_profile .pic-info-cont .info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding-top: 0;
  }

  /* Name: centered vertically with avatar */
  .profile-container .card.hovercard .info .title {
    text-align: left !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    min-height: 36px;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    text-shadow: none !important;
    color: inherit !important;
    font-size: 17px !important;
    width: auto !important;
  }

  .profile-container .card.hovercard .info .title a {
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    color: inherit !important;
    text-shadow: none !important;
  }

  /* Buttons row: pushed down below the name, in a line */
  .wo_user_profile .pic-info-cont .info .options-buttons {
    margin-top: 5px !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    width: 100%;
  }

  /* All button wrappers inline */
  .wo_user_profile .options-buttons > span,
  .wo_user_profile .options-buttons > div {
    display: inline-flex !important;
  }

  /* Edit, Activities, Follow, Message ? all standard buttons */
  .wo_user_profile .options-buttons .btn-glossy .btn,
  .wo_user_profile .options-buttons .user-follow-button .btn,
  .wo_user_profile .options-buttons .profile-message-btn .btn {
    margin: 0 !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  /* 3-dots dropdown button */
  .wo_user_profile .options-buttons .dropdown .btn {
    margin: 0 !important;
    padding: 6px 8px !important;
  }

  /* Make all buttons same height */
  .wo_user_profile .options-buttons .btn {
    height: 32px;
    line-height: 1;
  }

  /* SVG icons in buttons ? small */
  .wo_user_profile .options-buttons .btn svg {
    width: 14px;
    height: 14px;
  }

  /* Dropdown menu stays right-aligned */
  .wo_user_profile .options-buttons .dropdown-menu {
    right: 0;
    left: auto;
    min-width: 160px;
  }

  /* ?? Tabs row: remove the big negative margin gap ?? */
  .wo_user_profile .row {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }

  /* Text shadow overlay not needed on mobile */
  .profile-container .text-shadow {
    display: none !important;
  }
}
