/*
Theme Name:        75 Fluent Canvas
Description:       A quiet companion theme for the 75 Fluent ✨ plugin. The tracker page shows on its own (visitors can follow along read-only) — no site header, menu, page title, footer or admin bar — on a warm paper background, with a matching sign-in screen and a home-screen icon for iPhone. Other pages get a simple, matching layout.
Version:           1.1.0
Requires at least: 5.8
Requires PHP:      7.4
Author:            Rosilda Xavier
License:           GPL-2.0-or-later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       f75t
Tags:              one-column, custom-menu, blank
*/

@font-face {
	font-family: "F75T Fraunces";
	src: url("assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "F75T Inter";
	src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--t-ink: #0f1d3d;
	--t-ink-2: #1a2c5a;
	--t-teal: #178079;
	--t-gold: #e0bb62;
	--t-paper: #f7f2e8;
	--t-card: #fffdf8;
	--t-line: #e9e1d1;
	--t-text: #1c2335;
	--t-muted: #6a7084;
	--t-serif: "F75T Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--t-sans: "F75T Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--t-gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	background-color: var(--t-paper);
	color: var(--t-text);
	font-family: var(--t-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, video, iframe, embed { max-width: 100%; height: auto; }
a { color: var(--t-teal); text-underline-offset: 3px; }
a:hover { color: var(--t-ink); }

/* ============ Blank canvas (tracker page) ============ */

body.f75t-canvas {
	background:
		radial-gradient(900px 500px at 100% -10%, rgba(47, 179, 166, .10), transparent 60%),
		radial-gradient(700px 500px at -10% 110%, rgba(224, 187, 98, .12), transparent 60%),
		var(--t-paper);
	background-attachment: fixed;
}
/* Some hosts force the admin bar's top margin — cancel it here. */
html body.f75t-canvas { margin-top: 0 !important; }

.f75t-canvas-main {
	width: 100%;
	max-width: 1152px;
	margin: 0 auto;
	padding:
		calc(env(safe-area-inset-top, 0px) + 12px)
		calc(env(safe-area-inset-right, 0px) + var(--t-gutter))
		8px
		calc(env(safe-area-inset-left, 0px) + var(--t-gutter));
}
/* Tidy any stray empty paragraphs WordPress wraps around a shortcode. */
.f75t-canvas-main > p:empty,
.f75t-canvas-main > br { display: none; }
.f75t-canvas-main > p:has(> .f75:only-child) { margin: 0; }
/* Anything else you add to the page (text, images) sits in a comfortable column. */
.f75t-canvas-main > *:not(.f75):not(p:has(> .f75)) {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.f75t-canvas-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	padding: 4px 16px calc(env(safe-area-inset-bottom, 0px) + 28px);
	font-size: 13.5px;
	color: var(--t-muted);
}
.f75t-canvas-links a {
	display: inline-block;
	padding: 10px 6px;
	color: var(--t-muted);
	text-decoration: none;
	font-weight: 500;
}
.f75t-canvas-links a:hover { color: var(--t-ink); text-decoration: underline; }

@media (min-width: 700px) {
	:root { --t-gutter: 28px; }
	.f75t-canvas-main { padding-top: calc(env(safe-area-inset-top, 0px) + 28px); }
}

/* ============ Standard pages ============ */

.f75t-skip {
	position: absolute; left: -9999px; top: 8px;
	padding: 10px 16px; border-radius: 999px; background: var(--t-ink); color: #fff; z-index: 100;
}
.f75t-skip:focus { left: 12px; }

.f75t-wrap {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding-left: calc(env(safe-area-inset-left, 0px) + var(--t-gutter));
	padding-right: calc(env(safe-area-inset-right, 0px) + var(--t-gutter));
}

.f75t-top { background: var(--t-ink); color: #f4efe4; }
.f75t-top__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px;
	min-height: 64px; padding-top: 12px; padding-bottom: 12px;
}
.f75t-brand {
	font-family: var(--t-serif); font-size: 22px; font-weight: 600; line-height: 1.2;
	color: #fffaf0; text-decoration: none;
}
.f75t-brand:hover { color: var(--t-gold); }
.f75t-menu ul { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.f75t-menu a { display: inline-block; padding: 6px 0; color: rgba(244, 239, 228, .85); text-decoration: none; font-size: 15px; font-weight: 500; }
.f75t-menu a:hover, .f75t-menu .current-menu-item > a { color: var(--t-gold); }

.f75t-main { padding-top: 36px; padding-bottom: 56px; }

.f75t-title {
	margin: 0 0 20px;
	font-family: var(--t-serif); font-weight: 600; font-size: clamp(30px, 7vw, 44px); line-height: 1.12;
	color: var(--t-ink); letter-spacing: -.01em;
}
.f75t-meta { margin: -10px 0 22px; font-size: 14px; color: var(--t-muted); }

.f75t-content > * { margin-top: 0; margin-bottom: 1.1em; }
.f75t-content h2, .f75t-content h3, .f75t-content h4 {
	font-family: var(--t-serif); font-weight: 600; color: var(--t-ink); line-height: 1.25; margin-top: 1.6em;
}
.f75t-content h2 { font-size: 28px; }
.f75t-content h3 { font-size: 22px; }
.f75t-content blockquote {
	margin-left: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--t-teal);
	font-family: var(--t-serif); font-style: italic; font-size: 20px; color: var(--t-ink);
}
.f75t-content .alignwide { max-width: 1000px; margin-left: calc(50% - min(500px, 50vw - var(--t-gutter))); margin-right: calc(50% - min(500px, 50vw - var(--t-gutter))); }
.f75t-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.f75t-content .wp-block-button__link {
	display: inline-block; padding: 12px 22px; border-radius: 999px;
	background: var(--t-ink); color: #fff; text-decoration: none; font-weight: 600;
}
.f75t-content figcaption { font-size: 14px; color: var(--t-muted); text-align: center; }

.f75t-list { display: grid; gap: 14px; }
.f75t-card {
	padding: 20px 20px 8px; border: 1px solid var(--t-line); border-radius: 20px; background: var(--t-card);
	box-shadow: 0 1px 2px rgba(15, 29, 61, .05), 0 8px 24px -14px rgba(15, 29, 61, .2);
}
.f75t-card__title { margin: 0 0 4px; font-family: var(--t-serif); font-size: 22px; line-height: 1.25; }
.f75t-card__title a { color: var(--t-ink); text-decoration: none; }
.f75t-card__title a:hover { color: var(--t-teal); }
.f75t-card .f75t-meta { margin: 0 0 6px; }

.nav-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; font-weight: 600; }
.nav-links .page-numbers { padding: 6px 4px; }

.f75t-empty { padding: 40px 0; text-align: center; }

.f75t-foot { padding: 28px 0 calc(env(safe-area-inset-bottom, 0px) + 28px); border-top: 1px solid var(--t-line); font-size: 14px; color: var(--t-muted); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
