/*
 Theme Name:   Kadence - The Herb Master
 Theme URI:    https://theherbmaster.com
 Description:  Child theme de Kadence personalizado para The Herb Master
 Author:       The Herb Master Team
 Author URI:   https://theherbmaster.com
 Template:     kadence
 Version:      1.0.0
 Text Domain:  kadence-child-herbmaster
 Domain Path:  /languages
*/

@import url('../kadence/style.css');

/* Estilos personalizados para The Herb Master aquí */

.contento-section {
    margin-top: 1.5rem;
}

/* -------------------------------------------------------------------------
   Featured Herbs Grid
   Shortcode: [featured_herbs]
   ------------------------------------------------------------------------- */

.thm-featured-herbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    padding: 1.5rem 4rem;
}

@media (max-width: 1300px) {
    .thm-featured-herbs {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 800px) {
    .thm-featured-herbs {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 400px) {
    .thm-featured-herbs {
        grid-template-columns: repeat(2, 1fr);
    }
}

.thm-herb-card__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.thm-herb-card__image-wrap {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

.thm-herb-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.thm-herb-card__link:hover .thm-herb-card__image {
    transform: scale(1.07);
}

.thm-herb-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1rem 0 0;
    color: #1a1a1a;
}

.thm-herb-card__label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #3a9e5f;
    background-color: #f2fbf5;
    border: 1px solid #c3e6d0;
    border-radius: 20px;
    padding: 0.15rem 0.65rem;
    margin-top: 0.4rem;
}

/* -------------------------------------------------------------------------
   Directory
   Shortcode: [thm_directory]
   ------------------------------------------------------------------------- */

.thm-directory {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 1.5rem 0;
}

.thm-dir-card {
    background-color: #fff;
    padding: 2rem 3rem 2.5rem;
}

.thm-dir-card__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
}

.thm-dir-card__circle {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.thm-dir-card__emoji {
    font-size: 3.25rem;
    line-height: 1;
}

.thm-dir-card__title {
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
    color: #1a1a1a;
    text-align: center;
}

.thm-dir-card__services {
    display: flex;
    flex-direction: column;
}

.thm-dir-service {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.thm-dir-service--first {
    border-top: 1px solid #e5e5e5;
    padding-top: 1rem;
}

.thm-dir-service__icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
}

.thm-dir-service:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.thm-dir-service__name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    margin-bottom: 0.2rem;
}

.thm-dir-service__name:hover {
    color: #3a9e5f;
}

.thm-dir-service__desc {
    font-size: 0.9rem;
    color: #555;
    margin: 0 0 0.3rem;
    line-height: 1.5;
}

.thm-dir-service__rating {
    font-size: 1.1rem;
    color: #f0a500;
    margin: 0;
    line-height: 1;
}

@media (max-width: 768px) {
    .thm-directory {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------
   Collection Stats
   Shortcode: [thm_collection_stats]
   ------------------------------------------------------------------------- */

.thm-collection-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.thm-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    padding: 2.5rem 4rem;
    min-width: 180px;
}

.thm-stat-box:nth-child(1) {
    background-color: #d4f0e0;
}

.thm-stat-box:nth-child(2) {
    background-color: #fde8d4;
}

.thm-stat-box:nth-child(3) {
    background-color: #e8e0f7;
}

.thm-stat-box__number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: #1a1a1a;
}

.thm-stat-box__label {
    font-size: 1rem;
    color: #555;
    margin-top: 0.75rem;
    font-weight: 500;
}

/* -------------------------------------------------------------------------
   Stickers
   ------------------------------------------------------------------------- */

.sticker {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
    border-left: 4px solid currentColor;
}

.sticker__icon {
    font-size: 1.25rem;
    line-height: 1.5;
    flex-shrink: 0;
}

.sticker__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

/* Warning sticker */
.warning-sticker {
    border-color: #f0a500;
    background-color: #fffbf0;
}

.warning-sticker .sticker__icon {
    color: #f0a500;
}

/* Tip sticker */
.tip-sticker {
    border-color: #3a9e5f;
    background-color: #f2fbf5;
}

.tip-sticker .sticker__icon {
    color: #3a9e5f;
}

/* Info sticker */
.info-sticker {
    border-color: #3a7fd5;
    background-color: #f0f6ff;
}

.info-sticker .sticker__icon {
    color: #3a7fd5;
}

/* -------------------------------------------------------------------------
   Section lists — pill labels
   ------------------------------------------------------------------------- */
