/*
Theme Name: Teach International
Theme URI: https://teachinternational.edu.au
Author: FrogOnline
Author URI: https://frogonline.com.au
Description: Custom theme for Teach International (RTO 31165). Recreates the current teachinternational.edu.au design. On activation it creates every page, the 16 courses, the menus and the homepage setting automatically. No plugins required.
Version: 1.2.0
Requires at least: 6.3
Requires PHP: 7.4
License: Proprietary
Text Domain: teach-international
*/

/* The site styles live in assets/css/site.css. Small WordPress-only additions are below. */
.admin-bar header.sticky { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar header.sticky { top: 46px; } }

/* Pages and posts written in the normal editor (not the original designed pages). */
.ti-prose > * + * { margin-top: 1rem; }
.ti-prose h2 { margin-top: 2rem; font-family: var(--font-heading); letter-spacing: -.015em; font-size: 1.5rem; line-height: 2rem; font-weight: 600; color: var(--color-ink); }
.ti-prose h3 { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 600; color: var(--color-ink); }
.ti-prose ul { list-style: disc; padding-left: 1.25rem; }
.ti-prose ol { list-style: decimal; padding-left: 1.25rem; }
.ti-prose li + li { margin-top: .25rem; }
.ti-prose a { color: var(--color-primary); text-decoration: underline; }
.ti-prose img { height: auto; border-radius: .75rem; }

/* "Text page" block — policy style (Privacy, Terms, Student information). */
.ti-prose-policy .ti-prose-body h2,
.ti-prose-policy .ti-prose-body h3 { margin-top: 2.5rem; font-family: var(--font-heading); letter-spacing: -.015em; font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; color: var(--color-ink); }
.ti-prose-policy .ti-prose-body h3 { font-size: 1.125rem; }
.ti-prose-policy .ti-prose-body :is(p, ul, ol):not(li *) { margin-top: .75rem; color: var(--color-muted); }
.ti-prose-policy .ti-prose-body > p:first-child, .ti-prose-policy .ti-prose-body .block-editor-block-list__layout > p:first-child { margin-top: 1.5rem; }
.ti-prose-policy .ti-prose-body ul { list-style: disc; padding-left: 1.25rem; }
.ti-prose-policy .ti-prose-body ol { list-style: decimal; padding-left: 1.25rem; }
.ti-prose-policy .ti-prose-body li + li { margin-top: .375rem; }
/* "Text page" block — story style (About). */
.ti-prose-story .ti-prose-body h2 { font-family: var(--font-heading); letter-spacing: -.015em; font-size: 1.5rem; line-height: 2rem; font-weight: 600; color: var(--color-ink); }
.ti-prose-story .ti-prose-body h2 { margin-top: 3rem; }
.ti-prose-story .ti-prose-body > h2:first-child, .ti-prose-story .ti-prose-body .block-editor-block-list__layout > h2:first-child { margin-top: 0; }
.ti-prose-story .ti-prose-body h3 { margin-top: 2rem; font-size: 1.25rem; font-weight: 600; color: var(--color-ink); }
.ti-prose-story .ti-prose-body :is(p, ul, ol):not(li *) { margin-top: 1rem; color: var(--color-muted); }
.ti-prose-story .ti-prose-body ul { list-style: disc; padding-left: 1.25rem; }
.ti-prose-story .ti-prose-body ol { list-style: decimal; padding-left: 1.25rem; }
:is(.ti-prose-policy, .ti-prose-story) .ti-prose-body a { font-weight: 600; color: var(--color-primary); }
:is(.ti-prose-policy, .ti-prose-story) .ti-prose-body a:hover { text-decoration: underline; }
:is(.ti-prose-policy, .ti-prose-story) .ti-prose-body strong { color: var(--color-ink); }
.ti-faq-answer > * + * { margin-top: .75rem; }
.ti-faq-answer ul { list-style: disc; padding-left: 1.25rem; }