#post-detail{
    margin-bottom: 30px;
}

#post-detail .post-header {
    padding: 60px 0;
    margin: 20px 40px;
    border-radius: 30px;
    text-align: center;
    background-color: #14161db5;
    background-image: url('../images/hero-bg-bottom-back.webp');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

#post-detail .post-header .post-title {
    color: #fff;
    font-size: 40px;
    font-weight: 700;
}

#post-detail .post-content p,
#post-detail .post-content ul,
#post-detail .post-content ol {
    margin: 25px 0;
    font-family: var(--custom-first-font);
    line-height: 1.4;
    font-weight: 300;
    color: var(--text-light);
}

#post-detail .post-content h1 {
    font-size: 32px;
}

#post-detail .post-content h2 {
    font-size: 28px;
}

#post-detail .post-content h3 {
    font-size: 20px;
}

#post-detail .post-content h4,
#post-detail .post-content h5 {
    font-size: 16px;
}

#post-detail .post-content h1,
#post-detail .post-content h2,
#post-detail .post-content h3,
#post-detail .post-content h4 {
    margin: 25px 0;
    line-height: 1.2;
    font-family: var(--custom-first-font);
    color: var(--text-light);
    font-weight: 700!important;
}

#post-detail .post-content ol {
    list-style: decimal !important;
    padding-left: 20px;
}

#post-detail .post-content ul {
    padding-left: 20px;
}

#post-detail .post-content ul li {
    list-style: disc;
}

#post-detail .post-content p img {
    margin-bottom: 20px;
}

#post-detail .post-content a {
    color: var(--color-3);
    font-weight: 600;
}

#post-detail .post-content img {
    max-width: 100%;
    height: auto;
}

#post-detail .post-content table {
    border-collapse: collapse;
    margin-bottom: 24px;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    width: 100%;
}
#post-detail .post-content table tr {
    border: 1px solid var(--text-light);
    width: 100%;
}
#post-detail .post-content table th,
#post-detail .post-content table td {
    text-align: left;
    padding: 8px;
    border: 1px solid var(--text-light);
}

#post-detail .post-header .contents{
    line-height: 1.2;
    width: 100%;
}

#post-detail .post-header .post-category {
    color: #fff;
    font-size: 26px;
    font-weight: 400;
}

#post-detail .post-header .post-title {
    color: #fff;
    font-size: 48px;
    font-weight: 900;
}

#post-detail .detail-multi-decor {
    position: absolute;
    inset: 0;
    display: grid;
    /* JS tarafı grid-template-columns'ı otomatik basıyor ama buraya da yazabilirsin */
    grid-template-columns: repeat(20, 1fr);
    z-index: -1;
    pointer-events: none;
}

#post-detail .post-content figure {
    margin: 0px;
    border: 6px solid var(--text-light);
    border-radius: 25px;
    overflow: hidden;
}

#post-detail .sidebar-related-posts {
    background-color: var(--color);
    box-shadow: -2.94px 4px 7px #121A0D00;
    border-radius: 17px;
    overflow: hidden;
}

#post-detail .sidebar-related-posts .sidebar-related-title {
    text-align: center;
    font-size: 22px;
    color: #fff;
    font-weight: bold;
    padding: 25px 0;
}

#post-detail .sidebar-related-posts  .sidebar-related-item {
    padding: 7px 30px;
    color: #000000;
    font-size: 18px;
    transition: all 0.5s;
}

#post-detail .sidebar-related-posts  .sidebar-related-item a {
    color: #fff;
}

#post-detail .sidebar-related-posts  .sidebar-related-item:hover{
    color: #000;
    opacity: 0.5;
}

#post-detail .sidebar-related-posts .sidebar-related-item.one-bg {
    background-color: var(--color-2);
}

#post-detail .post-content .packages-row{
    margin-top:25px;
}

#post-detail .post-content .package-content {
    background: linear-gradient(127deg, #1E2029 0%, #1E2029 1%, #3C3E49 52%, #1C1E27 95%, #1C1E27 100%) 0% 0% no-repeat padding-box;
    padding: 20px;
    border-radius: 20px;
    height:100%;
    margin-bottom:15px;
}

#post-detail .package-col{
    margin-bottom:10px;
}

#post-detail .post-content .package-content .title {
    color: #fff;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
}

