/* Reset/base styles */
.petsy-author-list-wrapper {
    font-family: inherit;
    color: #333;
}

.petsy-author-list-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
}

.petsy-author-list-wrapper .pal-grid ul {
    margin: 0;
}

/* --- Featured Author --- */
.pal-featured {
    background-color: #FAF6FD;
    border-radius: 20px;
    padding: 43px 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 64px;
    align-items: center;
    margin-bottom: 30px;
}

.pal-featured-content {
    flex: 1;
    min-width: 300px;
}

.pal-badge {
    display: inline-block;
    background-color: #EADBF8;
    color: #060606;
    padding: 7px 12px;
    border-radius: 20px;
    margin-bottom: 28px;
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0;
    text-align: center;
}

.pal-featured-name {
    color: #5920F2;
    margin: 0 0 16px 0;
    font-weight: 400;
    font-size: 50px;
    line-height: 50px;
    letter-spacing: 0;
}

.pal-featured-position {
    color: #413D4F;
    margin-bottom: 16px;
    font-family: Soleil;
    font-weight: 400;
    font-size: 18px;
    line-height: 13px;
    letter-spacing: 0;
}

.pal-featured-highlight {
    display: flex;
    align-items: center;
    gap: 9px;
}

.pal-featured-highlight img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.pal-featured-about {
    color: #413D4F;
    margin-bottom: 20px;
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 0;
}

.pal-featured-exp {
    margin-bottom: 32px;
}

.pal-featured-exp li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #413D4F;
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 0;
}

.pal-featured-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: nowrap;
}

.pal-btn {
    background-color: #21B07D;
    color: #fff !important;
    padding: 18px 28px 14px;
    border-radius: 30px;
    text-decoration: none !important;
    display: inline-block;
    transition: background-color 0.3s ease;
    border: none;
    font-weight: 700 !important;
    font-size: 16px;
    line-height: 27px;
    letter-spacing: 1px;
    text-align: center;
    vertical-align: bottom;
    text-transform: uppercase;
    text-wrap-mode: nowrap;
}

.pal-btn:hover {
    background-color: #1a8f65;
}

.pal-text-btn {
    color: #413D4F !important;
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: underline !important;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}

.pal-text-btn:hover {
    color: #21B07D !important;
}

.pal-latest-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pal-latest-label {
    color: #413D4F;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Inter;
    font-weight: 500;
    font-size: 15px;
    line-height: 10px;
    letter-spacing: 0%;
}

.pal-latest-link {
    color: #413D4F;
    font-family: Inter !important;
    font-weight: 400 !important;
    font-size: 15px;
    line-height: 17px;
    letter-spacing: 0%;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    text-decoration: none !important;
    border-bottom: 1px solid;
}

.pal-latest-link:hover {
    text-decoration: none;
}

.pal-featured-avatar {
    width: 394px;
    height: 394px;
    flex-shrink: 0;
}

.pal-featured-avatar img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50% !important;
    border: 7px solid #E4CDEB !important;
}

.pal-featured-highlight-wrap {
    margin-bottom: 22px;
}

.pal-featured-highlight:not(:last-child) {
    margin-bottom: 12px;
}

.pal-featured-highlight a,
.pal-featured-highlight span {
    color: #413D4F;
    font-family: Inter !important;
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 0%;
}

.pal-featured-exp li:not(:last-child) {
    margin-bottom: 10px;
}

.pal-featured-exp li .icon-green-tick {
    display: flex;
}

/* --- Other Authors --- */
.pal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.pal-card {
    border: 1px solid #F0F0F0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.pal-card-header {
    background-color: #E4CDEB80;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.pal-card-avatar {
    width: 92px;
    height: 92px !important;
    border-radius: 50% !important;
    object-fit: cover;
}

.pal-card-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pal-card-name {
    color: #5920F2;
    font-weight: 400 !important;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    text-decoration: none !important;
}

.pal-card-position {
    color: #413D4F;
    margin: 0;
    font-family: Soleil;
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    letter-spacing: 0;
    vertical-align: middle;
}

