﻿/*
Theme Name: Manifest Amuda Modern
Theme URI: https://amuda.com/
Description: Modern visual refresh for Amuda content. Child theme compatible with WordPress 4.0.
Author: Local Customization
Template: manifest_amuda
Version: 1.1.0
Tags: blog, two-columns, custom-background, fixed-width
*/

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Lato:wght@400;700;900&display=swap');

:root {
  --bg: #f4f6f9;
  --paper: #ffffff;
  --paper-soft: #f9fbff;
  --ink: #1a2433;
  --ink-soft: #5e6b7a;
  --brand: #1f6aa5;
  --brand-dark: #174f7b;
  --accent: #f0934c;
  --line: #dce4ef;
  --shadow: 0 12px 26px rgba(19, 39, 64, 0.08);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background:
    radial-gradient(1200px 450px at 50% -200px, #dde8f8 5%, rgba(221, 232, 248, 0) 72%),
    linear-gradient(180deg, #f7f9fc 0%, var(--bg) 100%);
  color: var(--ink);
  font: normal 400 16px/1.75 'Lato', Arial, sans-serif;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--brand-dark);
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Merriweather', Georgia, serif;
}

#siteWrapper {
  width: min(1080px, 94vw);
  margin: 28px auto 0;
  text-align: left;
}

#header {
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
  padding: 22px 22px 16px;
}

.headerimg {
  float: right;
  width: clamp(130px, 18vw, 180px);
  margin: 2px 0 8px 16px;
  opacity: 0.92;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.05;
}

h1 a:link,
h1 a:visited,
h1 a:hover,
h1 a:active {
  color: #13253b;
  text-decoration: none;
}

#mainNav {
  width: 100%;
  height: auto;
  margin-top: 14px;
  background: transparent;
  border: 0;
  padding: 0;
}

#mainNav ul {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#mainNav li {
  margin: 0;
  font-size: 0.77rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 900;
}

#mainNav a:link,
#mainNav a:visited {
  display: inline-block;
  white-space: nowrap;
  background: #fff;
  color: #27435f;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
}

#mainNav a:hover,
#mainNav a:active,
#mainNav .current_page_parent a:link,
#mainNav .current_page_parent a:visited,
#mainNav .current_page_item a:link,
#mainNav .current_page_item a:visited {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, var(--brand), #2f85cb);
  text-decoration: none;
}

#subNav {
  margin-top: 10px;
  padding: 0;
  border: 0;
}

#subNav ul {
  width: 100%;
  text-align: left;
  margin: 0;
}

#subNav li {
  margin-right: 14px;
  font-size: 0.85rem;
  text-transform: none;
}

#subNav a:link,
#subNav a:visited {
  color: var(--ink-soft);
}

#siteDescription {
  width: 100%;
  margin: 14px 0 0;
  padding: 10px 13px;
  border-left: 4px solid var(--accent);
  background: #fff8f1;
  color: #6f5340;
  font: italic 400 1rem/1.5 'Merriweather', Georgia, serif;
}

#coreContent {
  width: 100%;
  margin-top: 20px;
}

.hentry {
  margin-bottom: 22px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 6px 18px rgba(16, 37, 58, 0.06);
}

.postDate {
  position: static;
  top: auto;
  margin: 0 0 10px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: normal 700 0.76rem/1.2 'Lato', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.postDate abbr {
  display: inline;
  position: static;
  top: auto;
  margin: 0;
  padding: 0;
  background: transparent;
}

.postContent h3 {
  margin: 0 0 7px;
  font: normal 700 clamp(1.26rem, 2.4vw, 1.9rem)/1.25 'Merriweather', Georgia, serif;
}

.postContent h3 a:link,
.postContent h3 a:visited {
  color: #16283d;
}

.postContent h3 a:hover,
.postContent h3 a:active {
  color: var(--brand);
}

.postContent h4 {
  margin: 0 0 12px;
  position: static;
  top: auto;
  border-bottom: 0;
  color: #6e7b88;
  font: normal 700 0.85rem/1.2 'Lato', Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.entry-content {
  margin-top: 0;
  text-align: left;
}

#coreContent p,
#coreContent li,
#coreContent dd {
  margin-bottom: 1rem;
  color: #26394b;
  font-size: 1.02rem;
  line-height: 1.82;
  text-align: left;
}

#coreContent li {
  list-style: square;
  margin-left: 1.1rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin: 1.25rem 0 0.65rem;
  padding: 0;
  border: 0;
  color: #192c40;
  font-style: normal;
  font-weight: 700;
  position: static;
}

