/* css/style-pet-care-blog.css */

.pet-care-insights-title {
    font-size: 50px;
    color: #5920F2;
    /* Bright Purple */
    margin-bottom: 55px;
    line-height: 52px;
    font-family: 'Soleil', sans-serif;
    font-weight: 400;
}

.pet-care-insights-grid {
    display: grid;
    grid-template-columns: 678px 457px;
    gap: 50px;
}

/* Featured Post (Left) */
.pet-care-featured-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.3s ease;
}

.pet-care-featured-link:hover {
    transform: translateY(-2px);
}

.pet-care-featured-thumb {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
}

.pet-care-featured-thumb img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 678 / 437;
    object-fit: cover;
}

.pet-care-featured-title {
    font-size: 34px;
    font-weight: 400;
    color: #413D4F;
    margin: 0 0 12px 0;
    line-height: 45px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pet-care-post-meta {
    font-size: 13px;
    color: #413D4FCC;
    font-weight: 400;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    font-family: 'Inter' !important;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.pet-care-meta-author {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 65%;
    flex-shrink: 1;
}

.pet-care-author-name {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #413D4FCC;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 4px;
}

.pet-care-meta-date {
    flex-shrink: 0;
}

.pet-care-meta-sep {
    color: #413D4F33;
    flex-shrink: 0;
}

/* List Posts (Right) */
.pet-care-list-posts {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 472px;
}

.pet-care-list-item {
    border-bottom: 1px solid #F0F0F0;
    padding-bottom: 22px;
}

.pet-care-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pet-care-list-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none !important;
    color: inherit;
    gap: 40px;
    transition: transform 0.3s ease;
}

.pet-care-list-link:hover {
    transform: translateY(-2px);
}

.pet-care-list-content {
    flex: 1;
}

.pet-care-list-title {
    font-size: 20px;
    font-weight: 400;
    color: #413D4F;
    margin: 0 0 12px 0;
    line-height: 30px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pet-care-list-thumb {
    flex: 0 0 179px;
    border-radius: 12px;
    overflow: hidden;
}

.pet-care-list-thumb img {
    width: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 179 / 114;
}

.pet-care-insights * {
    letter-spacing: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .pet-care-insights-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .pet-care-insights-title {
        font-size: 36px;
        line-height: 42px;
        margin-bottom: 30px;
    }

    .pet-care-featured-title {
        font-size: 28px;
        line-height: 36px;
    }

    .pet-care-list-link {
        flex-direction: column-reverse;
        gap: 16px;
    }

    .pet-care-list-thumb {
        flex: 1 1 auto;
        width: 100%;
    }

    .pet-care-list-thumb img {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/* Featured Guide (Bottom) */
.pet-care-explore-more {
    margin-top: 120px;
    background-color: #F9F6FC;
    border-radius: 24px;
    overflow: hidden;
}

.pet-care-explore-card {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 35px 35px 35px 50px;
}

.pet-care-explore-content-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 454px;
}

.pet-care-explore-content-inner {}

.pet-care-explore-tag {
    display: inline-block;
    background-color: #E4CDEB;
    color: #413D4F;
    font-size: 13px;
    font-weight: 400;
    padding: 5px 11px 2px;
    border-radius: 99px;
    margin-bottom: 24px;
    text-transform: uppercase;
    line-height: 22px;
    letter-spacing: 0;
}

.pet-care-explore-title {
    font-size: 35px;
    font-weight: 400;
    color: #413D4F;
    margin: 0 0 12px 0;
    line-height: 42px;
}

.pet-care-explore-excerpt {
    font-size: 16px;
    color: #413D4F;
    line-height: 21px;
    margin: 0 0 25px 0;
    font-family: 'Inter', sans-serif;
}

.pet-care-explore-action {
    margin-top: 41px;
}

.pet-care-explore-btn {
    display: inline-block;
    background-color: #21B07D;
    color: #FFFFFF !important;
    font-size: 14px;
    padding: 16px 30px 14px;
    border-radius: 100px;
    text-decoration: none !important;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.pet-care-explore-btn:hover {
    background-color: #1A9468;
    transform: translateY(-1px);
}

.pet-care-explore-image-col {
    max-width: 611px;
    border-radius: 16px;
    overflow: hidden;
}

.pet-care-explore-img-link {
    display: block;
    width: 100%;
}

.pet-care-explore-image-col img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 611 / 451;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.pet-care-explore-image-col img:hover {
    transform: scale(1.02);
}

/* Responsive Guide */
@media (max-width: 1024px) {
    .pet-care-explore-card {
        gap: 30px;
        padding: 30px;
    }

    .pet-care-explore-image-col {
        flex: 1 1 auto;
        width: 0;
    }

    .pet-care-explore-image-col img {
        aspect-ratio: 16 / 9;
    }
}

/* Style cho hÃ¬nh áº£nh thay tháº¿ máº·c Ä‘á»‹nh (Default/Fallback Images) */
.pet-care-default-thumb {
    object-fit: contain !important;
    background-color: #FFFFFF !important;
    box-sizing: border-box !important;
}

/* CÄƒn chá»‰nh padding cho tá»«ng khu vá»±c Ä‘á»ƒ áº£nh lá»t thá»m cÃ¢n Ä‘á»‘i */
.pet-care-featured-thumb .pet-care-default-thumb {
    padding: 40px;
    width: 100%;
    height: 100%;
}

.pet-care-list-thumb .pet-care-default-thumb {
    padding: 12px;
    width: 100%;
    height: 100%;
}

.pet-care-explore-image-col .pet-care-default-thumb {
    padding: 20%;
    width: 100%;
    height: 100%;
}

.pca-card-thumb .pet-care-default-thumb {
    padding: 20%;
    width: 100%;
    height: 100%;
}

/* --- Pet Care Articles List Shortcode --- */
.pca-wrap {
    margin-top: -18px;
}

.pca-header {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 30px;
}

.pca-header-left {
    max-width: 650px;
}

.pca-main-title {
    font-size: 50px;
    color: #5920F2;
    margin: 0 0 16px 0;
    line-height: 52px;
    font-family: 'Soleil', sans-serif;
    font-weight: 400;
}

.pca-main-desc {
    font-size: 16px;
    line-height: 24px;
    color: #413D4F;
    margin: 0;
    font-family: 'Inter', sans-serif;
    opacity: 0.9;
}

.pca-header-right {
    flex-shrink: 0;
}

.pca-quick-filter {
    position: relative;
    font-family: 'Inter', sans-serif;
}

.pca-filter-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 16px;
    color: #413D4F !important;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    padding: 0;
}

.pca-filter-label {
    color: #413D4F;
    font-weight: 500;
}

.pca-chevron {
    color: #413D4F;
    transition: transform 0.3s ease;
}

.pca-filter-btn[aria-expanded="true"] .pca-chevron {
    transform: rotate(180deg);
}

.pca-filter-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0px 10px 30px rgba(65, 61, 79, 0.12);
    padding: 20px;
    min-width: 220px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pca-filter-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pca-filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    cursor: pointer;
    user-select: none;
}

.pca-filter-item:last-child {
    margin-bottom: 0;
}

.pca-filter-cb {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.pca-cb-box {
    width: 18px;
    height: 18px;
    border: 1.5px solid #D0C9D6;
    border-radius: 5px;
    display: inline-block;
    position: relative;
    transition: all 0.2s ease;
    background-color: #FFFFFF;
}

.pca-filter-item:hover .pca-cb-box {
    border-color: #5920F2;
}

.pca-filter-cb:checked~.pca-cb-box {
    background-color: #5920F2;
    border-color: #5920F2;
}

.pca-filter-cb:checked~.pca-cb-box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pca-filter-name {
    font-size: 15px;
    color: #413D4F;
    font-weight: 500;
}

/* Grid & Cards */
.pca-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 65px 30px;
    transition: opacity 0.3s ease;
}

.pca-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pca-card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 380 / 223;
    overflow: hidden;
    text-decoration: none !important;
    margin-bottom: 26px;
}

.pca-card-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.4s ease;
    background-color: #FAF6FD !important;
}

