/* =========================================================
   VETERINARY PAGE
========================================================= */

.vet-page {
    background: #fff;
    color: #171717;
}


/* =========================================================
   HERO
========================================================= */

.vet-hero {
    padding: 110px 0 70px;

    border-bottom: 1px solid #ededed;
}


.vet-hero-inner {
    max-width: 820px;
}


.vet-eyebrow {
    display: block;

    margin-bottom: 20px;

    color: #777;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: .12em;
    text-transform: uppercase;
}


.vet-hero h1 {
    margin: 0;

    font-size: clamp(54px, 8vw, 104px);
    font-weight: 400;
    line-height: .95;

    letter-spacing: -.055em;
}


.vet-hero h1 em {
    display: block;

    color: #777;

    font-family: Georgia, serif;
    font-weight: 400;
}


.vet-hero p {
    max-width: 660px;

    margin: 36px 0 0;

    color: #626262;

    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   FILTER
========================================================= */

.vet-filter-section {
    padding: 26px 0;

    border-bottom: 1px solid #ededed;
}


.vet-filters {
    display: flex;
    align-items: center;

    gap: 10px;

    overflow-x: auto;

    scrollbar-width: none;
}


.vet-filters::-webkit-scrollbar {
    display: none;
}


.vet-filters a {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 9px 15px;

    color: #686868;
    background: #f7f7f6;

    border: 1px solid #ececea;
    border-radius: 100px;

    font-size: 12px;
    font-weight: 500;

    text-decoration: none;

    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease;
}


.vet-filters a span {
    opacity: .55;

    font-size: 10px;
}


.vet-filters a:hover,
.vet-filters a.active {
    color: #fff;
    background: #171717;

    border-color: #171717;
}


/* =========================================================
   FEATURED
========================================================= */

.vet-featured-section {
    padding: 70px 0;
}


.vet-featured {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(340px, .8fr);

    height: 520px;

    background: #f5f5f3;

    border-radius: 24px;

    overflow: hidden;
}


/* =========================================================
   FEATURED IMAGE
========================================================= */

.vet-featured-image {
    display: block;

    width: 100%;
    height: 520px;

    background: #ececea;

    overflow: hidden;
}


.vet-featured-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform .5s ease;
}


.vet-featured:hover .vet-featured-image img {
    transform: scale(1.025);
}


/* =========================================================
   FEATURED CONTENT
========================================================= */

.vet-featured-content {
    min-width: 0;

    height: 520px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding: clamp(40px, 6vw, 78px);
}


.vet-category {
    display: inline-flex;

    color: #777;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: .08em;
    text-transform: uppercase;
}


.vet-featured h2 {
    margin: 20px 0;

    font-size: clamp(34px, 4vw, 54px);
    font-weight: 400;
    line-height: 1.07;

    letter-spacing: -.04em;
}


.vet-featured h2 a {
    color: inherit;
    text-decoration: none;
}


.vet-featured-content p {
    display: -webkit-box;

    margin: 0;

    overflow: hidden;

    color: #696969;

    font-size: 15px;
    line-height: 1.75;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}


.vet-meta {
    margin-top: 24px;

    color: #999;

    font-size: 11px;
}


.vet-read-more {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    margin-top: 35px;

    color: #171717;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;
}


.vet-read-more span {
    transition: transform .2s ease;
}


.vet-read-more:hover span {
    transform: translateX(4px);
}


/* =========================================================
   PLACEHOLDER
========================================================= */

.vet-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #999;

    background:
        linear-gradient(
            135deg,
            #ececea,
            #f7f7f5
        );

    font-family: Georgia, serif;
    font-size: 22px;

    text-align: center;
}


/* =========================================================
   POSTS
========================================================= */

.vet-posts-section {
    padding: 35px 0 110px;
}


.vet-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 38px;
}


.vet-section-head span {
    color: #999;

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: .12em;
}


.vet-section-head h2 {
    margin: 8px 0 0;

    font-size: 34px;
    font-weight: 400;

    letter-spacing: -.035em;
}


/* =========================================================
   GRID
========================================================= */

.vet-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 42px 24px;

    align-items: start;
}


/* =========================================================
   CARD
========================================================= */

.vet-card {
    min-width: 0;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   CARD IMAGE
========================================================= */

.vet-card-image {
    display: block;

    width: 100%;
    height: 250px;

    margin-bottom: 22px;

    background: #f0f0ee;

    border-radius: 14px;

    overflow: hidden;
}


.vet-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform .45s ease;
}


.vet-card:hover .vet-card-image img {
    transform: scale(1.03);
}


/* =========================================================
   CARD BODY
========================================================= */

.vet-card-body {
    min-width: 0;
}


.vet-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}


.vet-card-date {
    flex-shrink: 0;

    color: #aaa;

    font-size: 10px;

    white-space: nowrap;
}


.vet-card h3 {
    margin: 14px 0 12px;

    font-size: 25px;
    font-weight: 500;
    line-height: 1.17;

    letter-spacing: -.03em;
}


.vet-card h3 a {
    color: #171717;

    text-decoration: none;
}


.vet-card p {
    display: -webkit-box;

    margin: 0;

    overflow: hidden;

    color: #747474;

    font-size: 14px;
    line-height: 1.7;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}


.vet-card-link {
    display: inline-block;

    margin-top: 18px;

    color: #333;

    font-size: 11px;
    font-weight: 600;

    text-decoration: none;
}


/* =========================================================
   EMPTY
========================================================= */

.vet-empty {
    padding: 80px 30px;

    background: #f7f7f5;

    border-radius: 18px;

    text-align: center;
}


.vet-empty h3 {
    margin: 0 0 10px;

    font-size: 24px;
    font-weight: 500;
}


.vet-empty p {
    margin: 0;

    color: #777;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1000px) {

    .vet-featured {
        grid-template-columns: 1fr;

        height: auto;
    }


    .vet-featured-image {
        width: 100%;
        height: 400px;
    }


    .vet-featured-content {
        height: auto;

        padding: 42px;
    }


    .vet-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .vet-card-image {
        height: 240px;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 680px) {

    .vet-hero {
        padding: 80px 0 50px;
    }


    .vet-hero h1 {
        font-size: 58px;
    }


    .vet-hero p {
        font-size: 15px;
    }


    .vet-featured-section {
        padding: 45px 0;
    }


    .vet-featured {
        border-radius: 16px;
    }


    .vet-featured-image {
        height: 280px;
    }


    .vet-featured-content {
        padding: 32px 25px 38px;
    }


    .vet-featured h2 {
        font-size: 34px;
    }


    .vet-grid {
        grid-template-columns: 1fr;
    }


    .vet-card-image {
        height: 240px;
    }


    .vet-posts-section {
        padding-bottom: 70px;
    }


    .vet-card-top {
        align-items: flex-start;
    }

}


/* =========================================================
   RESPONSIVE - SMALL MOBILE
========================================================= */

@media (max-width: 440px) {

    .vet-hero h1 {
        font-size: 49px;
    }


    .vet-featured-image {
        height: 240px;
    }


    .vet-featured-content {
        padding: 27px 21px 32px;
    }


    .vet-card-image {
        height: 220px;
    }


    .vet-card h3 {
        font-size: 22px;
    }


    .vet-card-top {
        flex-direction: column;

        gap: 7px;
    }

}