.entry-content h1 { font-size: 1.55rem; }
.entry-content h2 { font-size: 1.34rem; }
.entry-content h3 { font-size: 1.18rem; }
.entry-content h4,
.entry-content h5,
.entry-content h6 { font-size: 1.06rem; }

.entry-content blockquote {
  margin: 1rem 0;
  padding: 0.8rem 1rem;
  border-left: 4px solid var(--accent);
  background: #fff7ef;
  color: #644f3f;
  font-style: italic;
}

.entry-content a:link,
.entry-content a:visited {
  text-decoration: underline;
}

.entry-content img,
.hentry img,
img.aligncenter {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(24, 42, 68, 0.14);
  max-width: 100%;
  height: auto;
}

.entry-content .alignleft,
img.alignleft {
  float: left;
  margin: 6px 18px 12px 0;
}

.entry-content .alignright,
img.alignright {
  float: right;
  margin: 6px 0 12px 18px;
}

#coreContent .postMeta {
  margin: 16px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: #607182;
  font-size: 0.88rem;
}

#coreContent .postMeta a:link,
#coreContent .postMeta a:visited {
  color: var(--brand);
  font-weight: 700;
}

.pageNav {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.pageNav .prev,
.pageNav .next {
  float: none;
  display: block;
}

.pageNav a:link,
.pageNav a:visited {
  display: inline-block;
  font: normal 700 0.9rem/1.2 'Lato', Arial, sans-serif;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
}

.pageNav a:hover,
.pageNav a:active {
  text-decoration: none;
  background: var(--paper-soft);
}

#footer {
  width: min(1080px, 94vw);
  margin: 14px auto 0;
  padding: 24px 20px;
  border-top: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #14304a 0%, #10263b 100%);
  color: #d4dfec;
  box-shadow: var(--shadow);
  text-align: left;
}

#footer-widget-area {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

#footer-widget-area .widget-area {
  width: auto;
  float: none;
  margin-bottom: 0;
  padding: 12px;
  border: 1px solid rgba(160, 188, 214, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

#second {
  padding: 12px;
}

.widget-title {
  margin: 0 0 8px;
  padding-top: 0;
  color: #f3f7fc;
  font: normal 900 0.79rem/1.2 'Lato', Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.widget-area ul,
.widget-area ul ul {
  margin: 0;
  padding-left: 1rem;
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.5;
}

.widget-area li {
  margin-bottom: 0.45rem;
}

.widget-area li:before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fc6ff;
  margin: 0 8px 2px -14px;
}

.widget-area a {
  color: #9dd1ff;
}

.footerContent {
  width: 100%;
  margin: 18px 0 0;
  clear: both;
}

#footer #search {
  margin: 0 0 14px;
  display: flex;
  gap: 8px;
}

input[type=text],
textarea,
#footer #search input[type=text] {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: #2a3b50;
  font: normal 400 0.95rem/1.2 'Lato', Arial, sans-serif;
}

#footer #search input[type=text] {
  flex: 1;
  min-width: 0;
  border-color: #4e6f91;
}

input[type=submit],
#footer #searchsubmit {
  border: 0;
  border-radius: 8px;
  padding: 10px 13px;
  color: #fff;
  background: linear-gradient(120deg, var(--brand), #2f86cc);
  font: normal 900 0.78rem/1.1 'Lato', Arial, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

input[type=submit]:hover,
#footer #searchsubmit:hover {
  background: linear-gradient(120deg, var(--brand-dark), #266fa8);
}

#footer p {
  margin: 0;
  color: #bed1e7;
  line-height: 1.6;
}

#footer p a {
  color: #9dd1ff;
}

#comments h3,
legend span {
  width: 100%;
  border-bottom: 1px solid var(--line);
  color: #1f3145;
}

.comment {
  border-bottom: 1px solid #e1e8f0;
}

.commentForm textarea,
.commentForm input[type=text],
.commentForm textarea.loggedIn {
  width: 100%;
  max-width: 100%;
}