#post-detail .post-content .package-content .desc {
    color: #fff;
    text-align: center;
    font-size:16px;
    margin-bottom:10px;
}

#post-detail .post-content .package-content .price {
    display: inline-block;
    padding: 5px 15px;
    /* text-align: center; */
    text-align: center;
    background: var(--color-2);
    color: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
}

#post-detail .post-content .package-content .list .list-item{
    margin-bottom:10px;
    gap:5px;
}

#post-detail .post-content .package-content .list .list-item p {
    margin: 0px;
}

/* form */

#sidebar-area .sidebar-form {
  /*background:linear-gradient(127deg, #1E2029 0%, #1E2029 1%, #3C3E49 52%, #1C1E27 95%, #1C1E27 100%) 0% 0% no-repeat padding-box;*/
  /*padding: 45px 28px;*/
  /*overflow: hidden;*/
  /*position: relative;*/
  /*box-shadow: -2.94px 4px 7px #121A0D00;*/
  /*border-radius: 17px;*/
}

#sidebar-area .sidebar-form-title {
  color: #fff;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 25px;
}

#sidebar-area .sidebar-form .input-area {
  margin-bottom: 15px;
}

#sidebar-area .sidebar-form #sidebar-form {
  position: relative;
  z-index: 1;
}

#sidebar-area .sidebar-form .input-area input {
  padding: 20px 30px;
  width: 100%;
  border-radius: 9px;
  color: #000;
}

#sidebar-area .sidebar-form .input-area input::placeholder {
  color: #000;
  font-size: 18px;
}

#sidebar-area .sidebar-form .input-area input#phoneNumber {
  color: #000;
  font-size: 18px;
  padding: 20px 90px!important;
}

#sidebar-area .sidebar-form .input-area label {
  width: 100%;
  border: 1px dashed #fff;
  padding: 15px 26px;
  color: #fff;
  font-weight: 500;
  font-size: 20px;
  border-radius: 9px;
  text-align: center;
  cursor: pointer;
}

#sidebar-area .sidebar-form .form-button {
    width: 100%;
    background-color:var(--color);
    padding: 15px;
    border-radius: 9px;
    color: #fff;
    font-size: 20px;
    border: 2px solid #fff;
    font-weight: 500;
    cursor: pointer;
}

nav.rank-math-breadcrumb a {
    color: #fff;
    font-weight: 700;
}
/* pagination */

.pagination {
  margin-top: 30px;
  display: block;
  width: 100%;
}
.pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagination ul li {
  color: #F1C130;
  margin-right: 8px;
}
.pagination ul li:last-child {
  margin-right: 0;
}
.pagination ul li:hover a {
  color: #1D719D;
}
.pagination ul li.active a {
  background-color: var(--progress-bar);
  color: #fff;
  font-weight: 700;
}
.pagination ul li span,
.pagination ul li a {
  border: solid 1px #e4e4e4;
  background-color: #f4f4f4;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #939393;
  font-size: 16px;
  -webkit-transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}



#phoneNumber{
    padding: 15px 50px!important;
}

/* category */
#our-services {
    margin-bottom: 30px;
}
.our-services-list .col-sm-6 {
    margin-bottom: 25px;
}

#our-services .our-services-list .os-item {
    border-radius: 30px;
    border: 2px solid var(--text-light);
    background-color: #fff;
    box-shadow: -2.94px 4px 7px #121A0D21;
    overflow: hidden;
    height: 100%;
}

#our-services .os-item .os-content-wrapper {
    padding: 25px 20px;
    background: linear-gradient(127deg, #1E2029 0%, #1E2029 1%, #3C3E49 52%, #1C1E27 95%, #1C1E27 100%) 0% 0% no-repeat padding-box;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    height: 100%;
}

#our-services .os-item .os-thumb{
    margin: 0px;
}

#our-services .os-content-wrapper .os-thumb {
    margin: 0px;
}

#our-services .os-content-wrapper .os-title {
    color: var(--color-category-title);
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}

#our-services .os-content-wrapper .os-desc{
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-light);
    font-size: 18px;
}

/* iletişim */
#post-detail.contact-page {
    margin-bottom: 30px;
}

#post-detail.contact-page .contact-content {
    padding: 30px;
    background: var(--bg-color);
    border-radius: 20px;
    height: 100%;
}

