/*
 Theme Name:   Insight Child
 Theme URI:    https://www.wpzoom.com/themes/insight
 Description: Child theme pro WPZOOM Insight
 Author:       Atwel
 Template:    insight
 Version:      1.0.0
 Text Domain:  wpzoom
*/

.inner-wrap, .site-main {
    max-width: 1400px !important;
}

.sidebar-banner {
    margin-bottom: 50px;
}

.content-area {
    float: left;
    width: 75%;
}

.archive .entry-title {
    font-size: 24px !important;
}

.site-sidebar {
    float: right;
    width: 23% !important;
}

@media screen and (max-width: 768px) {
    .site-sidebar {
        width: 100% !important;
    }
}

#sidebar .widget:has(form) {
    padding: 0 !important;
}

#sidebar .widget form {
    width: 100% !important;
}

.archive .recent-posts .post {
    margin-right: 2% !important;
}

.archive-grid-banner {
    width: 100%;
    margin: 20px 0;
    clear: both;
    text-align: center;
}

.archive-grid-banner img,
.archive-grid-banner a {
    display: inline-block;
}

/* ===============================
   PARTNERS – SIDEBAR BOX
   =============================== */

.widget_sidebar_box.sidebar-partners-category,
.widget_sidebar_box.sidebar-partners-global {
    background: #ffffff;
    padding: 16px;             /* p-4 */
    margin-bottom: 32px;       /* mb-8 */
}

/* Title */
.widget_sidebar_box .title {
    font-size: 16px;           /* text-base */
    font-weight: 800;          /* font-extrabold */
    letter-spacing: -0.01em;   /* tracking-tight */
    margin-bottom: 16px;       /* mb-4 */
    color: #111827;            /* text-gray-900 */
}


/* ===============================
   GRID (grid grid-cols-2 gap-4)
   =============================== */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px; /* gap-4 */
}


/* ===============================
   PARTNER CARD (Tailwind card)
   =============================== */

.partner-logo-wrapper {
    background: #ffffff;                 /* bg-white */
    overflow: hidden;                     /* overflow-hidden */
}

/* hover:shadow-md + hover:scale-105 */


/* ===============================
   LINK (block w-full h-full p-3)
   =============================== */

.partner-logo-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 12px; /* p-3 */
}


/* ===============================
   IMAGE (w-full h-auto object-contain)
   =============================== */

.partner-logo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* ===============================
   RESPONSIVE (optional)
   =============================== */

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

.site-sidebar .partners-grid .uw-banner-partner {
    border: none !important;
    box-shadow: unset !important;
}

.site-sidebar .partners-grid .uw-banner-partner a {
    padding: 0 !important;
}

.header-leaderboard {
    margin: 10px 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.single-banner.single-banner-top,
.single-banner.single-banner-bottom {
    text-align: center;
    display: flex;
    justify-content: center;
}

.single-banner.single-banner-top {
    margin-bottom: 20px;
}

.single-banner.single-banner-bottom {
    margin: 20px 0 40px 0;
}

.home .main-content-with-sidebar .post a img {
    object-fit: cover;
    width: 100%;
}