#FollowMeTabRightLg,
#FollowMeBubbleBG,
#FollowMeBubble {
  z-index: 12;
}

@media (max-width: 980px) {
  #footer-widget-area {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  #siteWrapper,
  #footer {
    width: 95vw;
  }

  #header {
    padding: 16px 14px 13px;
  }

  .headerimg {
    float: none;
    display: block;
    margin: 0 auto 8px;
    width: 120px;
  }

  h1 {
    text-align: center;
  }

  #mainNav ul {
    justify-content: center;
  }

  #siteDescription {
    font-size: 0.95rem;
  }

  .hentry {
    padding: 16px 14px;
  }

  .pageNav {
    flex-direction: column;
  }

  #footer #search {
    flex-direction: column;
  }
}

/* Conferencias page image cleanup */
.page-id-166 #coreContent .entry-content {
  overflow: hidden;
}

.page-id-166 #coreContent .entry-content p {
  text-align: center !important;
  margin-bottom: 1.3rem;
}

.page-id-166 #coreContent .entry-content img {
  float: none !important;
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 1.1rem !important;
}

.page-id-166 #coreContent .entry-content img.alignleft,
.page-id-166 #coreContent .entry-content img.alignright,
.page-id-166 #coreContent .entry-content img.aligncenter {
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (min-width: 900px) {
  .page-id-166 #coreContent .entry-content p:first-of-type img.alignleft {
    display: inline-block;
    vertical-align: top;
    margin: 0 0.6rem 1rem !important;
  }
}

/* Side patterns on both edges */
body {
  position: relative;
  overflow-x: hidden;
}

body:before,
body:after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: clamp(34px, 5vw, 78px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
  background-image:
    radial-gradient(circle at 10px 10px, rgba(31, 106, 165, 0.24) 2px, transparent 2.5px),
    radial-gradient(circle at 26px 26px, rgba(240, 147, 76, 0.20) 2px, transparent 2.5px),
    repeating-linear-gradient(
      45deg,
      rgba(31, 106, 165, 0.08) 0,
      rgba(31, 106, 165, 0.08) 6px,
      transparent 6px,
      transparent 14px
    );
  background-size: 36px 36px, 36px 36px, 18px 18px;
}

body:before {
  left: 0;
  border-right: 1px solid rgba(31, 106, 165, 0.12);
}

body:after {
  right: 0;
  transform: scaleX(-1);
  border-left: 1px solid rgba(31, 106, 165, 0.12);
}

#siteWrapper,
#footer {
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  body:before,
  body:after {
    display: none;
  }
}

/* Wavy side patterns (override) */
body:before,
body:after {
  width: clamp(46px, 6vw, 94px);
  opacity: 0.52;
  background-color: rgba(255, 255, 255, 0.58);
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(240,246,255,0.58) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%231f6aa5' stroke-width='1.6' stroke-linecap='round' opacity='.45'%3E%3Cpath d='M-10 16 Q0 6 10 16 T30 16 T50 16 T70 16 T90 16'/%3E%3Cpath d='M-10 40 Q0 30 10 40 T30 40 T50 40 T70 40 T90 40'/%3E%3Cpath d='M-10 64 Q0 54 10 64 T30 64 T50 64 T70 64 T90 64'/%3E%3C/g%3E%3Cg fill='%23f0934c' opacity='.35'%3E%3Ccircle cx='12' cy='8' r='2'/%3E%3Ccircle cx='40' cy='32' r='2'/%3E%3Ccircle cx='68' cy='56' r='2'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 80px 80px;
  background-repeat: repeat;
  box-shadow: inset 0 0 0 1px rgba(31, 106, 165, 0.16);
}

body:before {
  border-right: 0;
}

body:after {
  border-left: 0;
  transform: scaleX(-1);
}

/* Full-page wavy background override (thicker lines) */
body:before,
body:after {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  border: 0 !important;
  transform: none !important;
  opacity: 0.34;
  background-color: #f6f9ff;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.84) 0%, rgba(237,245,255,0.74) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%231f6aa5' stroke-width='3.4' stroke-linecap='round' opacity='.34'%3E%3Cpath d='M-20 28 Q0 8 20 28 T60 28 T100 28 T140 28 T180 28'/%3E%3Cpath d='M-20 70 Q0 50 20 70 T60 70 T100 70 T140 70 T180 70'/%3E%3Cpath d='M-20 112 Q0 92 20 112 T60 112 T100 112 T140 112 T180 112'/%3E%3C/g%3E%3Cg fill='none' stroke='%23f0934c' stroke-width='2.2' stroke-linecap='round' opacity='.26'%3E%3Cpath d='M-20 48 Q0 68 20 48 T60 48 T100 48 T140 48 T180 48'/%3E%3Cpath d='M-20 132 Q0 152 20 132 T60 132 T100 132 T140 132 T180 132'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 140px 140px;
  background-repeat: repeat;
}

