/* ================================================
   Post Carousel Custom - Public Stylesheet
   Matches original PSAC design-2 layout exactly
   ================================================ */

/* --- Wrapper --- */
.pcc-wrap {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* --- Swiper overrides --- */
.pcc-wrap .swiper {
    padding-bottom: 40px; /* space for dots */
}

/* --- Post Card (design-2 style) --- */
.pcc-post-card {
    border: 2px solid #ddd;
    text-align: center;
    transition: border-color 0.3s linear;
    background: #fff;
    height: 100%;
    box-sizing: border-box;
}

.pcc-post-card:hover {
    border-color: #03a9f5;
}

/* --- Featured Image --- */
.pcc-post-img {
    overflow: hidden;
    line-height: 0;
    margin-bottom: 0;
}

.pcc-post-img img {
    width: 100%;
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.pcc-post-img:hover img {
    transform: scale(1.08);
}

/* --- Post Body --- */
.pcc-post-body {
    padding: 0 20px 20px 20px;
    text-align: center;
}

.pcc-no-img-padding {
    padding: 20px;
}

/* --- Categories --- */
.pcc-post-cats {
    display: inline-block;
    color: #666;
    margin-top: 15px;
}

.pcc-post-cats a {
    text-decoration: none !important;
    color: #555;
    font-size: 13px;
    padding: 3px 2px;
    line-height: normal;
    display: inline-block;
    margin: 0 0 5px 0;
    border-bottom: 3px solid #f1f1f1;
    transition: border-color 0.3s ease-out;
}

.pcc-post-cats a:hover {
    border-color: #03a9f5;
}

/* --- Post Title --- */
.pcc-post-title {
    font-size: 18px;
    line-height: 26px;
    margin: 12px 0 0 0 !important;
}

.pcc-post-title a {
    text-decoration: none !important;
    border: 0 !important;
    color: inherit;
    transition: color 0.3s ease;
}

.pcc-post-title a:hover {
    color: #03a9f5;
}

/* --- Meta (date / author / comments) --- */
.pcc-post-meta {
    line-height: normal;
    margin: 10px 0 0 0;
    color: #666;
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 12px;
}

.pcc-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
}

.pcc-post-meta svg {
    flex-shrink: 0;
    color: #888;
}

/* --- Excerpt & Read More --- */
.pcc-post-excerpt {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.pcc-post-excerpt p {
    margin: 0 0 10px 0;
}

.pcc-read-more {
    position: relative;
    text-decoration: none !important;
    color: #888;
    border: 2px solid #888;
    padding: 8px 15px;
    font-size: 13px;
    display: inline-block;
    line-height: normal !important;
    margin-top: 10px;
    text-align: center;
    transition: all 0.3s ease-out;
}

.pcc-read-more:hover,
.pcc-read-more:focus {
    background: #03a9f5;
    color: #fff !important;
    border-color: #0593d4;
}

/* --- Tags --- */
.pcc-post-tags {
    margin-top: 14px;
    font-size: 12px;
}

.pcc-post-tags a {
    display: inline-block;
    margin: 2px 2px;
    padding: 2px 6px;
    background: #f1f1f1;
    color: #555;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.2s ease;
}

.pcc-post-tags a:hover {
    background: #03a9f5;
    color: #fff;
}

/* --- Navigation Arrows --- */
.pcc-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-60%); /* offset slightly above dots */
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    padding: 4px 16px 8px 16px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.pcc-nav:hover {
    background: #03a9f5;
}

[class*="pcc-prev-"] {
    left: 0;
}

[class*="pcc-next-"] {
    right: 0;
}

.swiper-button-disabled.pcc-nav {
    display: none;
}

/* --- Dots / Pagination --- */
.pcc-wrap .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: #555;
    opacity: 1;
    margin: 0 2px !important;
}

.pcc-wrap .swiper-pagination-bullet-active {
    background: #fd6e4f;
}

/* --- Responsive gap between slides --- */
.pcc-wrap .swiper-slide {
    padding: 0 8px;
    box-sizing: border-box;
}

/* --- Equal height slides --- */
.pcc-wrap .swiper-wrapper {
    align-items: stretch;
}

.pcc-wrap .swiper-slide {
    height: auto;
}
