/* ====== Base setup ====== */
:root {
  --content-max: 1000px; /* requested content width */
  --bg: #002969;            /* page background */
  --fg: #eaf2ff;         /* default body text on navy */
}

*,
*::before,
*::after { box-sizing: border-box; }

html { font-size: 1.0em; } /* Default = Arial 14px */

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }

.header-inline {
  display: flex;
  align-items: center;   /* vertical align */
  gap: 12px;             /* space between image and text */
}

.header-inline img {
  width: 120px;
  height: auto;
}

@media (max-width: 480px) {
  .header-inline { gap: 8px; }
}


/* ====== Centered content area ====== */
/* Put your whole page inside .content */
.content {
  max-width: var(--content-max);                       /* 1000px max */
  width: min(100% - 2rem, var(--content-max));         /* responsive side padding */
  margin-inline: auto;
  margin-block: 1.5rem;
  background: #ffffff;                                  /* requested white background */
  color: #111;                                          /* readable on white */
  padding: 1.25rem;
}

.paypal-center {
  max-width: 500px;
  margin-inline: auto;   /* centers */
}

/* Make whatever PayPal renders (iframe/button) fit the container */
.paypal-center .paypal-buttons,
.paypal-center iframe,
.paypal-center button {
  display: block;
  width: 100% !important;     /* stretch to the container */
  max-width: 100% !important; /* don’t exceed 500px */
}

/* Media behaves on small screens */
img, video, canvas, svg { max-width: 100%; height: auto; display: block; }

/* Headings */
h1 { font-size: 1.8rem; margin: 0.6rem 0; }
h2 { font-size: 1.5rem; margin: 0.5rem 0; }
h3 { font-size: 1.25rem; margin: 0.5rem 0; }

/* Links: readable on both navy (body) and white (.content) */
a { color: #0a58ca; text-decoration: underline; }
a:hover { text-decoration-thickness: 2px; }

/* Tiny-screen tweaks */
@media (max-width: 480px) {
  .content {
    width: min(100% - 1.25rem, var(--content-max));
    margin-block: 1rem;
    padding: 1rem;
  }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.15rem; }
}

/* Extra-large displays */
@media (min-width: 1600px) {
  .content { margin-block: 2rem; padding: 1.5rem; }
}