.contento-properties ul,
.contento-composition ul,
.contento-safety ul {
    list-style: none;
    padding-left: 0;
}

.contento-properties ul li,
.contento-composition ul li,
.contento-safety ul li {
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.4rem;
    border-radius: 6px;
    background-color: #fff;
    line-height: 1.5;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .contento-properties ul li,
    .contento-composition ul li,
    .contento-safety ul li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}

.contento-properties ul li:hover { background-color: #f2fbf5; }
.contento-composition ul li:hover { background-color: #f6f2fb; }
.contento-safety ul li:hover { background-color: #fffbf0; }

/* Pill label (strong) */
.contento-properties ul li strong,
.contento-composition ul li strong,
.contento-safety ul li strong {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    padding: 0.1rem 0.45rem;
    vertical-align: middle;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Properties — green */
.contento-properties ul li strong {
    background-color: #f2fbf5;
    color: #3a9e5f;
    border: 1px solid #c3e6d0;
}

/* Composition — purple */
.contento-composition ul li strong {
    background-color: #f6f2fb;
    color: #7c5ab8;
    border: 1px solid #d4c3e8;
}

/* Safety — amber */
.contento-safety ul li strong {
    background-color: #fffbf0;
    color: #c47d00;
    border: 1px solid #f5d88a;
}

/* Calming — blue */
.contento-calming ul {
    list-style: none;
    padding-left: 0;
}

.contento-calming ul li {
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.4rem;
    border-radius: 6px;
    background-color: #fff;
    line-height: 1.5;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .contento-calming ul li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}

.contento-calming ul li:hover { background-color: #f0f6ff; }

.contento-calming ul li strong {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    padding: 0.1rem 0.45rem;
    vertical-align: middle;
    flex-shrink: 0;
    white-space: nowrap;
    background-color: #f0f6ff;
    color: #3a7fd5;
    border: 1px solid #c3d9f5;
}

.contento-calming .remedy-arrow {
    color: #3a7fd5;
}

/* Arrow styling */
.remedy-arrow {
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.contento-properties .remedy-arrow {
    color: #3a9e5f;
}

.contento-composition .remedy-arrow {
    color: #7c5ab8;
}

.contento-safety .remedy-arrow {
    color: #c47d00;
}

/* Description text */
.remedy-description {
    flex: 1;
}

/* Remedy Post Type - Avatar and Title */
.remedy-title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.remedy-avatar {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
    border: 3px solid #4caf50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remedy-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remedy-avatar-placeholder {
    width: 80%;
    height: 80%;
}

.remedy-title-content {
    flex: 1;
}

.remedy-title-wrapper .entry-title {
    margin: 0 0 8px 0;
}

/* Remedy Tagline */
.remedy-tagline {
    margin: 0;
    font-size: 14px;
    color: #888;
    font-weight: 400;
    line-height: 1.5;
}

/* Remedy Separator */
.remedy-separator {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 30px 0;
    padding: 0;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .remedy-title-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .remedy-avatar {
        width: 80px;
        height: 80px;
    }

    .remedy-title-content {
        width: 100%;
    }
} 

.factsTable {
    max-width: 70rem;
    margin: 0 0 1.5rem 0;
    border: 0.18rem solid lightgrey;
    padding: 1rem;
    border-radius: 0.75rem;
    width: 100%;
    background: white;
    overflow: hidden;
}

.factsTable tr {
    display: grid;
    grid-template-columns: minmax(auto, 16rem) 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.factsTable tr:last-child {
    margin-bottom: 0;
}

.factsTable th,
.factsTable td {
    padding: 1rem;
    border: none;
    margin: 0;
    border-radius: 0.4rem;
}

.factsTable th {
    background: white;
    font-weight: 700;
    font-size: 1.1rem;
    max-width: 16rem;
    word-break: break-word;
    text-align: left;
}

.factsTable td {
    background: #E6F0E6;
    display: flex;
    align-items: flex-start;
}

.factsTable tr:nth-child(2n) td {
    background: #E8E3F3;
}

.factsTable td ul,
.factsTable td ol {
    margin: 0;
    padding-left: 1.5rem;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .factsTable {
        padding: 0.75rem;
    }

    .factsTable tr {
        grid-template-columns: 1fr;
        margin-bottom: 0;
        gap: 0;
    }
    
    .factsTable th {
        padding-bottom: 0.25rem;
        border-radius: 0.4rem 0.4rem 0 0;
    }
    
    .factsTable td {
        padding-top: 0.25rem;
        border-radius: 0 0 0.4rem 0.4rem;
    }
    
    .factsTable td {
        background: #E6F0E6;
    }
    
    .factsTable tr:nth-child(2n) td {
        background: #E8E3F3;
    }
}




/* -------------------------------------------------------------------------
   Learn More Link — Home
   ------------------------------------------------------------------------- */
.learn-more-home a {
    color: #000;
    font-size: large;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.learn-more-home a::after {
    content: '\f061'; /* fa-arrow-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9rem;
}

.learn-more-home a:hover {
    color: var(--global-palette1, #3182CE);
}

/* -------------------------------------------------------------------------
   Directory — responsive
   ------------------------------------------------------------------------- */

.thm-directory {
    max-width: 1300px;
    margin: 0 auto;
}

@media (max-width: 1100px) {
    .thm-directory {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .thm-dir-card {
        padding: 2rem 2rem 2.5rem;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
        border-top: 6px solid #b5eecb !important;
    }

    .thm-dir-card:nth-child(2) {
        border-top-color: #fde8d4 !important;
    }

    .thm-dir-card:nth-child(3) {
        border-top-color: #e8e0f7 !important;
    }
}

/* -------------------------------------------------------------------------
   Collection Stats — responsive
   ------------------------------------------------------------------------- */

@media (max-width: 640px) {
    .thm-collection-stats {
        gap: 0.75rem;
        padding: 1.5rem 0.5rem;
    }

    .thm-stat-box {
        padding: 1.5rem 1rem;
        min-width: 0;
        width: calc(33% - 0.5rem);
        border-radius: 0.5rem;
    }

    .thm-stat-box__number {
        font-size: 2.5rem;
    }

    .thm-stat-box__label {
        font-size: 0.8rem;
        margin-top: 0.4rem;
        text-align: center;
    }
}

/* -------------------------------------------------------------------------
   Featured Herbs — responsive
   ------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .thm-featured-herbs {
        padding: 1.5rem 2rem;
    }
}

@media (max-width: 640px) {
    .thm-featured-herbs {
        gap: 1.5rem 1rem;
        padding: 1.5rem 1rem;
    }

    .thm-herb-card__image-wrap {
        width: 110px;
        height: 110px;
    }

    .thm-herb-card__title {
        font-size: 0.9rem;
    }

    .thm-herb-card__label {
        font-size: 0.72rem;
        padding: 0.1rem 0.4rem;
    }
}

/* -------------------------------------------------------------------------
   Directory Sidebar
   Shortcode: [thm_directory_sidebar]
   ------------------------------------------------------------------------- */

.thm-dir-sidebar__main-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e8e0f7;
}

.thm-dir-sidebar {
    font-size: 0.9rem;
}

.thm-dir-sidebar__group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.thm-dir-sidebar__group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.thm-dir-sidebar__heading {
    font-size: 1rem;
    font-weight: 700;
    padding-left: 0.6rem;
    margin: 0 0 0.75rem;
    color: #1a1a1a;
}

.thm-dir-sidebar__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #efefef;
}

.thm-dir-sidebar__item:last-child {
    border-bottom: none;
}

.thm-dir-sidebar__icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

.thm-dir-sidebar__info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 0.4rem;
}

.thm-dir-sidebar__name {
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.88rem;
}

.thm-dir-sidebar__name:hover {
    color: #3a9e5f;
}

.thm-dir-sidebar__rating {
    font-size: 0.8rem;
    color: #f0a500;
}

.thm-dir-sidebar__desc {
    width: 100%;
    font-size: 0.82rem;
    color: #666;
    margin: 0.1rem 0 0;
    line-height: 1.4;
}

/* -------------------------------------------------------------------------
   Featured Herbs Sidebar
   Shortcode: [thm_featured_herbs_sidebar]
   ------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------
   Related Remedies
   Shortcode: [related_remedy]
   ------------------------------------------------------------------------- */

.contento-section:has(.thm-related-remedies) {
    border: 1px solid #e8e0f7;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    margin: 2rem 0;
}

.thm-related-remedies-heading {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.5rem;
}

.thm-related-remedies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1.5rem 0;
}

.thm-related-remedies .thm-herb-card__link {
    padding: 1.25rem 0.75rem;
    border-radius: 10px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.thm-related-remedies .thm-herb-card__link:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.thm-related-remedies .thm-herb-card__image-wrap {
    width: 130px;
    height: 130px;
}

@media (max-width: 640px) {
    .thm-related-remedies {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 400px) {
    .thm-related-remedies {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------------------
   Comparison Table — Blog posts
   Usage: <table class="contento-compare">
   Group headers: <tr class="group-sep"> / <tr class="group-sep group-sep--blue">
   Column color modifiers on <th>: class="col-green" / class="col-blue"
   ------------------------------------------------------------------------- */

.contento-compare {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
    margin: 1rem 0 1.5rem;
}

.contento-compare thead tr {
    border-bottom: 2px solid #e0e0e0;
}

.contento-compare thead th {
    text-align: left;
    padding: .75rem 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.contento-compare thead th.col-green { color: #3a9e5f; }
.contento-compare thead th.col-blue  { color: #3a7fd5; }

.contento-compare tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.contento-compare tbody tr:nth-child(even) {
    background: #fafafa;
}

.contento-compare td {
    padding: .9rem 1rem;
    color: #555;
    line-height: 1.5;
    vertical-align: top;
}

.contento-compare td:first-child {
    font-weight: 600;
    color: #1a1a1a;
    width: 28%;
}

.contento-compare td:first-child a {
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
}

.contento-compare td:first-child a:hover {
    color: #3a9e5f;
}

/* Group separator rows — green (default) */
.contento-compare .group-sep td {
    padding: .5rem 1rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom: none;
    background: #f2fbf5;
    color: #3a9e5f;
}

/* Group separator rows — blue variant */
.contento-compare .group-sep.group-sep--blue td {
    background: #f0f6ff;
    color: #3a7fd5;
}

/* Group separator rows — purple variant */
.contento-compare .group-sep.group-sep--purple td {
    background: #f6f2fb;
    color: #7c5ab8;
}

/* Group separator rows — amber variant */
.contento-compare .group-sep.group-sep--amber td {
    background: #fffbf0;
    color: #c47d00;
}

/* override even-row tint on group separators */
.contento-compare tbody .group-sep:nth-child(even) {
    background: none;
}

@media (max-width: 600px) {
    .contento-compare { font-size: .8rem; }
    .contento-compare td,
    .contento-compare thead th { padding: .6rem .65rem; }
    .contento-compare td:first-child { width: auto; }
}

/* -------------------------------------------------------------------------
   Featured Herbs Sidebar
   Shortcode: [thm_featured_herbs_sidebar]
   ------------------------------------------------------------------------- */

.thm-herb-sidebar__heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3a9e5f;
}

.thm-herb-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.thm-herb-sidebar__item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 10px;
    background-color: #f9fafb;
    border: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.thm-herb-sidebar__item:hover {
    background-color: #f2fbf5;
}

.thm-herb-sidebar__top {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.thm-herb-sidebar__image-link {
    flex-shrink: 0;
}

.thm-herb-sidebar__image {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.thm-herb-sidebar__info {
    flex: 1;
}

.thm-herb-sidebar__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    margin-bottom: 0.2rem;
}

.thm-herb-sidebar__name:hover {
    color: #3a9e5f;
}

.thm-herb-sidebar__tagline {
    font-size: 0.78rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.thm-herb-sidebar__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
}

.thm-herb-sidebar__pill {
    font-size: 0.7rem;
    font-weight: 600;
    color: #3a9e5f;
    background-color: #fff;
    border: 1px solid #c3e6d0;
    border-radius: 20px;
    padding: 0.15rem 0.55rem;
}

/* -------------------------------------------------------------------------
   Guides Posts Grid (Kadence Posts block, "Explore the Guides" section)
   Stock breakpoints (grid-sm-col-2 / grid-lg-col-4) leave a cramped
   2-column layout on phones, and varying excerpt lengths produce
   ragged card heights that get worse the narrower the grid gets.
   ------------------------------------------------------------------------- */

.kb-posts-id-6_a18ecb-99.grid-cols {
    gap: 2rem;
}

.kb-posts-id-6_a18ecb-99 .kb-post-list-item {
    min-width: 0;
}

.kb-posts-id-6_a18ecb-99 .post-thumbnail-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kb-posts-id-6_a18ecb-99 .entry-title {
    font-size: 1.05rem;
    line-height: 1.35;
}

.kb-posts-id-6_a18ecb-99 .entry-summary p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

@media (min-width: 601px) and (max-width: 1199px) {
    .kb-posts-id-6_a18ecb-99.grid-cols {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .kb-posts-id-6_a18ecb-99.grid-cols {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .kb-posts-id-6_a18ecb-99.grid-cols {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }

    .kb-posts-id-6_a18ecb-99 .entry-summary p {
        -webkit-line-clamp: 2;
    }
}

