body {
    color: #000;
    background-color: #f9ecd9;

    font-family: "Domine", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    margin: 0;

    overflow-x: hidden;
}

.website-base {
    display: grid;
    grid-template-rows: max-content;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    height: 100vh;
}

.topbar-container {
    grid-area: 1 / 1 / 2 / 2;
    align-self: start;
}

.body-container {
    grid-area: 2 / 1 / 3 / 2;
}

.footer-container {
    grid-area: 3 / 1 / 4 / 2;
    align-self: end;

    position: sticky;
    bottom: 0;
} 

.gacia-header {
    background-color: #25041f;
    color: #fff;

    display: grid;
    grid-template-columns: max-content;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.gaciaHeaderLeft {
    grid-area: 1 / 1 / 2 / 2;
}
.gaciaHeaderRight {
    grid-area: 1 / 2 / 2 / 3;
    justify-self: right;
    align-self: center;
    margin-right: 0.5rem;
}

.gaciaHeaderLeftContainer {
    display: grid;
    grid-template-columns: max-content;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}
.gaciaHeaderLeftContainer1 {
    grid-area: 1 / 1 / 2 / 2;
    justify-self: center;
    align-self: center;
}
.gaciaHeaderLeftContainer2 {
    font-size: 1.5rem;
    margin-left: 0.5rem;

    grid-area: 1 / 2 / 2 / 3;
    justify-self: center;
    align-self: center;
}

.gheader-pomegranate {
    width: 3rem;
    margin-left: 1.4rem;
    margin-top: 0.2rem;
}

.top-bgart {
    position: absolute;
    z-index: -99999;
}
.top-bgart img {
    width: 40rem;
}

.card1-frame {
    background: #302039; /* border color */
    padding: 4px;        /* border thickness */
    filter: drop-shadow(6px 6px 0 #302039);
    clip-path: polygon(
        12px 0, calc(100% - 12px) 0,
        calc(100% - 12px) 4px, calc(100% - 8px) 4px,
        calc(100% - 8px) 8px, calc(100% - 4px) 8px,
        calc(100% - 4px) 12px, 100% 12px,
        100% calc(100% - 12px),
        calc(100% - 4px) calc(100% - 12px),
        calc(100% - 4px) calc(100% - 8px),
        calc(100% - 8px) calc(100% - 8px),
        calc(100% - 8px) calc(100% - 4px),
        calc(100% - 12px) calc(100% - 4px),
        calc(100% - 12px) 100%,
        12px 100%, 12px calc(100% - 4px),
        8px calc(100% - 4px), 8px calc(100% - 8px),
        4px calc(100% - 8px), 4px calc(100% - 12px),
        0 calc(100% - 12px), 0 12px,
        4px 12px, 4px 8px, 8px 8px, 8px 4px, 12px 4px
    );
}
.card1-card {
    background: #fff4dc;
    color: #302039;
    padding: 4rem;
    clip-path: polygon(
        8px 0, calc(100% - 8px) 0,
        calc(100% - 8px) 4px, calc(100% - 4px) 4px,
        calc(100% - 4px) 8px, 100% 8px,
        100% calc(100% - 8px),
        calc(100% - 4px) calc(100% - 8px),
        calc(100% - 4px) calc(100% - 4px),
        calc(100% - 8px) calc(100% - 4px),
        calc(100% - 8px) 100%,
        8px 100%, 8px calc(100% - 4px),
        4px calc(100% - 4px), 4px calc(100% - 8px),
        0 calc(100% - 8px), 0 8px,
        4px 8px, 4px 4px, 8px 4px
    );
}

.intro-container {
    margin-top: 1rem;
}

.intro-container-wrap {
    width: 71.5rem;
    margin-inline: auto; /* centers the card (or the entire wrapper actually) horizontally. a width must be set for this to work */
    position: relative; /* we must set the position of this parent to 'relative' so the 'absolute' position of .intro-container-icons work properly */
    margin-top: 1rem;
}
.intro-container-icons {
    position: absolute;
    right: -1.2rem;
    bottom: -1rem;
    margin: 0;
} 
.intro-container-icons img {
    width: 3.4rem;
    margin-right: -0.7rem;
}

.intro-container-icons-mobile {
    display: none;
}
.intro-container-icons-mobile img {
    width: 3.4rem;
}

p.eyebrow {
    color: #a34d48;
    font-size: 3.2rem;
    font-weight: bold;
    letter-spacing: 0.12em;
    margin: 0;
    text-transform: uppercase;
    word-wrap: break-word;
}
p.gacia-injeyan {
    font-size: 4rem;
    margin: 0;
    text-align: center;
    color: #9a3f3e;
}

.intro-list {
    font-size: 2rem;
}

.middle-valign {
    vertical-align: middle;
}

.horizontal-list {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: fit-content;
}
.horizontal-list li::before {
    content: none;
}
.horizontal-list li + li::before {
    content: "•";
    margin-right: 1rem;
}

.ornament-divider {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  margin: 24px 0;
  color: #8f2926;
}
.ornament-divider::before,
.ornament-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #55483e;
}
.ornament-divider span {
  font-size: 25px;
  line-height: 1;
}

.top-divider-below-gacia-injeyan {
    width: 24rem;
    margin: 10px auto;  /* centers the divider */
}

.work-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 32px;
  border: 2px solid #541b1a;
  border-radius: 9px;
  background: linear-gradient(#b43b36, #922b29);
  box-shadow:
    inset 0 0 0 2px #d88978,
    0 3px 0 #541b1a;
  color: #f6e8d1;
  letter-spacing: 0.4px;
  text-decoration: none;
  text-shadow: 0 1px 1px #64201d;
  transition: transform 120ms ease, filter 120ms ease;
  font-weight: bold;
  text-transform: uppercase;
}
.work-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.work-button:active {
  transform: translateY(2px);
  box-shadow: inset 0 0 0 2px #d88978, 0 1px 0 #541b1a;
}
.work-button:focus-visible {
  outline: 3px solid #b43b36;
  outline-offset: 4px;
}

.featured-story-container {
    display: grid;
    grid-template-columns: max-content;
    grid-column-gap: 1rem;
    grid-row-gap: 0px; 
}
.featured-story-avatar {
     grid-area: 1 / 1 / 2 / 2;
     width: 16rem;
     align-self: end;
}
.featured-story-content {
     grid-area: 1 / 2 / 2 / 3;
}

.featured-story-title {
    word-wrap: break-word;

    /* continue with dots if line is too long */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.featured-story-summary {
    /* continue with dots if line is too long */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.featured-story-avatar img {
    width: 14rem;
    scale: 1.6;
}

.footer-container img {
    width: 12rem;
}

.social-icon {
    width: 2rem !important;
    height: 2rem !important;
}

.desktop-navbar {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  margin-inline: auto;
  width: fit-content;
}
.desktop-navbar li {
  float: left;
}
.desktop-navbar li a {
  display: block;
  color: #210303;
  text-align: center;
  padding: 16px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
}
.desktop-navbar li a:hover {
  background-color: #25041f;
  color: #fff;
}

/* Phone screens and tablets (from screens with resolution width 0px to 1366px) */
@media screen and (max-width: 1366px) {
    p.gacia-injeyan {
        font-size: 2rem;
    }

    .intro-list {
        font-size: 1.5rem;
        margin-top: 1rem !important;
    }

    .featured-story-container {
        display: grid;
        grid-template-columns: 100%;
        grid-column-gap: 0px;
        grid-row-gap: 1rem; 
        text-align: center;
    }

    .featured-story-avatar {
        grid-area: 1 / 1 / 2 / 2;
        width: 100%;
        background: url("/assets/img/bg_art.png") no-repeat 60% 30% fixed; 
    }

    .featured-story-content {
        grid-area: 2 / 1 / 3 / 2;
        padding: 1rem;
    }

    .featured-story-avatar img {
        scale: unset;
    }

    .intro-container-wrap {
        width: 100vw;
    }

    .desktop-navbar {
        display: none;
    }

    .intro-container-icons {
        display: none;
    }

    .top-bgart {
        display: none;
    }

    p.eyebrow {
        font-size: 2rem;
    }

    .intro-container-wrap .card1-card {
        padding: 0;
    }

    .intro-container-icons-mobile {
        display: block;
    }
}

/* Small desktop screens (from screens with resolution width 1367px to 1732px) */
@media screen and (min-width: 1367px) and (max-width: 1732px) {
    .top-bgart img {
        width: 25rem;
        margin-top: 6rem;
    }
}

/* Medium desktop screens (from screens with resolution width 1733px to 1833px) */
@media screen and (min-width: 1733px) and (max-width: 1833px) {
    .top-bgart img {
        width: 38rem;
    }
}

/* Standard resolutions like 1920x1080 don't have media queries because this website was built on a 1920x1080 monitor */

/* Large desktop screens (from screens with resolution width 2260px to 2865px) */
@media screen and (min-width: 2260px) and (max-width: 2865px) {
    .intro-container-wrap {
        width: 100rem;
    }

    .featured-story-content {
        text-align: right;
    }
}

/* Very large desktop screens (from screens with resolution width 2866px to 3839px) */
@media screen and (min-width: 2866px) and (max-width: 3839px) {
    .intro-container-wrap {
        width: 110rem;
    }

    .featured-story-content {
        text-align: right;
    }

    .top-bgart img {
        width: 44rem;
    }
}

/* 4K screens (from screens with resolution width 3840px to ...) */
@media screen and (min-width: 3840px) {
    .intro-container-wrap {
        width: 110rem;
    }

    .featured-story-content {
        text-align: right;
    }

    .top-bgart img {
        width: 69rem;
    }
}