/* ==========================================================
   CodeArt fixes – kanzotech.com
   Loaded last from header.php (version = file modified time,
   so changes show immediately). Add all CodeArt CSS here.
   ========================================================== */


/* ----------------------------------------------------------
   19 Nov 2026 – Home > Company Strengths
   "Wholesale Distribution Network" card opens the Kanzo
   Network modal. Make the whole card clickable and add the
   arrow icon (same style as Industries served arrow).
   ---------------------------------------------------------- */
.company-strengths .strength-card:has(.card-content[data-bs-target]) {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.company-strengths .strength-card:has(.card-content[data-bs-target]):hover {
    border-color: #E7C562;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Stretch the modal trigger over the whole card */
.company-strengths .strength-card .card-content[data-bs-target] {
    cursor: pointer;
}

.company-strengths .strength-card .card-content[data-bs-target]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 13px;
}

/* Arrow icon */
.company-strengths .strength-card:has(.card-content[data-bs-target])::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 32px;
    border: 1px solid #000;
    background: url("../img/arrow-right.svg") no-repeat center / 11px 11px;
    transition: 0.3s;
    pointer-events: none;
}

.company-strengths .strength-card:has(.card-content[data-bs-target]):hover::after {
    border-color: transparent;
    background: url("../img/arrow-right.svg") no-repeat center / 11px 11px,
        linear-gradient(to right, #C5962F, #E7C562, #F7DD7B, #EFD271, #E3C05D, #DEB853);
}

/* ----------------------------------------------------------
   19 Nov 2026 – Footer: VAT number in gold
   (span added in footer.php; solid brand gold for
   readability on the light footer bar)
   ---------------------------------------------------------- */
.footer-bottom .copyright-text .kz-vat-number {
    color: #C5962F;
    font-weight: 600;
}

/* ----------------------------------------------------------
   19 Nov 2026 – Blog post: author photo + "About the author" box
   (markup from kz_author_box() in functions.php)
   ---------------------------------------------------------- */
img.kz-author-avatar {
    object-fit: cover;
    border-radius: 50%;
}

.kz-author-box {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin: 32px 0;
    padding: 28px;
    border: 1px solid #F0F0F0;
    border-radius: 13px;
    background: #F8F8F8;
}

.kz-author-box .kz-author-photo {
    flex: 0 0 96px;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    border: 2px solid #E7C562;
}

.kz-author-box .kz-author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kz-author-box .kz-author-photo.kz-no-photo img {
    object-fit: contain;
    padding: 14px;
}

.kz-author-box .kz-author-body p {
    margin: 0;
}

.kz-author-box .kz-author-label {
    font-family: "Poltawski Nowy", serif;
    font-style: italic;
    font-size: 16px;
    color: #C5962F;
    margin-bottom: 4px !important;
}

.kz-author-box .kz-author-name {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.kz-author-box .kz-author-name a {
    color: #000;
    text-decoration: none;
}

.kz-author-box .kz-author-name a:hover {
    color: #C5962F;
}

.kz-author-box .kz-author-designation {
    font-size: 14px;
    color: #666;
    margin-top: 2px !important;
}

.kz-author-box .kz-author-bio {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-top: 12px !important;
}

.kz-author-box .kz-author-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.kz-author-box .kz-author-socials a {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #000;
    border-radius: 32px;
    font-size: 13px;
    color: #000;
    text-decoration: none;
    transition: 0.3s;
}

.kz-author-box .kz-author-socials a:hover {
    border-color: transparent;
    background: linear-gradient(to right, #C5962F, #E7C562, #F7DD7B, #EFD271, #E3C05D, #DEB853);
}

@media (max-width: 575px) {
    .kz-author-box {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
}

/* Written by link (post meta + footer) in brand gold */
.person-info .info a,
.admin-detail-footer .post-info .text a {
    color: #C5962F;
    text-decoration: none;
}

.person-info .info a:hover,
.admin-detail-footer .post-info .text a:hover {
    text-decoration: underline;
}

/* ----------------------------------------------------------
   19 Nov 2026 – Blog post: "Blog / Category" breadcrumb above title
   ---------------------------------------------------------- */
.kz-blog-breadcrumb {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 10px;
    color: #666;
}

.kz-blog-breadcrumb a {
    color: #C5962F;
    text-decoration: none;
    font-weight: 500;
}

.kz-blog-breadcrumb a:hover {
    text-decoration: underline;
}

.kz-blog-breadcrumb .kz-sep {
    margin: 0 6px;
    color: #999;
}

/* ----------------------------------------------------------
   19 Nov 2026 – kz mobile page count ("2 / 4") beside the arrows
   ---------------------------------------------------------- */
.paginator_sec {
    align-items: center;
    gap: 10px;
}

.paginator_sec .page-count {
    margin: 0 4px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.paginator_sec .page-count .pagination-hlt {
    color: #C5962F;
}

/* ----------------------------------------------------------
   19 Nov 2026 – Home "News & Articles": swipeable cards on mobile
   ---------------------------------------------------------- */
@media (max-width: 991.98px) {
    .news-articles-section .row.g-4 {
        display: none;
    }
}

.kz-hb-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.kz-hb-track::-webkit-scrollbar {
    display: none;
}

.kz-hb-track .kz-hb-card {
    flex: 0 0 88%;
    scroll-snap-align: start;
    margin: 0;
    height: auto;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.kz-hb-track .kz-hb-card .article-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.kz-hb-track .kz-hb-card .read-more-link {
    margin-top: auto;
}

.kz-hb-track .article-title a {
    color: inherit;
    text-decoration: none;
}

.kz-hb-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.kz-hb-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9d9d9;
    cursor: pointer;
    transition: all .2s ease;
}

.kz-hb-dots span.active {
    width: 22px;
    border-radius: 4px;
    background: #C5962F;
}
