/* ==========================================================================
   Page hero (blog home / archives / author / search)
   ========================================================================== */
.tul-hero {
	background: var(--tul-grad);
	color: #fff;
	padding: 56px 0 50px;
	position: relative;
	overflow: hidden;
}
.tul-hero:after {
	content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px;
	border-radius: 50%; background: rgba(255,255,255,.08);
}
.tul-hero .container { position: relative; z-index: 1; }
.tul-hero h1 { color: #fff; font-size: 40px; font-weight: 700; margin-bottom: 10px; }
.tul-hero p { color: rgba(255,255,255,.88); font-size: 17px; margin: 0; max-width: 720px; }
.tul-eyebrow {
	display: inline-block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
	color: rgba(255,255,255,.85); margin-bottom: 10px; font-weight: 600;
}
.tul-breadcrumbs { font-size: 13px; color: rgba(255,255,255,.8); margin-top: 14px; }
.tul-breadcrumbs a { color: #fff; }
.tul-breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.tul-breadcrumbs .sep { margin: 0 8px; opacity: .6; }
@media (max-width: 767.98px) { .tul-hero { padding: 38px 0 34px; } .tul-hero h1 { font-size: 28px; } }

.tul-section { padding: 56px 0 10px; }
.tul-section-title {
	font-size: 22px; font-weight: 600; margin-bottom: 26px; padding-bottom: 12px; position: relative;
	border-bottom: 1px solid var(--tul-line);
}
.tul-section-title:after { content: ""; position: absolute; left: 0; bottom: -1px; width: 60px; height: 3px; background: var(--tul-grad); }

/* ==========================================================================
   Featured hero post (page 1 of the blog home)
   ========================================================================== */
.tul-featured {
	display: grid; grid-template-columns: 1.15fr 1fr; background: #fff;
	border: 1px solid var(--tul-line); border-radius: var(--tul-radius); overflow: hidden;
	box-shadow: var(--tul-shadow); margin-bottom: 50px;
}
.tul-featured .thumb { display: block; aspect-ratio: 16 / 9; min-height: 0; background: var(--tul-grad-soft); position: relative; }
.tul-featured .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tul-featured .thumb .no-thumb { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--tul-grad); color: #fff; font-size: 48px; font-weight: 700; }
.tul-featured .body { padding: 36px 38px; display: flex; flex-direction: column; justify-content: center; }
.tul-featured h2 { font-size: 28px; font-weight: 700; line-height: 1.3; margin-bottom: 14px; }
.tul-featured h2 a { color: var(--tul-ink); }
.tul-featured h2 a:hover { color: var(--tul-magenta); }
.tul-featured .excerpt { color: var(--tul-muted); font-size: 15.5px; margin-bottom: 22px; }
.tul-badge-featured {
	display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
	background: var(--tul-grad); color: #fff; font-size: 11px; font-weight: 700;
	letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; margin-bottom: 14px;
}
@media (max-width: 991.98px) {
	.tul-featured { grid-template-columns: 1fr; }
	.tul-featured .thumb { aspect-ratio: 16 / 9; }
	.tul-featured .body { padding: 26px 24px; }
	.tul-featured h2 { font-size: 22px; }
}

/* ==========================================================================
   Post cards
   ========================================================================== */
.tul-card {
	background: #fff; border: 1px solid var(--tul-line); border-radius: var(--tul-radius);
	overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.tul-card:hover { transform: translateY(-4px); box-shadow: var(--tul-shadow); }
.tul-card .thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tul-grad-soft); }
.tul-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s; }
.tul-card:hover .thumb img { transform: scale(1.05); }
.tul-card .thumb .no-thumb {
	width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
	background: var(--tul-grad); color: rgba(255,255,255,.9); font-family: "Poppins", sans-serif; font-weight: 700; font-size: 34px;
}
.tul-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tul-card h3 { font-size: 18px; line-height: 1.45; font-weight: 600; margin: 0 0 10px; }
.tul-card h3 a { color: var(--tul-ink); }
.tul-card h3 a:hover { color: var(--tul-magenta); }
.tul-card .excerpt { font-size: 14.5px; color: var(--tul-muted); line-height: 1.65; margin-bottom: 16px; }
.tul-card .card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid #f0f0f3; }
.tul-card .card-author { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tul-text); }
.tul-card .card-author img { border-radius: 50%; width: 28px; height: 28px; }
.tul-card .card-author a { color: var(--tul-text); font-weight: 600; }
.tul-card .card-author a:hover { color: var(--tul-magenta); }
.tul-read { font-size: 13px; font-weight: 700; color: var(--tul-purple); text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.tul-read i { margin-left: 4px; transition: margin .3s; }
.tul-read:hover i { margin-left: 8px; }

.tul-cat {
	display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
	color: var(--tul-magenta); margin-bottom: 8px;
}
.tul-cat:hover { color: var(--tul-purple); }

.tul-meta { font-size: 13px; color: var(--tul-muted); display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; }
.tul-meta i { color: var(--tul-magenta); margin-right: 5px; }
.tul-meta a { color: var(--tul-muted); }
.tul-meta a:hover { color: var(--tul-magenta); }
.tul-hero .tul-meta, .tul-hero .tul-meta a { color: rgba(255,255,255,.9); }
.tul-hero .tul-meta i { color: #fff; }

.tul-grid > [class*="col-"] { margin-bottom: 30px; }

/* ==========================================================================
   Pagination
   ========================================================================== */
.tul-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px 0 10px; }
.tul-ajax-list[aria-busy="true"] { opacity: .55; pointer-events: none; transition: opacity .2s; }
.tul-pagination .page-numbers {
	min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--tul-line); color: var(--tul-text); font-weight: 600; font-size: 14px; background: #fff;
}
.tul-pagination a.page-numbers:hover { border-color: var(--tul-purple); color: var(--tul-purple); }
.tul-pagination .page-numbers.current { background: var(--tul-grad); color: #fff; border-color: transparent; }
.tul-pagination .page-numbers.dots { border: 0; }

/* ==========================================================================
   Sidebar (blog home / archives)
   ========================================================================== */
.tul-sidebar .widget { border: 1px solid var(--tul-line); border-radius: var(--tul-radius); padding: 22px; margin-bottom: 26px; background: #fff; }
.tul-sidebar .widget-title { font-size: 16px; font-weight: 600; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--tul-line); position: relative; }
.tul-sidebar .widget-title:after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 3px; background: var(--tul-grad); }
.tul-sidebar ul { list-style: none; margin: 0; padding: 0; }
.tul-sidebar ul li { padding: 8px 0; border-bottom: 1px dashed var(--tul-line); font-size: 14.5px; }
.tul-sidebar ul li:last-child { border-bottom: 0; padding-bottom: 0; }
.tul-sidebar ul li a { color: var(--tul-text); }
.tul-sidebar ul li a:hover { color: var(--tul-magenta); }
.tul-sidebar .count { float: right; color: var(--tul-muted); font-size: 13px; }