.pal-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pal-card-stats {
    display: flex;
    gap: 18px;
    margin-bottom: 14px;
}

.pal-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pal-card-about {
    color: #413D4F;
    font-family: Inter;
    font-weight: 400;
    font-size: 15px;
    line-height: 130%;
    letter-spacing: 0%;
}

.pal-card-about p:last-child {
    margin-bottom: 0;
}

.pal-expertise-label {
    color: #413D4F;
    margin-bottom: 15px;
    font-family: Inter;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: 0%;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #E4CDEB80;
}

.pal-expertise {
    margin-bottom: 24px;
}

.pal-expertise li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.pal-btn-full {
    width: 100%;
    margin-top: 30px;
    font-size: 16px;
    line-height: 29.3px;
    letter-spacing: 1px;
    text-align: center;
    vertical-align: bottom;
    text-transform: uppercase;
    padding: 8px 22px 6px;
}

.pal-stat-item span {
    color: #413D4FE5;
    font-family: Inter;
    font-weight: 400;
    font-size: 15px;
    line-height: 19px;
    letter-spacing: 0%;
}

.pal-stat-item span strong {
    font-weight: 600;
}

.pal-expertise li:not(:last-child) {
    margin-bottom: 8px;
}

.pal-expertise li span.icon-green-tick {
    display: flex;
}

.pal-expertise li span:last-child {
    color: #413D4F;
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0;
}

/* Icons */
.icon-green-tick svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .pal-featured {
        flex-direction: column-reverse;
        padding: 24px;
    }

    .pal-featured-avatar {
        width: 350px;
        height: 350px;
        margin: 0 auto;
    }
}


@media (max-width: 768px) {
    .pal-featured-avatar {
        width: 100%;
        height: calc(100vw - 98px);
    }

    .pal-featured-actions {
        flex-direction: column-reverse;
    }
}

/* ==============================================================
   Single Blog Bio Shortcode (ssb)
   ============================================================== */
.ssb-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin: 70px 0 50px;
}

.ssb-block {
    background-color: #FAF6FD;
    border-radius: 20px;
    padding: 35px 30px 30px;
    font-family: Inter, sans-serif;
    color: #413D4F;
}

.ssb-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
}

.ssb-avatar {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
}

.ssb-avatar img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50% !important;
}

.ssb-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ssb-name {
    color: #5920F2;
    font-size: 35px;
    font-weight: 400;
    line-height: 1.1145;
    margin: 0 0 12px 0;
}

.ssb-position {
    font-size: 18px;
    font-family: Soleil, sans-serif;
    color: #413D4F;
    margin-bottom: 12px;
    line-height: 24px;
    font-weight: 400;
}

.ssb-highlight-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ssb-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ssb-highlight img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.ssb-highlight a,
.ssb-highlight span {
    font-size: 16px;
    color: #413D4F;
    text-decoration: none;
    line-height: 21px;
    font-family: 'Inter' !important;
}

.ssb-body {
    display: flex;
    flex-direction: column;
}

.ssb-about {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #413D4F;
}

.ssb-about p:last-child {
    margin-bottom: 0;
}

.ssb-exp-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ssb-exp-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    line-height: 1.4;
}

.ssb-icon-check {
    display: flex;
    flex-shrink: 0;
    margin-top: 3px;
}

.ssb-icon-check svg {
    width: 16px;
    height: 16px;
}

.ssb-action {
    margin-top: 0;
}

.ssb-link {
    color: #413D4F;
    font-weight: 700 !important;
    font-size: 15px;
    letter-spacing: 1px !important;
    text-transform: uppercase;
    text-underline-offset: 2px;
    transition: color 0.3s ease;
    line-height: 27px;
    display: inline-block;
}

.ssb-link:hover {
    color: #5920F2;
    text-decoration: none;
}

@media (max-width: 768px) {
    .ssb-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .ssb-avatar {
        width: 120px;
        height: 120px;
    }
    
    .ssb-info {
        align-items: center;
    }
    
    .ssb-name {
        font-size: 28px;
    }
}

/* ==============================================================
   FAQs Shortcode (ssb)
   ============================================================== */
