.pt-publication-wrapper {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 20px 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.pt-publication-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.pt-header-title {
    flex: 0 0 50%;
    max-width: 50%;
    box-sizing: border-box;
    text-align: right;
}

.pt-publication-wrapper .pt-publication-header .pt-header-title h3 {
    font-size: 36px !important;
    font-weight: 400 !important;
    margin: 0 0 -5px 0 !important;
    color: #333 !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    font-family: "Rubik", Sans-serif !important;
}

.pt-title-underline {
    width: 40px;
    height: 4px;
    background-color: #8bc34a;
    margin: 8px auto 5px auto;
    border-radius: 2px;
}

.pt-header-links {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

.pt-header-link {
    display: inline-block;
    padding: 5px 25px;
    border-radius: 20px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background-color: #8bc34a;
    transition: transform 0.3s ease, color 0.3s ease;
    margin-top: -5px;
}

.pt-header-link:hover {
    color: #fff !important;
    transform: scale(1.1);
    opacity: 1;
}

.pt-header-link:nth-child(1) {
    background-color: #e53935;
}

.pt-header-link:nth-child(2) {
    background-color: #ff9800;
}

.pt-header-link:nth-child(3) {
    background-color: #8bc34a;
}

.pt-header-link:nth-child(4) {
    background-color: #4a8ac3;
}

.pt-header-view-all {
    flex-shrink: 0;
}

.pt-view-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.pt-view-all:hover {
    color: #8bc34a;
}

.pt-carousel-wrapper {
    position: relative;
    padding: 0 50px;
}

.pt-carousel-viewport {
    width: 100%;
    overflow: hidden;
}

.pt-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.pt-publication-card {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}


.pt-carousel-arrow {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    border: none !important;
    background: transparent !important;
    color: #ccc !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 75px;
    line-height: 0;
    padding: 0 !important;
    margin: 0 !important;
    width: 40px !important;
    height: 75px !important;
    z-index: 10;
    transition: color 0.3s ease;
    box-shadow: none !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.pt-carousel-arrow span {
    line-height: 0;
    display: block;
    transform: translateY(-8px);
}

.pt-carousel-arrow:hover,
.pt-carousel-arrow:focus,
.pt-carousel-arrow:active {
    color: #8bc34a !important;
    background: transparent !important;
}

.pt-carousel-prev {
    left: 0;
}

.pt-carousel-next {
    right: 0;
}

.pt-card-thumbnail {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 10px;
    background-color: #f0f0f0;
    margin-bottom: 10px;
    max-height: 150px;
    border: 1px solid #eee;
}

.pt-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.pt-card-thumbnail:hover img {
    transform: scale(1.05);
}

.pt-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #9e9e9e;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.pt-card-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 10px;
    font-weight: 700;
    padding: 0px 15px;
    border-radius: 5px;
    text-transform: uppercase;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.pt-card-body {
    display: flex;
    flex-direction: column;
}

.pt-card-date {
    font-size: 13px;
    color: #777;
    margin-bottom: 6px;
}

.pt-card-title {
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px 0 !important;
}

.pt-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pt-card-title a:hover {
    color: #8bc34a;
}

.pt-card-excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

@media (max-width: 1024px) {
    .pt-carousel-wrapper {
        padding: 0 45px;
    }

    .pt-publication-card {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .pt-publication-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .pt-header-title {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: left;
    }

    .pt-publication-wrapper .pt-publication-header .pt-header-title h3 {
        font-size: 30px !important;
    }

    .pt-header-links {
        flex: 0 0 100%;
        max-width: 100%;
        justify-content: space-between;
        flex-wrap: nowrap;
        width: 100%;
    }

    .pt-header-link {
        display: inline-block;
        padding: 5px 15px;
        border-radius: 5px;
        text-decoration: none !important;
        font-size: 14px;
        font-weight: 600;
        color: #fff;
        background-color: #8bc34a;
        transition: transform 0.3s ease, color 0.3s ease;
        margin-top: 0px;
        flex-shrink: 0;
    }

    .pt-carousel-wrapper {
        padding: 0 25px;
    }

    .pt-carousel-arrow {
        font-size: 75px;
        width: 5px !important;
        height: 75px !important;
    }

    .pt-publication-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