.pca-card:hover .pca-card-thumb img {
    transform: scale(1.03);
}

.pca-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pca-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.pca-card-tag {
    display: inline-block;
    background-color: #E4CDEB99;
    color: #413D4F;
    font-size: 13px;
    font-weight: 400;
    padding: 2px 14px 0;
    border-radius: 99px;
    line-height: 27px;
    text-transform: uppercase;
}

.pca-card-title {
    font-size: 22px;
    font-weight: 400;
    color: #413D4F;
    margin: 0 0 10px 0;
    line-height: 30px;
}

.pca-card-title a {
    color: inherit;
    text-decoration: none !important;
    transition: color 0.25s ease;
    font-weight: 400 !important;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pca-card-title a:hover {
    color: #5920F2;
}

.pca-card-meta {
    font-size: 13px;
    color: #413D4FCC;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    margin-top: auto;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.pca-meta-author {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 65%;
    flex-shrink: 1;
}

.pca-author-name {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #413D4FCC;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 4px;
}

.pca-meta-date {
    flex-shrink: 0;
}

.pca-meta-sep {
    color: #413D4F33;
    flex-shrink: 0;
}

.pca-no-posts {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 16px;
    color: #413D4F;
    padding: 40px 0;
}

/* Load More */
.pca-loadmore-wrap {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.pca-loadmore-btn {
    display: inline-block;
    background-color: #21B07D;
    color: #FFFFFF !important;
    font-size: 16px;
    line-height: 28px;
    font-weight: 700;
    padding: 17px 19px 14px;
    border-radius: 100px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
    box-shadow: 0px 4px 15px rgba(33, 176, 125, 0.15);
    font-family: 'Soleil';
    letter-spacing: 0 !important;
}

.pca-loadmore-btn:hover {
    background-color: #1A9468;
    transform: translateY(-1px);
}

.pca-loadmore-btn.loading {
    background-color: #90d8be;
    pointer-events: none;
    box-shadow: none;
}

/* Responsive PCA */
@media (max-width: 1024px) {
    .pca-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .pet-care-list-posts {
        width: 100%;
    }

    .pca-wrap {
        margin-top: 40px;
    }

    .pca-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .pca-header {
        flex-direction: column;
        align-items: flex-end;
        gap: 20px;
        margin-bottom: 40px;
    }

    .pca-main-title {
        font-size: 36px;
        line-height: 42px;
    }

    .pca-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- Pet Care Related/Offset Posts Shortcode --- */
.pcr-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.pcr-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 4px 20px 0px #0000000D;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pcr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 15px 40px rgba(65, 61, 79, 0.08);
}

.pcr-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 28px 25px 30px;
}

.pcr-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.pcr-card-tag {
    display: inline-block;
    background-color: #E4CDEB;
    color: #413D4F;
    font-size: 13px;
    font-weight: 400;
    padding: 2px 14px 0px;
    border-radius: 99px;
    line-height: 27px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.pcr-card-title {
    font-size: 22px;
    font-weight: 400;
    color: #413D4F;
    margin: 0 0 10px 0;
    line-height: 30px;
}

.pcr-card-title a {
    color: inherit;
    text-decoration: none !important;
    transition: color 0.25s ease;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-weight: 400 !important;
    letter-spacing: 0;
}

.pcr-card-title a:hover {
    color: #5920F2;
}

.pcr-card-action {
    margin-top: auto;
}

.pcr-explore-link {
    font-size: 13px;
    font-weight: 400 !important;
    color: #413D4FCC;
    text-decoration: none !important;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 17px;
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
    letter-spacing: 0;
}

.pcr-explore-link:hover {
    color: #5920F2 !important;
}

.pcr-explore-link:hover .pcr-arrow {
    transform: translateX(4px);
}

.pcr-arrow {
    transition: transform 0.2s ease;
    display: inline-block;
}

.pcr-card .pca-card-thumb {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .pcr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .pcr-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.form-pet-care-cate .elementor-form-fields-wrapper.elementor-labels- {
    flex-wrap: nowrap;
    gap: 0;
}

.form-pet-care-cate .elementor-field-type-email {
    width: 100%;
}

.form-pet-care-cate .elementor-field-type-submit {
    position: absolute;
    right: 0;
    top: 0;
    width: auto !important;
}

.form-pet-care-cate .elementor-field-type-email input#form-field-email {
    margin-bottom: 0;
    padding: 20px 250px 20px 26px;
    height: 61px;
}

@media screen and (max-width: 767px) {
    .pet-care-explore-card {
        flex-direction: column-reverse;
    }

    .pet-care-explore-image-col {
        width: 100%;
    }

    .pet-care-explore-title {
        font-size: 24px;
        line-height: 26px;
    }

    .form-pet-care-cate .elementor-field-type-submit {
        position: relative;
    }

    .form-pet-care-cate .elementor-form-fields-wrapper.elementor-labels- {
        flex-wrap: wrap;
        gap: 16px;
    }

    .form-pet-care-cate .elementor-field-type-email input#form-field-email {
        padding: 20px;
    }
}