.mini-post { display: flex; gap: 12px; align-items: flex-start; }
.mini-post .mini-thumb { flex: 0 0 70px; width: 70px; height: 56px; overflow: hidden; border-radius: 4px; background: var(--tul-grad); }
.mini-post .mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-post a.t { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--tul-ink); }
.mini-post a.t:hover { color: var(--tul-magenta); }
.mini-post small { color: var(--tul-muted); font-size: 12px; }

.search-form { display: flex; }
.search-form .search-field { flex: 1; min-width: 0; border: 1px solid var(--tul-line); border-right: 0; padding: 10px 12px; font-size: 14px; outline: none; }
.search-form .search-field:focus { border-color: var(--tul-purple); }
.search-form .search-submit { border: 0; background: var(--tul-grad); color: #fff; padding: 0 16px; cursor: pointer; }

.widget-cta { background: var(--tul-grad) !important; border: 0 !important; color: #fff; text-align: center; }
.widget-cta h4 { color: #fff; font-size: 19px; }
.widget-cta p { color: rgba(255,255,255,.9); font-size: 14px; }
.widget-cta .cbtn-white { display: inline-block; background: #fff; color: var(--tul-purple); font-weight: 700; padding: 9px 24px; font-size: 14px; }
.widget-cta .cbtn-white:hover { background: var(--tul-ink); color: #fff; }

.tagcloud a { display: inline-block; font-size: 13px !important; border: 1px solid var(--tul-line); padding: 4px 12px; margin: 0 6px 8px 0; color: var(--tul-text); }
.tagcloud a:hover { background: var(--tul-purple); border-color: var(--tul-purple); color: #fff; }

.no-results { text-align: center; padding: 60px 20px; border: 1px dashed var(--tul-line); border-radius: var(--tul-radius); }
.no-results .search-form { max-width: 420px; margin: 20px auto 0; }
