/*
Theme Name:     Haven Marketing
Theme URI:      n/a
Template:       kadence
Author:         Spencer Taylor
Author URI:     n/a
Description:    Haven Marketing child theme — Kadence-only rebuild (Sep 2026).
Version:        2.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* ==========================================================================
   Only what theme options and block settings cannot express lives here.
   ========================================================================== */

/* --- Header: Kadence Pro mega menu (Services) ------------------------- */
/* Group headings (Strategy / Creative / Digital / Advertising) read as labels. */
.kadence-menu-mega-enabled > .sub-menu > li.menu-item > a:nth-child(-n + 1) {
	color: #191919 !important;
	font-weight: 700;
}
.header-navigation .header-menu-container .kadence-menu-mega-enabled > .sub-menu > li.menu-item > a,
.header-navigation .header-menu-container .kadence-menu-mega-enabled li.menu-item {
	border-bottom: 1px solid transparent !important;
}
/* Contact lives in the menu for the mobile drawer only; desktop uses the header button. */
@media (min-width: 1280px) {
	.header-navigation li.menu-item.hide-menu-item { display: none; }
}
.main-navigation .primary-menu-container > ul li.menu-item > a { text-transform: none; }

/* --- Footer (builder + two block widgets) --------------------------- */
/* Kadence icon-list grids top out at 4 columns; the footer rows are inline lists. */
/* Kadence's own rule uses three :not() decoys (0,5,1) — out-specify it, no !important. */
.site-footer .wp-block-kadence-iconlist.haven-footer-locations ul.kt-svg-icon-list:not(.a):not(.b):not(.c),
.site-footer .wp-block-kadence-iconlist.haven-footer-links ul.kt-svg-icon-list:not(.a):not(.b):not(.c) {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 32px;
}
.site-footer .wp-block-kadence-iconlist.haven-footer-links ul.kt-svg-icon-list:not(.a):not(.b):not(.c) { gap: 10px 26px; }
/* Vertical divider between the two top-row columns (live design). */
@media (min-width: 1025px) {
	.site-top-footer-inner-wrap .site-footer-section:nth-child(2) {
		border-left: 1px solid rgba(255, 255, 255, 0.35);
		padding-left: 60px;
	}
}
.site-footer .footer-social-wrap .social-button { border: 0; background: transparent; }

/* --- Homepage CTA "Contact" corner ribbon (decorative; matches live) --- */
.haven-cta-band { overflow: hidden; position: relative; }
.haven-cta-ribbon > .kt-inside-inner-col { position: relative; overflow: hidden; }
.haven-cta-ribbon > .kt-inside-inner-col::after {
	content: "CONTACT";
	position: absolute;
	top: 22px;
	right: -34px;
	transform: rotate(45deg);
	background: var(--global-palette2);
	color: var(--global-palette3);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 4px 40px;
	pointer-events: none;
}

/* --- Blog archive cards ------------------------------------------------ */
a.post-more-link {
	font-weight: bold;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 14px;
	color: var(--global-palette1);
}
.entry.loop-entry {
	border-radius: 20px;
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, .15);
	border: 0 solid #69727d;
}
.wp-site-blocks .post-thumbnail img,
.loop-entry .post-thumbnail img { border-radius: 20px 20px 0 0; }
.entry.single-entry { box-shadow: none; }

/* In-list links inherit the list size (blog references). */
li.has-small-font-size a { font-size: inherit; }