body:after {
  display: none;
}

#siteWrapper,
#footer {
  position: relative;
  z-index: 1;
}

/* Top navbar for child-theme menu (WP4-safe markup) */
#mainNavBar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 251, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 16px rgba(16, 37, 58, 0.08);
  backdrop-filter: blur(3px);
}

.top-nav-inner {
  width: min(1080px, 94vw);
  margin: 0 auto;
  padding: 10px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.top-nav-brand {
  display: inline-block;
  color: #10263b;
  font: normal 700 1.15rem/1.1 'Merriweather', Georgia, serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.top-nav-brand:hover,
.top-nav-brand:focus {
  color: var(--brand);
  text-decoration: none;
}

#mainNavBar .top-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

#mainNavBar .top-nav-list li {
  margin: 0;
  text-transform: uppercase;
  font: normal 900 0.75rem/1.1 'Lato', Arial, sans-serif;
  letter-spacing: 0.06em;
}

#mainNavBar .top-nav-list a:link,
#mainNavBar .top-nav-list a:visited {
  display: inline-block;
  background: #ffffff;
  color: #27435f;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  white-space: nowrap;
}

#mainNavBar .top-nav-list a:hover,
#mainNavBar .top-nav-list a:active,
#mainNavBar .top-nav-list .current_page_item > a,
#mainNavBar .top-nav-list .current_page_parent > a,
#mainNavBar .top-nav-list .current-menu-item > a,
#mainNavBar .top-nav-list .current-menu-parent > a {
  color: #ffffff;
  text-decoration: none;
  border-color: transparent;
  background: linear-gradient(120deg, var(--brand), #2f85cb);
}

@media (max-width: 760px) {
  .top-nav-inner {
    padding: 9px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  #mainNavBar .top-nav-list {
    justify-content: flex-start;
  }
}

/* --------------------------------------------------
   Final theme polish: light blue + white palette
   and enhanced top navbar styling
   -------------------------------------------------- */
:root {
  --bg: #edf4ff;
  --paper: #ffffff;
  --paper-soft: #f7fbff;
  --ink: #15334f;
  --ink-soft: #5d7390;
  --brand: #2f76c5;
  --brand-dark: #235f9f;
  --accent: #7dbbf1;
  --line: #cedff2;
  --shadow: 0 10px 24px rgba(25, 64, 106, 0.10);
}

body {
  color: var(--ink);
  background:
    radial-gradient(1200px 440px at 50% -220px, #dbe9ff 4%, rgba(219, 233, 255, 0) 72%),
    linear-gradient(180deg, #fafdff 0%, #eef5ff 100%);
}

/* Blue-only full-page wave texture */
body:before,
body:after {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  border: 0 !important;
  transform: none !important;
  opacity: 0.28;
  background-color: #f4f9ff;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(236,245,255,0.82) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cg fill='none' stroke='%232f76c5' stroke-width='3.6' stroke-linecap='round' opacity='.32'%3E%3Cpath d='M-20 30 Q0 8 20 30 T60 30 T100 30 T140 30 T180 30'/%3E%3Cpath d='M-20 76 Q0 54 20 76 T60 76 T100 76 T140 76 T180 76'/%3E%3Cpath d='M-20 122 Q0 100 20 122 T60 122 T100 122 T140 122 T180 122'/%3E%3C/g%3E%3Cg fill='none' stroke='%238fc2f3' stroke-width='2.1' stroke-linecap='round' opacity='.30'%3E%3Cpath d='M-20 52 Q0 70 20 52 T60 52 T100 52 T140 52 T180 52'/%3E%3Cpath d='M-20 144 Q0 162 20 144 T60 144 T100 144 T140 144 T180 144'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 150px 150px;
  background-repeat: repeat;
}

body:after {
  display: none;
}

#siteWrapper,
#footer {
  position: relative;
  z-index: 1;
}

#header,
.hentry,
#footer,
#footer-widget-area .widget-area {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

#siteDescription {
  border-left: 4px solid #79b6eb;
  background: #eef6ff;
  color: #3d5f84;
}

