/* APF plugin custom styles matching provided design */
:root {
    --apf-teal: #15a49a;
    --apf-muted: #8a8a8a
}

.container {
    max-width: 1200px
}

.has-search {
    position: relative
}

.has-search .form-control {
	padding-right: 3rem;
	background: #f3f3f3;
	border-radius: 45px;
	background-color: #fff;
	border: 1px solid #999;
	font-size: 24px;
	line-height: 36px;
	color: #999999;
	font-weight: 500;
	text-transform: uppercase;
	height: 70px;
}
.has-search .form-control-feedback {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--apf-muted);
	font-size: 30px;
}

.apf-sidebar {
    background: #fff;
    padding: 1.25rem;
    border-radius: 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08)
}

.apf-sidebar-title {
	margin: 0 0 0.75rem;
	font-weight: 800;
	font-size: 48px;
	line-height: 1.5;
	text-transform: uppercase;
	color: #000000;
	font-family: "Gotham Ultra";
}

.apf-filters .form-check {
	margin-bottom: 0.6rem;
	font-size: 20px;
	line-height: 36px;
	text-transform: uppercase;
	color: #000000;
}
.apf-filters .form-check-input {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	border: 2px solid #ddd;
}
#clear-filters {
	border-radius: 24px;
	background-color: #ffffff;
	border: 1px solid #999999;
	font-size: 24px;
	line-height: 29px;
	color: #999999;
	font-weight: 500;
	padding: 10px 40px;
}
.apf-pagination {
	background: #fff;
	padding: 20px 30px;
	border-radius: 50px;
	border: 1px solid #999;
}

.apf-filters .form-check-label {
    margin-left: 0.5rem;
    font-weight: 600;
    color: #333
}

.apf-clear {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 999px;
    padding: 0.6rem 1.2rem;
    color: #999
}

#posts-wrapper .post-outer-view {
    width: 100%
}

.apf-post-card {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    background: #fff;
    padding: 1rem;
    border-radius: 18px;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.04);
    overflow: hidden
}

.apf-post-image {
    flex: 0 0 38%;
    max-width: 38%
}

.apf-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px
}

.apf-post-content {
    flex: 1;
    padding: 0.6rem 0
}

.apf-post-title {
	margin: 0 0 0.5rem;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 24px;
	line-height: 30px;
	color: #000000;
	font-family: "Gotham Ultra";
}

.apf-post-meta {
    font-size: 0.9rem;
    color: var(--apf-muted);
    margin-bottom: 0.5rem
}

.apf-post-meta .apf-by {
    display: block;
    margin-top: 0.35rem;
    color: #333;
    font-weight: 600
}

.apf-excerpt {
    color: #555;
    margin-bottom: 0.8rem
}

.apf-readmore {
    display: inline-block;
    background: var(--apf-teal);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700
}

.apf-pagination {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center
}
.apf-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid #199399;
	color: #000 !important;
	text-decoration: none;
}
.apf-page.active > span {
	color: #fff;
}
.apf-page span {
    font-weight: 700;
    font-size: 24px;
    line-height: 14px;
    text-transform: uppercase;
    color: #000;
    font-family: "Gotham Ultra";
}

.apf-page.active {
    background: var(--apf-teal);
    color: #fff;
    border-color: var(--apf-teal)
}

.apf-pagination-wrap {
    display: flex;
    justify-content: center
}

.apf-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #eee;
    color: #333;
    text-decoration: none;
    font-weight: 700
}

.apf-nav img {
    width: 100%;
    height: 100%;
    display: block
}

.apf-nav.disabled {
    opacity: 0.35;
    pointer-events: none
}

#fullscreen-loader {
	position: fixed;
	z-index: 9999;
	background: rgba(255,255,255,.9);
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

.apf-readmore {
    float: right;
    margin-top: 15px;
    padding: 10px 30px;
}

/* Responsive */
@media (max-width:767px) {
    .apf-post-card {
        flex-direction: column
    }

    .apf-post-image {
        max-width: 100%;
        flex-basis: auto
    }

    .apf-post-image img {
        border-radius: 12px
    }

    .apf-sidebar {
        margin-bottom: 1rem
    }
}