* {
  box-sizing: border-box;
}

:root {
  --akc-purple: #4b2383;
  --akc-purple-dark: #32145f;
  --akc-gold: #c99a22;
  --akc-gold-dark: #8a6414;
  --akc-gold-light: #f5d879;
  --page-bg: #faf7ef;
  --text: #241f2f;
  --muted: #625a6f;
  --card-border: #eadfbf;
  --gold-wash: #fff6d8;
}

html {
  background: var(--page-bg);
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, var(--gold-wash), var(--page-bg) 260px);
}

a {
  color: var(--akc-purple);
  font-weight: bold;
}

.site-shell {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 24px;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 10px 14px;
  border: 2px solid var(--akc-gold);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(50, 20, 95, .10);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  color: var(--akc-purple);
  text-decoration: none;
}

.site-brand img {
  display: block;
  width: 148px;
  height: 148px;
  border: 3px solid var(--akc-gold);
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(50, 20, 95, .18);
}

.site-hero {
  color: #fff;
  text-align: center;
  padding: 38px 28px;
  border: 3px solid var(--akc-gold);
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent 0 10%, var(--akc-gold-light) 10% 13%, transparent 13% 87%, var(--akc-gold-light) 87% 90%, transparent 90%),
    linear-gradient(135deg, rgba(75, 35, 131, .96), rgba(50, 20, 95, .98)),
    linear-gradient(90deg, var(--akc-gold), var(--akc-gold-light));
  box-shadow: 0 10px 26px rgba(50, 20, 95, .22);
}

.site-hero h1 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.2;
  color: var(--akc-gold-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .30);
}

.site-hero p {
  margin: 8px 0;
  font-size: 17px;
  line-height: 1.5;
}

.site-hero p:first-of-type {
  color: var(--akc-gold-light);
  font-weight: bold;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 22px 0;
}

.site-header .site-nav {
  flex: 1 1 640px;
  justify-content: flex-end;
  margin: 0;
}

.site-nav a,
.button-link {
  display: inline-block;
  color: #fff !important;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid var(--akc-gold);
  background:
    linear-gradient(180deg, rgba(245, 216, 121, .22), transparent 48%),
    var(--akc-purple);
}

.site-nav a:hover,
.site-nav a:focus,
.button-link:hover,
.button-link:focus {
  color: var(--akc-purple-dark) !important;
  background:
    linear-gradient(180deg, var(--akc-gold-light), var(--akc-gold));
}

.content-card,
.blog-panel {
  background: #fff;
  border: 1px solid var(--card-border);
  border-top: 5px solid var(--akc-gold);
  border-radius: 12px;
  padding: 26px;
  margin: 22px 0;
  box-shadow: 0 6px 20px rgba(50, 20, 95, .10);
}

.content-card h2,
.blog-panel h2 {
  color: var(--akc-purple);
  margin: 0 0 18px;
  font-size: 26px;
  border-bottom: 3px solid var(--akc-gold);
  padding-bottom: 8px;
}

.content-card p {
  line-height: 1.6;
  font-size: 17px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.site-footer {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  padding: 8px 0 18px;
}

.blog-embed {
  min-height: 240px;
}

.blog-loading,
.blog-error {
  color: var(--muted);
  line-height: 1.5;
}

.blog-embed .content_wrapper {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
}

.blog-embed .weblogName {
  margin-top: 0;
  color: var(--akc-gold-dark);
  font-size: 22px;
}

.blog-embed .dayBox {
  padding: 20px 0;
  border-top: 1px solid var(--akc-gold-light);
}

.blog-embed .dayBox:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.blog-embed .postTitle {
  margin: 0 0 8px;
  line-height: 1.25;
}

.blog-embed .postTitle a {
  color: var(--akc-purple);
  font-size: 20px !important;
  text-decoration: none;
}

.blog-embed .postTitle a:hover,
.blog-embed .postTitle a:focus {
  color: var(--akc-gold-dark);
  text-decoration: underline;
}

.blog-embed .entryContent {
  line-height: 1.55;
}

.blog-embed .entryMeta {
  color: var(--muted);
  margin: 0 0 14px;
}

.blog-embed .blog-more {
  margin-top: 22px;
}

.blog-embed img,
.blog-embed video,
.blog-embed iframe {
  max-width: 100%;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 700px) {
  .site-shell {
    padding: 14px;
  }

  .site-header {
    justify-content: center;
    padding: 14px;
  }

  .site-brand {
    justify-content: center;
    text-align: center;
  }

  .site-header .site-nav {
    flex-basis: 100%;
    justify-content: center;
  }

  .site-hero h1 {
    font-size: 27px;
  }

  .content-card,
  .blog-panel {
    padding: 20px;
  }

  .blog-embed .postTitle a {
    font-size: 18px !important;
  }
}