.entry-content blockquote {
  border-left: 4px solid #79b6eb;
  background: #eff7ff;
  color: #446789;
}

/* Enhanced navbar */
#mainNavBar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(243, 249, 255, 0.96);
  border-bottom: 1px solid #c2d9f1;
  box-shadow: 0 10px 20px rgba(29, 78, 129, 0.12);
}

#mainNavBar:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, rgba(47, 118, 197, 0), rgba(47, 118, 197, .7), rgba(47, 118, 197, 0));
}

.top-nav-inner {
  width: min(1080px, 94vw);
  margin: 0 auto;
  padding: 11px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-nav-brand {
  display: inline-block;
  color: #17466f;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  border: 1px solid #c8ddf2;
  border-radius: 12px;
  padding: 7px 11px;
  font: normal 700 1.05rem/1.1 'Merriweather', Georgia, serif;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.top-nav-brand:hover,
.top-nav-brand:focus {
  color: #1f5ea3;
  text-decoration: none;
  border-color: #a7c8ea;
}

#mainNavBar .top-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

#mainNavBar .top-nav-list li {
  margin: 0;
  text-transform: uppercase;
  font: normal 900 0.74rem/1.1 'Lato', Arial, sans-serif;
  letter-spacing: 0.07em;
}

#mainNavBar .top-nav-list a:link,
#mainNavBar .top-nav-list a:visited {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 0%, #f2f8ff 100%);
  color: #2b5278;
  border: 1px solid #c8dcf1;
  border-radius: 999px;
  padding: 7px 13px;
  white-space: nowrap;
}

#mainNavBar .top-nav-list a:hover,
#mainNavBar .top-nav-list a:active,
#mainNavBar .top-nav-list .current_page_item > a,
#mainNavBar .top-nav-list .current_page_parent > a,
#mainNavBar .top-nav-list .current-menu-item > a,
#mainNavBar .top-nav-list .current-menu-parent > a {
  color: #ffffff;
  text-decoration: none;
  border-color: #2f76c5;
  background: linear-gradient(120deg, #3e8ddd, #2f76c5);
  box-shadow: 0 6px 12px rgba(47, 118, 197, 0.28);
}

#subNav a:link,
#subNav a:visited {
  color: #4f6c8a;
}

#subNav a:hover,
#subNav a:active {
  color: #2f76c5;
}

/* Footer switched to light blue/white */
#footer {
  background: linear-gradient(180deg, #f5faff 0%, #eaf3ff 100%);
  border: 1px solid var(--line);
  color: #436384;
}

#footer h3,
#footer p,
#footer li,
#footer strong {
  color: #436384;
}

#footer p a,
#footer a {
  color: #2f76c5;
}

#footer #search input[type=text] {
  background: #ffffff;
  border: 1px solid #c5dbee;
  color: #1d3f60;
}

#footer #searchsubmit {
  background: linear-gradient(120deg, #4c95df, #2f76c5);
  color: #ffffff;
  border: 1px solid #2f76c5;
}

#footer #searchsubmit:hover {
  background: linear-gradient(120deg, #2f76c5, #215d9b);
}

@media (max-width: 760px) {
  .top-nav-inner {
    padding: 9px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  #mainNavBar .top-nav-list {
    justify-content: flex-start;
  }
}

/* Header title centered and restyled */
#header {
  text-align: center;
}

#header .headerimg {
  display: none !important;
}

#header h1.vcard.author {
  margin: 4px auto 10px;
  text-align: center;
  line-height: 1.1;
}

#header h1.vcard.author a:link,
#header h1.vcard.author a:visited,
#header h1.vcard.author a:hover,
#header h1.vcard.author a:active {
  display: inline-block;
  color: #1a4f80;
  font: normal 700 clamp(2.2rem, 6vw, 4.1rem)/1.05 'Merriweather', Georgia, serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.08em 0.24em;
  border-radius: 10px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

#siteDescription {
  text-align: center;
}

#subNav ul {
  text-align: center;
}
