
/* --------------------------------------------------
   TAB BAR (layout like card headers)
-------------------------------------------------- */
/* --------------------------------------------------
   TAB BAR (horizontal layout)
-------------------------------------------------- */
.wp-block-themeisle-blocks-tabs__header {
    display: flex;
    gap: 8px;
    margin-bottom: -1px; /* overlap content border */
    flex-wrap: wrap;
}

/* --------------------------------------------------
   TAB BUTTON (styled like card header)
-------------------------------------------------- */
.wp-block-themeisle-blocks-tabs__header_item {
    padding: 12px 16px;
    border: 5px solid #ccc;
    border-bottom: none;
    background: linear-gradient(
        360deg,
        rgba(240,240,240,0.5),
        rgba(150,150,150,0.50)
    );
	
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    top: 1px;
}

/* Remove ThemeIsle's "hidden" behaviour visually */
.wp-block-themeisle-blocks-tabs__header_item.hidden {
    display: inline-block;
    opacity: 0.6;
}

/* --------------------------------------------------
   ACTIVE TAB BUTTON
-------------------------------------------------- */
.wp-block-themeisle-blocks-tabs__header_item.active {
    background: #fff;
    font-weight: 700;
    opacity: 1;
}

/* --------------------------------------------------
   TAB CONTENT (styled like card body)
-------------------------------------------------- */
.wp-block-themeisle-blocks-tabs-item__content {
    border: 1px solid #ccc;
    padding: 16px;
    border-radius: 0 6px 6px 6px;
    background: #fff;
    margin-top: 0;
}

/* Optional: tidy up first paragraph spacing */
.wp-block-themeisle-blocks-tabs-item__content p:first-child {
    margin-top: 0;
}

/* Lift tab headings up slightly */
.wp-block-themeisle-blocks-tabs__header_item {
    position: relative;
    top: -2px; /* adjust to taste: -2px or -4px */
}

/* Active tab sits perfectly flush with the content card */
.wp-block-themeisle-blocks-tabs__header_item.active {
    top: -1px; /* active tab sits slightly higher */
}

/* Inner tab text alignment fix */
.wp-block-themeisle-blocks-tabs__header_item > div[role="tab"] {
    line-height: 1.2;
    padding-top: 2px; /* nudges text upward */
}