#post-detail.contact-page .contact-content .branch-name {
    color: #fff;
    font-size: 28px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
}

#post-detail.contact-page .contact-content .contact-list {
    margin-top: 25px !important;
}

#post-detail.contact-page .contact-content .contact-list .contact-list-item{
    margin-bottom: 15px;
}

#post-detail.contact-page .contact-content .contact-list .contact-list-item .contact-list-link {
    display: flex;
    align-items: center;
    color: #fff;
    gap: 10px;
}

#post-detail.contact-page .contact-content .branch-other-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

#post-detail.contact-page .contact-content iframe {
    width: 100%;
    height: 300px;
    border-radius: 15px;
}


#post-detail .contact-address-col iframe {
    border: 5px solid #000;
    border-radius: 30px;
    height: 410px;
}

#post-detail .contact-address-col .contact-address-title {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #ffffff6e;
}

#post-detail .contact-address-col .contact-address-text {
    color: #fff;
    text-align: center;
    font-size: 16px;
}

#post-detail .contact-address-col .contact-address-list-item {
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 18px;
    font-weight: bold;
}

#post-detail .contact-address-list {
    padding: 30px 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
#post-detail .contact-address-col .contact-address-list-item {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 18px;
    font-weight: bold;
    padding: 18px;
    background: #2A2D38 0% 0% no-repeat padding-box;
    border-radius: 11px;
    border: 0.5px solid #FFFFFF;
}

#post-detail .contact-address-col .contact-address-list-item svg {
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 8px;
}

#post-detail .contact-address-col .contact-address-button-cont {
    margin-top: 40px;
}

#post-detail .contact-address-col .contact-page-whatsapp-btn {
    width: 100%;
    display: flex;
    background: linear-gradient(93deg, #27A11A 0%, #34D923 100%) 0% 0% no-repeat padding-box;
    justify-content: center;
    padding: 12px;
    border-radius: 10px;
    color: #fff;
    font-size: 26px;
    gap: 10px;
    align-items: center;
    font-weight: bold;
}

#post-detail .contact-address-col .contact-page-call-btn {
    width: 100%;
    display: flex;
    background: #F1C130;
    justify-content: center;
    padding: 12px;
    border-radius: 10px;
    color: #fff;
    font-size: 26px;
    gap: 10px;
    align-items: center;
    font-weight: bold;
}

#post-detail .contact-form-inner{
    margin-bottom: 35px;
}

#post-detail .contact-map iframe {
    filter: invert(90%) hue-rotate(180deg);
    border-radius: 25px;
    border: 5px solid #fff !important;
    overflow: hidden;
}


/* hair transplant page */

#post-detail .ht-prices{
    margin-bottom: 45px;
}
#post-detail .ht-banner-content{
    margin-bottom: 25px;
}
#post-detail .ht-banner-content img{
    border-radius: 20px;
}
#post-detail .ht-banner-content .htt-banner-text {
    position: absolute;
    bottom: 0;
    width: 100%;
}

#post-detail .ht-prices-inner {
    width: 100%;
    background: transparent linear-gradient(80deg, #1A1D24 0%, #292C37 100%) 0% 0% no-repeat padding-box;
    padding: 75px 125px;
    border-radius: 11px;
    border: 1px solid #707070;
}

#post-detail .ht-prices-inner .prices-inner-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

#post-detail .ht-prices-inner .steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

#post-detail .ht-prices-inner .step-item {
    display: flex;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 15px;
}

#post-detail .ht-prices-inner .step-item .number{
    position:relative;
    z-index:1;
}

#post-detail .ht-prices-inner .step-item .number .text {
    color: #FFF;
    background: transparent linear-gradient(80deg, #A0928D 0%, #E6DCD8 100%) 0% 0% no-repeat padding-box;
    display: flex;
    height: max-content;
    padding: 10px;
    width: 20px;
    height: 20px;
    /* height: max-content; */
    text-align: center;
    border-radius: 50%;
    position: relative;
    font-size: 24px;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

#post-detail .ht-prices-inner .step-item:last-child .number::after {
    display: none;
}

