/* Rebuilt from the Hostinger Website Builder layout of digathomas.com */
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/lora-400.woff2) format('woff2'); }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/lora-700.woff2) format('woff2'); }
:root {
  --font: 'Lora', Georgia, serif;
  --text: rgb(26, 26, 26);
  --bg: #fff;
  --grid: 1224px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.5 var(--font); }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* typography (builder global styles) */
h1, h2, h3, h4, h5, h6, .h1 { font-family: var(--font); font-weight: 400; line-height: 1.25; margin: 0; }
h1, .h1 { font-size: 64px; } h2 { font-size: 56px; } h3, .h3 { font-size: 48px; }
h4, .h4 { font-size: 40px; } h5, .h5 { font-size: 32px; } h6 { font-size: 24px; }
p { margin: 0; }
.body { font-size: 16px; } .body-large { font-size: 18px; } .body-small { font-size: 14px; }
ul { margin: 0; padding-left: 1.5em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.site-header .bar { max-width: 1240px; margin: 0 auto; padding: 19px 24px; display: flex; align-items: center; gap: 70px; min-height: 100px; }
.logo img { display: block; width: 72px; height: 72px; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 52px; align-items: center; }
.nav > li { position: relative; display: flex; align-items: center; }
.nav a { text-decoration: none; color: #000; font-size: 16px; line-height: 1.35; padding: 4px 0; }
.nav a[aria-current="page"], .nav > li.active > a { text-decoration: underline; text-underline-offset: 4px; }
.caret { border: 0; background: none; cursor: pointer; padding: 0 0 0 18px; color: #000; font: inherit; line-height: 1; }
.caret::after { content: ""; display: inline-block; border: 5px solid transparent; border-top: 6px solid currentColor; border-bottom: 0; transform: translateY(-2px); }
.sub { list-style: none; position: absolute; top: 100%; left: -16px; min-width: 200px; background: #fff; padding: 8px 0; margin: 0;
       box-shadow: 0 6px 24px rgba(0,0,0,.12); border-radius: 4px; opacity: 0; visibility: hidden; transition: opacity .15s; }
.sub a { display: block; padding: 8px 16px; white-space: nowrap; }
.sub a:hover { background: #f4f4f4; }
.sub .more { border-top: 1px solid #eee; margin-top: 4px; padding-top: 4px; }
.sub .more a { color: rgb(90, 90, 90); }
.sub .more a::after { content: " \2192"; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; }
.menu-toggle { display: none; }
/* Six menu items: tighten the spacing on narrower desktop windows so they stay on one line. */
@media (min-width: 921px) and (max-width: 1140px) {
  .site-header .bar { gap: 40px; }
  .nav { gap: 28px; }
}

/* layout blocks: elements are placed on the builder's 1224px canvas */
.block { padding: var(--bp); min-height: var(--bh); }
.grid { position: relative; width: min(var(--grid), 100% - 32px); margin: 0 auto; height: var(--gh); }
.el { position: absolute; top: var(--t); left: calc(var(--l) * 100% / 1224); width: calc(var(--w) * 100% / 1224); height: var(--h); }
.el-textbox { display: flex; flex-direction: column; justify-content: var(--jc); text-align: var(--ta); }
.el-image a, .el-image picture { display: block; width: 100%; height: 100%; }
.el-image { border-radius: var(--r); overflow: hidden; }
.el-image img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.el-image a:hover img { opacity: .9; }
.el-video iframe, .el-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.el-embed { overflow: hidden; }
.yt { position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; display: block; }
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); border-radius: 12px; background: rgba(0, 0, 0, .7) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23fff'/%3E%3C/svg%3E") center / 28px no-repeat; transition: background-color .2s; }
.yt:hover::after, .yt:focus-visible::after { background-color: rgb(255, 0, 0); }
.el-button { display: flex; justify-content: var(--jc); }
.btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 14px 32px; border-radius: 1000px;
       background: var(--bg); color: var(--fg); text-decoration: none; font: 700 14px/1.6 var(--font); letter-spacing: .06em;
       text-transform: uppercase; text-align: center; transition: background .2s, color .2s; }
.btn:hover { background: var(--bgh); color: var(--fgh); }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; justify-content: space-between; align-items: center; height: 100%; }
.social a { color: #000; display: block; transition: color .2s; }
.social a:hover { color: rgb(58, 58, 58); }
.social svg { width: 22px; height: 22px; display: block; }
footer.block { min-height: 0; }

.plain .wrap { max-width: 800px; margin: 0 auto; padding: 0 16px; display: grid; gap: 16px; }
.plain h1 { text-align: center; margin-bottom: 16px; }
.plain a { text-decoration: underline; }

/* mobile: the builder stacks elements in a single column */
@media (max-width: 920px) {
  h1, .h1 { font-size: 40px; } h2 { font-size: 36px; } h3, .h3 { font-size: 32px; }
  h4, .h4 { font-size: 28px; } h5, .h5 { font-size: 24px; } h6 { font-size: 20px; }

  .site-header .bar { display: grid; grid-template-columns: 48px 1fr 48px; gap: 0; min-height: 0; padding: 8px 16px; }
  .logo { grid-column: 2; justify-self: center; }
  .logo img { width: 44px; height: 44px; }
  .menu-toggle { display: flex; grid-column: 1; grid-row: 1; flex-direction: column; justify-content: center; gap: 6px; width: 32px; height: 32px;
                 border: 0; background: none; padding: 0; cursor: pointer; }
  .menu-toggle span { display: block; height: 2px; background: #000; transition: transform .2s, opacity .2s; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-header nav { grid-column: 1 / -1; display: none; }
  .menu-open .site-header nav { display: block; max-height: calc(100dvh - 60px); overflow-y: auto; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; padding: 16px 0; }
  .nav > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid #eee; }
  .nav a { display: block; padding: 12px 0; font-size: 18px; }
  .caret { padding: 12px; }
  .sub { position: static; flex-basis: 100%; box-shadow: none; padding: 0 0 8px 16px; display: none; opacity: 1; visibility: visible; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .sub a { padding: 8px 0; }

  .block { padding: var(--mbp); min-height: 0; }
  .grid { width: 100%; height: auto; display: flex; flex-direction: column; }
  .el { position: static; width: 100%; height: auto; margin: var(--mm); }
  .el-image, .el-video { aspect-ratio: var(--ar); height: auto; border-radius: var(--mr); }
  .el-embed { height: var(--mh); }
  .el-button { height: 50px; }
  .el-socialicons { height: 22px; }
}

/* Account gate screen (lib/access.js) */
.gate { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.gate form { display: grid; gap: 16px; width: min(400px, 100%); text-align: center; }
.gate h1 { font-size: 48px; }
.gate input { font: inherit; padding: 14px 16px; border: 1px solid #ccc; border-radius: 8px; }
.gate .btn { --bg: rgb(50, 50, 50); --bgh: rgb(70, 70, 70); --fg: #fff; --fgh: #fff; border: 0; cursor: pointer; height: auto; }
.gate .gate-error { color: #b00020; }

/* homepage contact row */
.contact { display: flex; justify-content: center; gap: 24px; }
.contact a { text-underline-offset: 3px; }

@media (max-width: 920px) {
  .contact { justify-content: flex-start; }
}

/* Account corner: "Log in / Sign up", or the profile bubble with its menu (site.js). */
.acct { margin-left: auto; position: relative; display: flex; align-items: center; gap: 10px; min-height: 40px; }
.acct a { text-decoration: none; color: #000; font-size: 16px; }
.acct .acct-in, .acct .acct-up { display: inline-flex; align-items: center; justify-content: center; padding: 8px 20px; border-radius: 1000px;
  border: 1.5px solid #000; line-height: 1.2; white-space: nowrap; transition: background .15s, color .15s; }
.acct .acct-in { background: #fff; color: #000; }
.acct .acct-in:hover { background: #000; color: #fff; }
.acct .acct-up { background: #000; color: #fff; }
.acct .acct-up:hover { background: #333; border-color: #333; }
.acct-bubble { width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #000; color: #fff;
  font: 600 15px/40px var(--font); letter-spacing: .02em; text-align: center; }
.acct-bubble:hover { background: #333; }
.acct-bubble:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.acct-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 240px; background: #fff; border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .14); padding: 8px 0; z-index: 60; }
.acct-menu[hidden] { display: none; }
.acct-menu .who { padding: 10px 16px 12px; border-bottom: 1px solid #eee; margin-bottom: 6px; }
.acct-menu .who b { display: block; font-weight: 400; }
.acct-menu .who span { display: block; font-size: 13px; color: #5f6772; overflow: hidden; text-overflow: ellipsis; }
.acct-menu a, .acct-menu button { display: block; width: 100%; text-align: left; padding: 8px 16px; font: inherit; font-size: 15px;
  background: none; border: 0; cursor: pointer; color: #000; text-decoration: none; box-sizing: border-box; }
.acct-menu a:hover, .acct-menu button:hover { background: #f4f4f4; }
.acct-menu .sep { border-top: 1px solid #eee; margin-top: 6px; padding-top: 6px; }
.acct-menu .lbl { padding: 6px 16px 2px; font-size: 12px; color: #5f6772; text-transform: uppercase; letter-spacing: .06em; }
@media (min-width: 921px) and (max-width: 1200px) { .acct .acct-in, .acct .acct-up { padding: 7px 14px; font-size: 15px; } }
@media (max-width: 920px) {
  .acct { grid-column: 3; grid-row: 1; justify-self: end; margin-left: 0; min-height: 32px; gap: 6px; }
  .acct a { font-size: 14px; }
  .acct .acct-in, .acct .acct-up { padding: 6px 12px; }
  .acct-bubble { width: 34px; height: 34px; font-size: 13px; line-height: 34px; }
}
/* Phones: two buttons are wider than the corner and slid under the logo, so signed-out visitors get one.
   "Log in" opens /account/, which also offers creating an account. */
@media (max-width: 480px) { .acct .acct-up { display: none; } }

/* Site search (public/site.js): magnifier button left of the account corner, and the search dialog. */
.srch-btn { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #000; background: #fff; color: #000;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; flex: none; }
.srch-btn:hover { background: #000; color: #fff; }
.srch-btn:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.srch-btn + .acct { margin-left: 10px; }
.srch { width: min(640px, calc(100vw - 24px)); max-height: min(70vh, 640px); margin: 10vh auto auto; padding: 0; border: 0; border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25); background: #fff; color: #1a1a1a; overflow: hidden; }
.srch[open] { display: flex; flex-direction: column; }
.srch::backdrop { background: rgba(0,0,0,.35); }
.srch-box { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid #eee; }
.srch-box input { flex: 1; font: inherit; font-size: 18px; border: 0; outline: 0; padding: 6px 2px; background: none; color: inherit; min-width: 0; }
.srch-close { font: inherit; font-size: 12px; border: 1px solid #ccc; border-radius: 6px; background: #fff; padding: 3px 8px; cursor: pointer; color: #5f6772; }
.srch ul { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.srch li a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: inherit; }
.srch li a b { font-weight: 400; font-size: 16px; }
.srch li a small { grid-column: 1 / -1; font-size: 13px; color: #5f6772; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srch-s { font-size: 12px; color: #5f6772; align-self: center; }
.srch li[aria-selected="true"] a, .srch li a:hover { background: #f1f1ef; }
.srch-none { padding: 14px 12px; color: #5f6772; }
@media (max-width: 920px) {
  .srch { margin-top: 12px; max-height: calc(100vh - 24px); }
  .site-header .bar:has(.srch-btn) { grid-template-columns: 84px 1fr 84px; }
  .srch-btn { grid-column: 1; grid-row: 1; justify-self: end; align-self: center; margin: 0; width: 34px; height: 34px; border: 0; }
  .srch-btn + .acct { margin-left: 0; }
}
