/* Florida Trust – News & Insights + individual article
   Header/footer come from the theme; everything here is scoped to .ft-news. */

.ft-news {
	--ft-navy: #2c3b59;
	--ft-teal: #1f6a74;
	--ft-teal-dark: #004751;
	--ft-gold: #c6b16a;
	--ft-beige: #eee8d2;
	--ft-cream: #fcfbf8;
	--ft-text: #000;
	--ft-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	/* Swap for the exact display face from the brand (headings). */
	--ft-width: 1136px;

	font-family: var(--ft-body);
	color: var(--ft-text);
	background: #fff;
}
.ft-news *, .ft-news *::before, .ft-news *::after { box-sizing: border-box; }

.ft-container { width: min(var(--ft-width), 100% - 48px); margin-inline: auto; }

.ft-news .screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- shared bits ---------- */
.ft-eyebrow {
	margin: 0 0 14px; font-size: 16px; font-weight: 600; letter-spacing: .02em;
	text-transform: uppercase; color: var(--ft-gold);
}
.ft-eyebrow--light { color: #f0e3a8; font-size: 17px; }

.ft-btn {
	display: inline-block; padding: 15px 28px; border-radius: 999px;
	font: 600 17px/1 var(--ft-body); text-decoration: none; color: #fff;
	transition: background .2s;
}
.ft-btn--teal { background: var(--ft-teal); }
.ft-btn--teal:hover, .ft-btn--teal:focus-visible { background: var(--ft-teal-dark); color: #fff; }

/* ---------- hero ---------- */
.ft-hero {
	position: relative; display: flex; align-items: center; min-height: 576px;
	padding: 72px 0; color: #fff; background: var(--ft-navy) var(--ft-hero-img) center / cover no-repeat;
}
.ft-hero::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(44,59,90,.78) 0%, rgba(44,59,90,.55) 45%, rgba(44,59,90,0) 75%);
}
.ft-hero .ft-container { position: relative; }
.ft-hero__title {
	margin: 0 0 22px; font: 500 clamp(48px, 6vw, 82px)/1.05 var(--ft-display); color: #fff;
}
.ft-hero__intro { max-width: 640px; margin: 0 0 44px; font-size: 19px; line-height: 1.65; }

