/* WPC Articles – matches the Women’s Poker Calendar style. */
.wpca {
	--wpca-gold: #b5964f;
	--wpca-gold-dark: #9c7f3d;
	--wpca-muted: #6b6b6b;
	--wpca-head: "Cormorant Garamond", Garamond, "Times New Roman", serif;
	--wpca-body: "EB Garamond", Garamond, "Times New Roman", serif;
	font-family: var(--wpca-body);
	color: #000;
	box-sizing: border-box;
}
.wpca *, .wpca *::before, .wpca *::after { box-sizing: border-box; }
.wpca-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Search */
.wpca-search { display: flex; gap: 8px; max-width: 480px; margin: 0 0 36px; }
.wpca-search input[type="search"] {
	flex: 1; min-width: 0; padding: 10px 16px; border: 1px solid #d9cfb8; border-radius: 999px;
	background: #fff; font: inherit; font-size: 16px;
}
.wpca-search input[type="search"]:focus { outline: 2px solid var(--wpca-gold); border-color: var(--wpca-gold); }
.wpca-search button {
	padding: 10px 22px; border: 0; border-radius: 999px; background: var(--wpca-gold);
	color: #fff; font: inherit; font-size: 16px; cursor: pointer;
}
.wpca-search button:hover { background: var(--wpca-gold-dark); }

/* Layout: Latest (wide) + Featured (narrow) */
.wpca-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.wpca-has-featured .wpca-layout { grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr); }
.wpca .wpca-h2 { margin: 0 0 24px; font-family: var(--wpca-head); font-size: clamp(30px, 3vw, 40px); font-weight: 500; line-height: 1.15; color: #000; }

/* Grid */
.wpca-grid { display: grid; gap: 40px 28px; }
.wpca-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wpca-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wpca-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wpca-feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }

/* Cards */
.wpca-card { display: flex; flex-direction: column; min-width: 0; }
.wpca .wpca-thumb { display: block; aspect-ratio: 3 / 2; margin: 0 0 14px; overflow: hidden; background: #f4efe6; }
.wpca .wpca-thumb img { display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; transition: transform .3s; }
.wpca-card:hover .wpca-thumb img { transform: scale(1.03); }
.wpca-noimg { display: block; width: 100%; height: 100%; background: #f4efe6; }
.wpca .wpca-title { margin: 0 0 6px; font-family: var(--wpca-body); font-size: 19px; font-weight: 500; line-height: 1.3; }
.wpca .wpca-title a { color: #000; text-decoration: none; }
.wpca .wpca-title a:hover { color: var(--wpca-gold-dark); }
.wpca .wpca-meta { margin: 0 0 10px; color: var(--wpca-muted); font-size: 14px; line-height: 1.4; }
.wpca .wpca-more { margin-top: auto; color: #000; font-size: 17px; text-decoration: none; }
.wpca .wpca-more:hover { color: var(--wpca-gold-dark); }

.wpca-card-small .wpca-title { font-size: 15px; }
.wpca-card-small .wpca-meta { font-size: 12px; }
.wpca-card-small .wpca-more { font-size: 14px; }

/* Page numbers */
.wpca-pages { margin-top: 48px; }
.wpca-pages ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.wpca-pages a, .wpca-pages span {
	display: inline-block; min-width: 38px; padding: 7px 12px; border: 1px solid #e6dcc4; border-radius: 999px;
	color: #000; font-size: 16px; text-align: center; text-decoration: none;
}
.wpca-pages a:hover { border-color: var(--wpca-gold); }
.wpca-pages .current { background: var(--wpca-gold); border-color: var(--wpca-gold); color: #fff; }
.wpca-pages .dots { border: 0; }

@media (max-width: 1100px) {
	.wpca-cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.wpca-has-featured .wpca-layout { grid-template-columns: minmax(0, 1fr); }
	.wpca-cols-3, .wpca-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wpca-feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.wpca-cols-2, .wpca-cols-3, .wpca-cols-4 { grid-template-columns: minmax(0, 1fr); }
	.wpca-search { max-width: none; }
}

/* Share buttons */
.wpca-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 28px 0; font-family: "EB Garamond", Garamond, serif; }
.wpca-share-title { font-size: 17px; color: #000; }
.wpca-share-links { display: flex; flex-wrap: wrap; gap: 10px; }
.wpca-share .wpca-share-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
	border: 0; border-radius: 50%; background: #b5964f; color: #fff; cursor: pointer; text-decoration: none;
	transition: background-color .2s, transform .2s;
}
.wpca-share .wpca-share-btn:hover, .wpca-share .wpca-share-btn:focus-visible { background: #9c7f3d; color: #fff; transform: translateY(-1px); }
.wpca-share .wpca-share-btn.is-done { background: #4c8a4c; }
.wpca-share .wpca-share-btn svg { display: block; }