.ssb-faqs-container {
    margin-bottom: 0;
}

.ssb-faqs-title {
    font-size: 55px;
    font-weight: 400;
    color: #413D4F;
    margin: 0 0 35px 0;
    letter-spacing: -2%;
}

.ssb-faq-item {
    border-bottom: 1px solid #EAEAEA;
}

.ssb-faq-item:last-child {
    border-bottom: none;
}

.ssb-faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.ssb-faq-question {
    font-size: 17px;
    font-weight: 400;
    color: #413D4F;
    margin: 0;
    padding-right: 20px;
    line-height: 12px;
}

.ssb-faq-icon {
    position: relative;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.ssb-faq-icon::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 12px;
    height: 12px;
    border-right: 2px solid #413D4F;
    border-bottom: 2px solid #413D4F;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.ssb-faq-item.active .ssb-faq-icon::after {
    transform: rotate(225deg);
    top: 8px;
}

.ssb-faq-body {
    display: none;
    padding-bottom: 24px;
}

.ssb-faq-answer {
    font-family: Inter, sans-serif;
    font-size: 15px;
    color: #413D4FD9;
    line-height: 1.6;
}

.ssb-faq-answer p:last-child {
    margin-bottom: 0;
}

.ssb-faq-header > .elementor-menu-anchor {
    display: none;
}

.ssb-faq-item:first-child .ssb-faq-header {
    padding-top: 0;
}

.ssb-faq-item:last-child .ssb-faq-header {
    padding-bottom: 0;
}

.ssb-faq-item.active .ssb-faq-header {
    padding-bottom: 18px;
}

.ssb-faqs-list * {
    letter-spacing: 0;
}

@media (max-width: 768px) {
    .ssb-faqs-title {
        font-size: 32px;
    }
}

/* ==============================================================
   Related Posts Shortcode (ssb)
   ============================================================== */
.ssb-related-posts-container {
}

.ssb-related-wrapper {
    position: relative;
    padding: 0 40px; 
}

.ssb-related-swiper {
    overflow: hidden;
}

.ssb-related-slide {
    display: flex;
    flex-direction: column;
}

.ssb-related-link {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
}

.ssb-related-link:hover .ssb-related-title {
    text-decoration: underline;
}

.ssb-related-thumb {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 380 / 273;
    margin-bottom: 25px;
}

.ssb-related-thumb img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.ssb-related-thumb.ssb-related-thumb-placeholder {
    background-color: #FAF6FD;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ssb-related-thumb.ssb-related-thumb-placeholder img {
    width: auto !important;
    height: auto !important;
    max-width: 50%;
    max-height: 50%;
    object-fit: contain;
}

.ssb-related-author {
    font-family: Inter, sans-serif;
    font-size: 15px;
    color: #413D4F;
    margin-bottom: 8px;
    font-weight: 400;
    line-height: 19px;
}

.ssb-related-title {
    font-size: 20px;
    font-weight: 400;
    color: #5920F2;
    margin: 0 0 12px 0;
    line-height: 28px;
}

.ssb-related-excerpt {
    font-family: Inter, sans-serif;
    font-size: 15px;
    color: #413D4FCC;
    line-height: 19px;
    margin: 0;
    font-weight: 400;
}

/* Custom Arrows */
.ssb-related-prev,
.ssb-related-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.ssb-related-prev {
    left: 0;
}

.ssb-related-next {
    right: 0;
}

.ssb-related-prev::after,
.ssb-related-next::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid #413D4F;
    border-right: 2px solid #413D4F;
}

.ssb-related-prev::after {
    transform: rotate(-135deg);
    margin-left: 5px;
}

.ssb-related-next::after {
    transform: rotate(45deg);
    margin-right: 5px;
}

.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.ssb-related-content * {
    letter-spacing: 0;
    text-decoration: none !important;
}

@media (max-width: 1024px) {
    .ssb-related-wrapper {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .ssb-related-wrapper {
        padding: 0;
    }
    .ssb-related-prev,
    .ssb-related-next {
        display: none !important;
    }
}