:root { --py-blue: #306998; --py-blue-dark: #1f4c6e; --py-yellow: #ffd43b; --py-yellow-dark: #e6b800; --text: #1a2733; --text-muted: #5a6b7a; --bg: #ffffff; --bg-alt: #f3f6fa; --border: #dfe6ee; --radius: 10px; --shadow-sm: 0 1px 2px rgba(31, 76, 110, 0.06); --shadow-md: 0 4px 16px rgba(31, 76, 110, 0.08); --container: 1100px; --header-h: 72px; --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; } *, *::before, *::after { box-sizing: border-box; } html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); } body { margin: 0; font-family: var(--font-sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; } img { max-width: 100%; height: auto; display: block; } a { color: var(--py-blue); text-decoration: none; } a:hover { color: var(--py-blue-dark); text-decoration: underline; } h1, h2, h3 { line-height: 1.25; margin: 0 0 0.5em; color: var(--text); } h2 { font-size: 2rem; margin-bottom: 1rem; } h3 { font-size: 1.25rem; } p { margin: 0 0 1rem; } .container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; } /* Header / nav */ .site-header { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.95); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--border); } .nav-container { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; } .brand img { display: block; } .primary-nav { display: flex; gap: 1.5rem; align-items: center; } .primary-nav a { color: var(--text); font-weight: 500; padding: 0.5rem 0; border-bottom: 2px solid transparent; } .primary-nav a:hover { color: var(--py-blue); text-decoration: none; border-bottom-color: var(--py-yellow); } .nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; } .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; } /* Hero */ .hero { background: linear-gradient(135deg, rgba(31, 76, 110, 0.92), rgba(48, 105, 152, 0.85)), url('../img/bg.jpg') center / cover no-repeat; color: #fff; padding: 6rem 0 5rem; text-align: center; } .hero-title { font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 0.5rem; color: #fff; } .hero-tagline { font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(255, 255, 255, 0.9); margin-bottom: 2rem; max-width: 680px; margin-left: auto; margin-right: auto; } .hero-ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; } /* Buttons */ .btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: transform 0.1s ease, background 0.15s ease, color 0.15s ease; cursor: pointer; } .btn:hover { transform: translateY(-1px); text-decoration: none; } .btn-primary { background: var(--py-yellow); color: var(--py-blue-dark); border-color: var(--py-yellow); } .btn-primary:hover { background: var(--py-yellow-dark); border-color: var(--py-yellow-dark); color: var(--py-blue-dark); } .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); } .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; } /* Sections */ .section { padding: 4rem 0; } .section-alt { background: var(--bg-alt); } .section h2 { text-align: center; margin-bottom: 2.5rem; position: relative; } .section h2::after { content: ""; display: block; width: 48px; height: 3px; background: var(--py-yellow); margin: 0.75rem auto 0; border-radius: 2px; } .lead { font-size: 1.1rem; color: var(--text-muted); text-align: center; max-width: 720px; margin: 0 auto 2.5rem; } /* Grids */ .grid-2, .grid-3 { display: grid; gap: 1.5rem; } .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } /* Cards */ .card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform 0.15s ease, box-shadow 0.15s ease; } .card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } .card h3 { margin-bottom: 0.5rem; } .card p { color: var(--text-muted); } .card a { font-weight: 600; } .card-aside { font-size: 0.9rem; margin: 0.75rem 0 0; } .card-aside a { font-weight: 500; } /* Subpage layout */ .page-intro { padding-bottom: 1rem; text-align: center; } .page-intro h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 0.5rem; } .page-intro .lead { margin-bottom: 0; } .breadcrumb { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; } .resource-list { display: grid; gap: 1.5rem; max-width: 760px; margin: 0 auto; } .card-soon { background: linear-gradient(135deg, #fffbe6, #fff); border-left: 4px solid var(--py-yellow); } .highlight-block { max-width: 820px; margin: 0 auto; background: linear-gradient(135deg, var(--py-blue), var(--py-blue-dark)); color: #fff; border-radius: var(--radius); padding: 2.5rem; text-align: center; box-shadow: var(--shadow-md); } .highlight-block h2 { color: #fff; margin-bottom: 1rem; font-size: 1.6rem; } .highlight-block h2::after { display: none; } .highlight-block p { color: rgba(255, 255, 255, 0.92); margin-bottom: 1rem; } .highlight-block p:last-of-type { margin-bottom: 1.5rem; } .resource-heading { text-align: center; margin-bottom: 2rem; font-size: 1.5rem; } /* Event card */ .event-card { max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--py-yellow); border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow-sm); } .event-date { color: var(--py-blue); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 0.5rem; } .event-title { margin-bottom: 0.75rem; font-size: 1.5rem; } .event-status { font-size: 1.15rem; color: var(--text); margin-bottom: 0.5rem; font-weight: 500; } /* Footer */ .site-footer { background: var(--py-blue-dark); color: rgba(255, 255, 255, 0.9); padding: 3rem 0 2rem; } .footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; } .footer-brand { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; } .footer-brand img { opacity: 0.95; } .footer-brand p { color: rgba(255, 255, 255, 0.75); margin: 0; font-size: 0.95rem; } .footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: center; } .footer-links a { color: #fff; opacity: 0.85; } .footer-links a:hover { opacity: 1; color: var(--py-yellow); text-decoration: none; } .footer-copy { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; margin: 0; } .footer-copy a { color: rgba(255, 255, 255, 0.8); } .footer-copy a:hover { color: var(--py-yellow); } /* Responsive */ @media (max-width: 768px) { .nav-toggle { display: block; } .primary-nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 0.5rem 1.25rem 1rem; display: none; } .primary-nav.is-open { display: flex; } .primary-nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--border); } .primary-nav a:last-child { border-bottom: 0; } .hero { padding: 4rem 0 3.5rem; } .section { padding: 3rem 0; } .grid-2, .grid-3 { grid-template-columns: 1fr; } }