/* ---------- search / archives bar ---------- */
.ft-filterbar { background: var(--ft-cream); border-bottom: 1px solid var(--ft-navy); padding: 32px 0; }
.ft-filterbar .ft-container { display: flex; flex-wrap: wrap; gap: 18px; }
.ft-search { position: relative; flex: 0 1 462px; width: 100%; }
.ft-search__input {
	width: 100%; height: 48px; padding: 0 56px 0 18px !important; border: 1px solid var(--ft-gold); border-radius: 0;
	background: #fff; font: 400 16px var(--ft-body); color: var(--ft-navy); -webkit-appearance: none; appearance: none;
	box-sizing: border-box !important;
}
.ft-search__input:focus {
	outline: none;
	box-shadow: none;
}
.ft-search__input::placeholder { color: #000000; opacity: 1; }
.ft-search__submit {
	position: absolute; top: 0; right: 0; width: 52px; height: 48px; padding: 0; border: 0; background: none;
	color: var(--ft-gold); cursor: pointer; display: grid; place-items: center;
}
.ft-select { position: relative; flex: 0 1 250px; width: 100%; }
.ft-select select {
	width: 100%; height: 48px; padding: 0 48px 0 18px; border: 1px solid var(--ft-gold); border-radius: 0;
	background: #fff; font: 400 16px var(--ft-body); color: var(--ft-navy); -webkit-appearance: none; appearance: none; cursor: pointer;
}
.ft-select svg { position: absolute; right: 14px; top: 12px; color: var(--ft-gold); pointer-events: none; }

/* ---------- category pills ---------- */
.ft-listing { padding: 64px 0 40px; }
.ft-pills { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 64px; }
.ft-pill {
	display: inline-flex; align-items: center; height: 48px; padding: 0 26px; border: 1px solid var(--ft-gold);
	border-radius: 999px; background: #fff; color: var(--ft-teal);font-size: 16px; font-weight: 600;
	text-decoration: none; transition: background .2s, color .2s;
}
.ft-pill:hover, .ft-pill:focus-visible { background: var(--ft-teal); color: #fff; border-color: var(--ft-teal);}
.ft-pill.is-active { background: var(--ft-teal); border-color: var(--ft-teal); color: #fff; }

/* ---------- card grid ---------- */
.ft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px 79px; }
.ft-card { position: relative; margin: 0px !important;}
.ft-card__media { display: block; aspect-ratio: 652 / 448; overflow: hidden; background: var(--ft-navy); }
.ft-card__media img, .ft-card__placeholder { display: block; width: 100%; height: 100%; object-fit: cover; }

.ft-card__action:hover{
	color: #fff;
}

.ft-card__hover {
	position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 652 / 448;
	display: flex; align-items: center; justify-content: center; gap: 40px;
	background: #2c3b59; opacity: 0; transition: opacity .2s;
	background-image: url(https://floridatrust.com/wp-content/themes/sanibel_trust/images/blog-right-ptn.png);
	background-repeat: no-repeat;
	background-position: right top;
	background-size: auto 100%;
}
.ft-card:hover .ft-card__hover, .ft-card:focus-within .ft-card__hover { opacity: 1; }
.ft-card__action {
	display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0; border: 0; background: none;
	color: #fff; text-decoration: none; cursor: pointer;
	font-size: 16px;
	font-weight: 600;
}
.ft-card__circle {
	display: grid; place-items: center; width: 80px; height: 80px; border: 2px solid var(--ft-gold);
	border-radius: 50%; color: var(--ft-gold); transition: background .2s;
}

.ft-card__circle img{ max-width: 28px; width: 100%;}

.ft-card__date {
	display: block; margin: 22px 0 8px; font-size: 14px; letter-spacing: .02em;
	text-transform: uppercase; color: #c6b16a; font-weight: 600;
}
.ft-card__title { margin: 0; font-size: 20px; font-weight: 700; font-family: "Montserrat", Sans-serif; line-height: 32px;text-transform: inherit;}
.ft-card__title a { color: var(--ft-teal-dark); text-decoration: none; }


.ft-empty { font-size: 18px; }

.page-numbers svg {
	width: 24px;
	height: 24px;
}

/* ---------- pagination ---------- */
.ft-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px; max-width: 470px;
  margin: 0 auto; margin-top: 80px; }
.ft-pagination .page-numbers {
	display: inline-flex; align-items: center; gap: 8px; 
	font-size: 16px; font-weight: 600;
	color: var(--ft-gold); text-decoration: none;
}
.ft-pagination .page-numbers.current { color: var(--ft-navy); font-weight: 700; }
.ft-pagination a.page-numbers:hover { color: var(--ft-teal-dark); }
.ft-pagination .prev { margin-right: 18px; }
.ft-pagination .next { margin-left: 18px; }


.nav-bar-nv{justify-content: center; display: flex; gap: 24px;}

/* ---------- article: breadcrumb band ---------- */
.ft-crumbs { background: var(--ft-cream); border-top: 1px solid var(--ft-navy); border-bottom: 1px solid var(--ft-navy); }
.ft-crumbs__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 96px; }
.ft-crumbs__trail { font: 600 16px var(--ft-body); color: var(--ft-gold); }
.ft-crumbs__trail a { color: var(--ft-gold); text-decoration: none; }
.ft-crumbs__trail a.is-current { color: var(--ft-teal-dark); }
.ft-crumbs__sep { margin: 0 6px; }
.ft-share {
	display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none;
	font: 500 16px var(--ft-body); color: var(--ft-gold); cursor: pointer;
}
.ft-share:hover { color: var(--ft-teal-dark); }

/* ---------- article header ---------- */
.ft-article__header { padding-top: 80px; }
.ft-article__meta {
	max-width: 790px; margin: 0 0 15px; font: 600 16px/1.35 var(--ft-body); letter-spacing: .01em; text-transform: uppercase; color: var(--ft-gold);
}
.ft-article__title {
	margin: 0; 
	font-size: 82px;
	line-height: 84px;
	font-family: "meno-banner", Sans-serif;
	color: #2c3b59;
}
.ft-article__authors { margin: 8px 0 0; font: 600 16px/1.5 var(--ft-body); color: #000; }
.ft-article__image { margin: 56px 0 0; }
.ft-article__image img { display: block; width: 100%; height: auto; }

/* ---------- article body (WYSIWYG output) ---------- */
.ft-article__content { padding: 64px 0 40px; font-size: 18px; line-height: 1.75; }
.ft-article__content > *:first-child { margin-top: 0; }
.ft-article__content p { margin: 0 0 1.75em; color: #000;}

.ft-article__content p:has(strong) {margin-bottom: 0px; color: #004751;}

.ft-article__content h2, .ft-article__content h3 {
	margin: 0 0 .15em; font: 600 22px/1.3 var(--ft-body); color: var(--ft-teal-dark);
}
.ft-article__content h3 { font-size: 20px; }
.ft-article__content a { color: #aa8f35; text-decoration: none; }
.ft-article__content a:hover, .ft-article__content a:focus-visible { color: var(--ft-teal-dark); text-decoration: underline; }
.ft-article__content ul, .ft-article__content ol { margin: 0 0 1.75em; padding-left: 1.4em; }
.ft-article__content img { max-width: 100%; height: auto; }

/* ---------- more news ---------- */
.ft-more { padding: 88px 0 104px; background: var(--ft-cream); border-top: 1px solid var(--ft-navy); border-bottom: 1px solid var(--ft-navy); }
.ft-more__title { 
	line-height: 88px;
    font-size: 82px;
    color: #2c3b59;
    font-weight: 700;
    margin-bottom: 38px;
    font-family: "meno-banner", Sans-serif;
    letter-spacing: -1.1px;
}


.page-id-7113 .inner-hero-img::before {
    content: "";
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0) 100%);
}

.page-id-7113 .inner-page-hero-info {max-width: 722px;}

body.single.wp-singular.postid-6613 .site-header-main {
	box-shadow: none;
}


/* ---------- responsive ---------- */
@media (max-width: 1024px) {
	.ft-grid { grid-template-columns: repeat(2, 1fr); gap: 56px 40px; }
}

@media (max-width: 640px) {
	.ft-hero { min-height: 0; padding: 56px 0; }
	.ft-hero::before { background: rgba(44,59,90,.72); }
	.ft-hero__intro { font-size: 17px; }
	.ft-grid { grid-template-columns: 1fr; }
	.ft-pills { gap: 10px; margin-bottom: 30px; }
	.ft-pill { height: 44px; padding: 0 18px; font-size: 14px; }
	.ft-listing { padding: 40px 0 64px; }
	.ft-crumbs__inner { min-height: 72px; }
	.ft-article__header { padding-top: 48px; }
	.ft-article__content { padding: 40px 0 72px; font-size: 16.5px; }
	.ft-more { padding: 50px 0 64px; }
	.ft-pagination { gap: 14px; }
	.ft-select{flex: 1;}
	.page-id-7113 .inner-hero-img img {object-position: 80%;}
	.ft-search__input{height: 45px;}
	.ft-search__submit{  height: 45px;}
	.ft-select select{ height: 45px;}
}
@media (hover: none) {
	/* Touch devices: no hover overlay; card is tappable. */
	.ft-card__hover { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ft-news * { transition: none !important; }
}