#post-detail .ht-prices-inner .step-item .number::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 2px;
    height: 100%;
    display: block;
    top: 0%;
    left: 50%;
    transform: translate(0px, 15px);
    background: transparent linear-gradient(80deg, #A0928D 0%, #E6DCD8 100%) 0% 0% no-repeat padding-box;
}

#post-detail .ht-prices-inner .step-desc {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all .4s ease;
    color:#fff;
}

#post-detail .ht-prices-inner .step-item.active .step-desc {
    max-height: 300px; /* yeterli bir değer */
    opacity: 1;
    margin-top: 10px;
}

#post-detail .ht-prices-inner .step-toggle {
    font-weight: 600;
    /* color: #fff; */
    font-size: 20px;
    background: var(--text-gradient);
    color: transparent;
    background-clip: text;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

#post-detail .ht-compare-prices{
    margin-bottom: 80px;
}

#post-detail .ht-compare-prices table {
    border-collapse: collapse;
    margin-top: 24px;
    margin-bottom: 24px;
    color: var(--text-light);
    width: 100%
}

#post-detail .ht-compare-prices table thead {
    background: transparent linear-gradient(268deg, #282B36 0%, #292C37 100%) 0% 0% no-repeat padding-box;
    border: none !important;
}

#post-detail .ht-compare-prices table thead th {
    border: none !important;
    padding: 20px 0;
}

#post-detail .ht-compare-prices table thead th:first-child {
    border-radius: 20px 0 0 20px;
    padding: 15px;
}

#post-detail .ht-compare-prices table thead th:last-child {
    border-radius: 0 20px 20px 0;
    padding: 15px;
}

#post-detail .ht-compare-prices table thead tr {
    border: none !important;
}

#post-detail .ht-compare-prices table tr {
    width: 100%
}

#post-detail .ht-compare-prices table tbody th,
#post-detail .ht-compare-prices table tbody td {
    padding: 20px 15px;
    color: #FFFFFF;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

#post-detail .ht-compare-prices table tbody td:last-child {
    border-right: none;
}

#post-detail .ht-compare-prices table tbody tr:last-child th,
#post-detail .ht-compare-prices table tbody tr:last-child td {
    border-bottom: none;
}

#post-detail .ht-compare-prices table tbody th {
    font-weight: 600;
    letter-spacing: 1px;
}

#post-detail .ht-table-bottom-content .ht-gradient-inner {
    width: 100%;
    background: transparent linear-gradient(80deg, #1A1D24 0%, #292C37 100%) 0% 0% no-repeat padding-box;
    padding: 35px;
    border-radius: 20px;
    margin-top: 25px;
    border: 2px solid #707070;
}

@media (max-width: 1200px) {
    #post-detail .ht-prices-inner {
        padding: 50px 25px;
    }
    #post-detail .htt-banner-content {
        margin-bottom: 25px;
    }
}

@media (max-width: 991px) {
    #post-detail .ht-banner-row {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    #post-detail .ht-prices-inner .step-toggle{
        font-size: 18px;
    }
    main #post-detail .ht-prices-inner .prices-inner-title{
        font-size: 28px;
    }
    #post-detail .ht-compare-prices table,
    #post-detail .ht-compare-prices table thead,
    #post-detail .ht-compare-prices table tbody,
    #post-detail .ht-compare-prices table th,
    #post-detail .ht-compare-prices table td,
    #post-detail .ht-compare-prices table tr {
        display: block;
        width: 100%;
    }

    #post-detail .ht-compare-prices table thead {
        display: none;
    }

    #post-detail .ht-compare-prices table tr {
        margin-bottom: 20px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 15px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    #post-detail .ht-compare-prices table tbody th,
    #post-detail .ht-compare-prices table tbody td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 16px;
    }

    #post-detail .ht-compare-prices table tbody td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        text-align: left;
        font-weight: bold;
        color: rgba(255, 255, 255, 0.5);
        text-transform: capitalize;
    }

    #post-detail .ht-compare-prices table tbody td:last-child {
        border-bottom: none;
    }

    #post-detail .ht-compare-prices table tbody th {
        background: rgba(255, 255, 255, 0.1);
        text-align: center;
        padding-left: 15px;
        font-size: 20px;
        color: #fff;
    }
    #post-detail .ht-table-bottom-content .ht-gradient-inner{
        padding: 15px;
    }
    #post-detail .ht-prices-inner .steps {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
}