/*
Theme Name: Antipodes Capital
Theme URI: https://antipodes-capital.com
Author: Antipodes Capital
Description: An editorial, restrained corporate theme for a financing institution — private credit, leasing and vendor programs. Deep blue, slate, mist, paper and turquoise palette with Archivo typography. Full English / French switching, a desktop page-progress rail, and every homepage string editable in the Customizer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: antipodes-capital
Tags: business, corporate, editorial, custom-colors, custom-logo, custom-menu, translation-ready, full-width-template
*/

/* The design system lives in assets/css/antipodes.css (enqueued after this
   file). This stylesheet carries the WordPress theme identity plus the base
   rules for interior pages, archives and comments. */

/* ── WordPress essentials ─────────────────────────────────────────────── */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; padding: 0; overflow: hidden;
	word-wrap: normal !important; position: absolute !important;
}
.screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto;
	display: block; font-size: 0.875rem; font-weight: 600; padding: 0.75rem 1rem;
	background: #fff; color: #153449; border: 1px solid #153449;
	top: 8px; left: 8px; z-index: 100000;
}
.alignleft { float: left; margin: 0.4rem 1.6rem 1rem 0; }
.alignright { float: right; margin: 0.4rem 0 1rem 1.6rem; }
.aligncenter { margin-inline: auto; display: block; }
.alignwide { margin-inline: calc(50% - min(48vw, 640px)); width: auto; }
.alignfull { margin-inline: calc(50% - 50vw); width: 100vw; max-width: 100vw; }
.wp-caption { max-width: 100%; }
/* Légende — brand book page 21: 13px / 1.45, Regular 400, sentence case. */
.wp-caption-text, figcaption { font-size: 13px; line-height: 1.45; font-weight: 400; color: #3E5B6B; margin-top: 0.6rem; }

/* ── interior page shell ──────────────────────────────────────────────── */
/* The page hero and the pillar-page blocks are styled in
   assets/css/antipodes.css, next to the rest of the design system. */
.entry { padding-block: 5rem; background: #fff; }
.entry__inner { max-width: 760px; margin-inline: auto; }
.entry__inner > * + * { margin-top: 1.4rem; }
.entry__inner h2 { margin-top: 2.6rem; }
.entry__inner h3 { margin-top: 2rem; }
.entry__inner p, .entry__inner li { color: #3E5B6B; }
.entry__inner ul, .entry__inner ol { padding-left: 1.3rem; }
.entry__inner ul { list-style: disc; }
.entry__inner ol { list-style: decimal; }
.entry__inner li + li { margin-top: 0.5rem; }
.entry__inner a { color: #153449; }
.entry__inner blockquote {
	border-left: 2px solid #0097B6; padding-left: 1.4rem;
	font-family: "Archivo", sans-serif; font-size: 1.5rem; color: #153449;
}
.entry__inner code, .entry__inner pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }
.entry__inner pre { background: #F5F4F1; padding: 1.2rem; overflow: auto; }

/* ── archives / lists ─────────────────────────────────────────────────── */
.post-list { display: grid; gap: 2.5rem; }
.post-list article { border-top: 1px solid #E2E1DB; padding-top: 1.6rem; }
/* Archive/post titles are headings, so they take the H2 level from the shared
   type scale rather than a 1.9rem (30.4px) literal. */
.post-list h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--tr-h2); margin-bottom: 0.6rem; }
.post-list h2 a { text-decoration: none; color: #153449; }
/* Hover uses the approved link colour (brand book p.18), never turquoise:
   page 16 reserves turquoise for non-text use. */
.post-list h2 a:hover { color: var(--link); }
.post-meta { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: #3E5B6B; }

.pagination { margin-top: 3rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.pagination .page-numbers {
	padding: 0.5rem 0.9rem; border: 1px solid #D3DDE2; text-decoration: none; color: #153449;
}
.pagination .page-numbers.current { background: #153449; color: #fff; border-color: #153449; }

/* ── search ───────────────────────────────────────────────────────────── */
.search-form { display: flex; gap: 0.8rem; max-width: 460px; }
.search-form .search-field {
	flex: 1; border: 0; border-bottom: 1px solid #D3DDE2; background: transparent;
	padding: 0.6rem 0; font-size: 1rem;
}
.search-form .search-field:focus { outline: none; border-color: #0097B6; }
.search-form .search-submit { background: #153449; color: #fff; padding: 0.7rem 1.2rem; border: 0; cursor: pointer; }

/* ── comments ─────────────────────────────────────────────────────────── */
.comments-area { max-width: 760px; margin-inline: auto; padding-block: 4rem; }
.comment-list { list-style: none; }
.comment-list .comment { border-top: 1px solid #D3DDE2; padding-top: 1.4rem; margin-top: 1.4rem; }
.comment-form input, .comment-form textarea {
	width: 100%; border: 0; border-bottom: 1px solid #D3DDE2; padding: 0.6rem 0; background: transparent;
}
.comment-form .submit { background: #153449; color: #fff; border: 0; padding: 0.9rem 1.6rem; cursor: pointer; }

/* ── footer nav inside the theme footer ───────────────────────────────── */
.site-footer nav ul { list-style: none; }

/* page-hero heading colours follow the block styles below (antipodes.css) */
.page-hero h1 { color: inherit; }
