.p-class {
    color: white;
    font-size: .7rem;
    padding: 0.5rem;
    font-weight: 500;
}

h3.p-name {
    color: var(--black);
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: 500;
}

.p-name-wrap {
	display: flex;
    column-gap: .5rem;
	align-items: flex-end;
}

.p-id {
	margin-bottom: 0;
	color: var(--grey-lt);
}

.profile-info-wrap {
	background: var(--cream);
    color: black;
	height:100%;
}

.p-message {
    white-space: pre-line;
    font-size: .9rem;
}

.p-attr-wrap {
    text-align: center;
    font-size: .9rem;
    font-weight: 400;
    border: 1px solid var(--gold-lt);
}

.p-attr-title {
	background: var(--gold-lt);
}

.p-cta-wrap {
	position: relative;
	text-align: center;
    background: var(--gold-gradient);
    text-decoration: none;
    padding: 1rem;
	border-radius: var(--radius-sm);
    transition: .5s;
}

.p-cta-wrap:hover {
    filter:brightness(1.1);
    transition: .5s;
}

a.p-cta-btn {
    display: block;
    width: 100%;
	text-decoration: none;
    color: var(--black);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.2rem;
}

.p-cta-availability {
	color: white;
    text-align: center;
    font-weight: 500;
    padding: 1rem 0 0.25rem 0;
    margin-top: -0.75rem;
    font-size: .8rem;
    border-bottom-left-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
}

.p-cta-availability.available {
	background: var(--green);
}

.p-cta-availability.available-next {
    background: var(--violet);
}

.p-cta-availability.booked {
    background: var(--violet-lt);
}

.p-sch-wrap {
	font-size: .6rem;
	font-weight: 400;
	text-align: center;
}

@media screen and (min-width: 992px) {
	.p-sch-wrap {
        font-size: .8rem;
	}
}

.p-sch-wrap .col {
	background: var(--sand);
}

.p-sch-wrap .col:nth-child(even) {
	background: var(--gold-lt);
}

.p-sch-time,
.p-sch-date {
	padding: 0.25rem 0;
}

.p-sch-date {
    border-bottom: 1px solid var(--cream);
}

.p-box-title {
	background: var(--gold-lt);
    text-align: center;
    font-size: .9rem;
    font-weight: 500;
    padding: 0.25rem;
    /* border-top-right-radius: var(--radius-lg);
    border-top-left-radius: var(--radius-lg); */
}

.p-box-content {
	background: var(--cream);
	padding: 1rem 0.5rem;
	/* border-bottom-right-radius: var(--radius-lg);
	border-bottom-left-radius: var(--radius-lg); */
}

.p-services-wrap {
	display: flex;
	flex-wrap: wrap;
	column-gap: 0.5rem;
	row-gap: 0.5rem;
	justify-content: center;
	font-size:.7rem;
}

@media screen and (min-width: 992px) {
    .p-services-wrap {
        font-size:.8rem;
    }
}

.p-service {
	background: var(--gold-lt);
    padding: 0.25rem 1rem;
	border-radius: var(--radius-sm);
	font-weight: 500;
}

.p-box-video {
	width:100%;
	border-bottom-right-radius: var(--radius-lg);
	border-bottom-left-radius: var(--radius-lg);
}

.p-selfies-list-wrap img {
    width: 100%;
    height: 11rem;
    object-fit: contain;
    object-position: center;
}

@media screen and (min-width: 992px) {
	.p-selfies-list-wrap img {
		height: 18rem;
	}
}

.p-gravure-list-wrap img {
    width: 100%;
    height: 11rem;
    object-fit: contain;
    object-position: center;
}
@media screen and (min-width: 992px) {
	.p-gravure-list-wrap img {
		height: 18rem;
	}
}


.profile-top-wrapper {
	background: var(--cream);
}

.profile-top-wrapper > .container {
    padding: 0;
}

.p-selfie-info-wrap {
    color:white;
    background: var(--grey-md);
    padding: 0.5rem;
}

.p-selfie-date {
    color: var(--grey-lt);
    font-size: .7rem;
}

.p-selfie-memo {
    font-size: .9rem;
}

.p-selfies-list-col {
    background: var(--grey-md);
    border: 1px solid var(--black);
}

.review-notice {
    display: flex;
    justify-content: center;
    color: white;
    font-size: .7rem;
    text-align: center;
    width: 100%;
}

#profile-slider-thumb .splide__arrow {
    display:none;
}

.profile-panel-warp {
    overflow: hidden;
}

.p-gravure-info-wrap {
    color:white;
    background: var(--grey-md);
    padding: 0.5rem;
}
.p-gravure-date {
    color: var(--grey-lt);
    font-size: .7rem;
}
.p-gravure-memo {
    font-size: .9rem;
}
.p-gravure-list-col {
    background: var(--grey-md);
    border: 1px solid var(--black);
}

/* Post Carousel Styles for Profile Page */
.posts-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, 30%) !important;
    gap: 1rem;
    margin: 0;
    width: 100%;
}
.post-card-wrap {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 1rem;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}
.post-card-top-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem 0.5rem;
}
.post-card-girl-name a {
    font-weight: bold;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
}
.post-card-girl-name a:hover {
    color: #007bff;
}
.post-card-date {
    font-size: 0.75rem;
    color: #666;
}
.cp-post-media {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.cp-post-media img,
.cp-post-media video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.post-carousel {
    height: 200px;
    width: 100%;
}
.post-carousel .splide__slide {
    height: 200px;
    width: 100%;
}
.post-carousel .splide__slide img,
.post-carousel .splide__slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post-carousel .splide__arrow {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    transition: all 0.3s ease;
}
.post-carousel .splide__arrow:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}
.post-carousel .splide__arrow--prev {
    left: 5px;
}
.post-carousel .splide__arrow--next {
    right: 5px;
}
.post-card-content-wrap {
    padding: 0.75rem 1rem 1rem;
}
.post-card-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #333;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Post Card Button Styling */
.post-card-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 1rem auto 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--gold-gradient);
    color: var(--black);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}
.post-card-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: var(--black);
    text-decoration: none;
}
.post-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: .5rem;
    background: rgba(255,255,255,.45);
    color: var(--black);
    border-radius: 999px;
    min-width: 1.6rem;
    height: 1.6rem;
    padding: 0 .5rem;
    font-size: .85rem;
    font-weight: 700;
}
.post-card-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* Override Bootstrap flex properties */
.p-box-wrap .posts-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, 30%) !important;
    flex-wrap: nowrap !important;
}
.p-box-wrap .posts-grid .post-card-wrap {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
}
/* Responsive adjustments for post carousels */
@media (max-width: 1200px) {
    .posts-grid {
        grid-template-columns: repeat(auto-fit, 45%) !important;
    }
}
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(auto-fit, 48%) !important;
        gap: 0.75rem;
    }
    
    .cp-post-media img,
    .cp-post-media video,
    .post-carousel,
    .post-carousel .splide__slide {
        height: 150px;
    }
    
    .post-card-top-wrap {
        padding: 0.5rem 0.75rem 0.25rem;
    }
    
    .post-card-content-wrap {
        padding: 0.5rem 0.75rem 0.75rem;
    }
    
    .post-carousel .splide__arrow {
        width: 25px;
        height: 25px;
    }
    
    .post-card-btn {
        max-width: 250px;
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}
@media (max-width: 576px) {
    .posts-grid {
        grid-template-columns: 100% !important;
        gap: 0.5rem;
    }
    
    .post-card-btn {
        max-width: 220px;
        padding: 0.6rem 1.1rem;
        font-size: 0.8rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }
}