/* Box Model Hack: By default, padding and borders can make an element wider than the width we gave it. border-box tells the browser to INCLUDE padding and border inside the declared width, which makes sizing easier to predict. */
* {
  box-sizing: border-box;
}

/* Clear fix hack */
.clearfix:after {
     content: ".";
     display: block;
     clear: both;
     visibility: hidden;
     line-height: 0;
     height: 0;
}

.clear {
	clear: both;
}

/******************************************
/* BASE STYLES
/*******************************************/

/* The browser normally adds some margin around BODY. Setting margin to 0 lets the navy/orange/cream sections reach all the way to the edges of the browser, like the reference image. */

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: rgb(23, 57, 74);
  background-color: rgb(245, 239, 226);
  line-height: 1.5;
}

/* Browser automatically give headings and paragraphs top margins. Removing the top margin lets me control the vertical spacing myslef. */

h1, h2, h3, p {
  margin-top: 0;
}

/* These headings have a large, chunky, bold vibe */

h1, h2, h3 {
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-weight: 900;
}

/* A reusable centered container: width: 74% makes the content fluid because it changes with its parent. */
/* - max-width stops it from becoming too stretched on very large screens. */
/* - margin: 0 auto divides the remaining left/right space evenly. */

.inner-container {
  /* width: 90%; */
  width: 74%;
  max-width: 1100px;
  margin: 0 auto;
}


/******************************************
/* HEADER
/*******************************************/

.main-nav {
  background-color: rgb(18, 63, 85);
}

/* - display: flex turns the direct children into flex items. The logo stays on the left while .nav-actions sits on the right.  */
/* - align-items: center centers them vertically inside the navigation row. */

.nav-content {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */

/* This is an anchor link, so text-decoration: none removes its normal underline & white-space: nowrap prevents the business name from breaking into two lines at normal desktop widths. */

.logo {
  color: rgb(255, 255, 255);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

/* Only the word TIDE inside the logo receives the orange color. */

.logo span {
  color: rgb(245, 91, 50);
}

/* NAVIGATION */

/* This wrapper groups the navigation and phone number together instead of being spread across the entire header. */
/* The smaller gap keeps them visually related like the reference image. */

.nav-actions {
  display: flex;
  align-items: center;
  /* gap: 30px; */
  gap: 24px;
}  

/* UL elements normally have bullets, margin, and padding -- removed those defaults because this particular navigation is horizontal. */
/* display: flex places the three LI elements beside one another. */

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  /* gap: 28px; */
  gap: 24px;
  margin: 0;
  padding: 0;
}

/* Styles only the links inside the navigation list. */
.nav-list a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

/* :hover = a pseudo-class = applies only while the mouse pointer is over a naviagtion link. */

.nav-list a:hover {
  color: rgb(245, 91, 50);
}


/* PHONE BUTTON */

/* display: inline-block lets the link behave like a box so padding and rounded corners can create the pill shape from the reference. */

.phone-button {
  display: inline-block;
  color: rgb(255, 255, 255);
  background-color: rgb(245, 91, 50);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-radius: 30px;
  padding: 10px 23px;
  white-space: nowrap;
}

/* ORANGE ANNOUNCEMENT BAR */

/* - background-color creates the orange strip. */
/* - text-align centers the text inside that strip. */
/* - padding adds space above/below and left/right INSIDE the orange bar. */

.announcement-bar {
  background-color: rgb(245, 91, 50);
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 8px 20px;
}

/* P elements normally have margin; removing it keeps the announcement bar compact like the reference.  */

.announcement-bar p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

/* These spans contain the bullet separators between the three messages. */
.announcement-bar span {
  margin: 0 6px;
}

/* HERO */

/* The image path is relative to THIS CSS file. style.css is inside the css folder. */
/* - ../ means "go up one folder," then /img enters the image folder. */


/* - background-size: cover makes the image fill the hero without stretching it. */
/* - background-position chooses which part remains most visible if cropping occurs. */
/* - no-repeat prevents the image from repeating (or tiling) across an element */

.hero {
  /* min-height: 570px; */
  min-height: 525px;
  background-image: url("../img/Lobster-Roll.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* This semi-transparent navy layer darkens the image so text is readable. */
/* rgba = red, green, blue, ALPHA; Alpha controls transparency. */
/* 0 = invisible/completely transparent, 1 = completely solid, 0.66 = 66% opaque/partially transparent. */

.hero-overlay {
  /* min-height: 570px; */
  min-height: 525px;
  background-color: rgba(8, 35, 49, 0.66);
  display: flex;
  align-items: center;
}

/* The hero text intentionally takes only part of the available width; that leaves the lobster roll visible on the right like the reference. */

.hero-content {
  max-width: 555px;
  color: rgb(255, 255, 255);
}


/* SMALL ALL-CAPS LABEL */

/* - "Eyebrow" is a common design term for the small label above a headline. */
/* - letter-spacing adds space BETWEEN letters. */
/* - text-transform displays the words in uppercase. */

.eyebrow {
  color: rgb(239, 145, 111);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* MAIN PAGE HEADING */

.hero h1 {
  color: rgb(255, 255, 255);
  font-size: 58px;
  line-height: 1.04;
  margin-bottom: 22px;
}

/* Thereference's supporting hero copy is softer than pure white. */
/* rgba lets the background show through slightly while keeping the text readable.  */

.hero-description {
  max-width: 545px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* - Flexbox places the two hero links beside one another.  */
/* - gap creates space BETWEEN those flex items. */

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

/* BASE BUTTON: Both hero links share these declarations so the same rules don't need to be repeated in both button classes. */

.button {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

/* First button = solid orange. */

.button-orange {
  color: rgb(255, 255, 255);
  background-color: rgb(245, 91, 50);
  border: 2px solid rgb(245, 91, 50);
}

/* Second button = transparent so the photo shows through, with a white border to create its outline. */

.button-outline {
  color: rgb(255, 255, 255);
  background-color: transparent;
  border: 2px solid rgb(255, 255, 255);
}

/* PAYMENT NOTE*/

/* The reference makes this note subtler than the main white content. */
/* - The strong portion is intentionally a little brighter than the rest. */

.payment-note {
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 0;
  font-size: 12px;
}

.payment-note strong {
  color: rgba(255, 255, 255, 0.92);
}


/* SHARED SECTION STYLES */

/* These two light sections use the same cream background and vertical spacing. */
.menu-section, .wharf-section {
  background-color: rgb(245, 239, 226);
  /* padding: 100px 0; */
  padding: 82px 0;
}

/* Strong orange version of the small eyebrow/section label. This is used in the light-colored sections. */

.orange-text {
  color: rgb(245, 91, 50);
}


/* Major headings for the menu, how-to, and wharf sections. */

.menu-section h2, .how-to-section h2, .wharf-section h2 {
  font-size: 37px;
  line-height: 1.1;
  margin-bottom: 10px;
}

/* Short introductory paragraph used beneath major section heading. */
/* - max-width prevents the text from stretching too far across the page. */

.section-intro {
  max-width: 675px;
  color: rgb(108, 121, 126);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 38px;
}


/* MENU SECTION */

/* Flexbox places the two large menu cards side-by-side on desktop. */

.menu-cards {
  display: flex;
  gap: 22px;
  /* gap: 25px; */
}


/* flex: 1 tells both menu cards to share the available space in row equally. */
/* - padding creates space INSIDE each white card. */
/* - box-shadow creates the subtle shadow visible in the reference. */
/* - rgba = used for the shadow because the final ALPHA number controls how faint or strong that shadow appears. */

.menu-card {
  flex: 1;
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(217, 212, 202);
  border-radius: 11px;
  padding: 27px 30px;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.07);
}


/* The two cards have different colored top borders (i.e., navy for the first & orange for the second). */

.water-card {
  border-top: 5px solid rgb(18, 63, 85);
}

.sides-card {
  border-top: 5px solid rgb(245, 91, 50);
}


.menu-card h3 {
  font-size: 21px;
  margin-bottom: 23px;
}

/* MENU LIST */

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each menu item becomes a small flex row: item text on the left, dotted flexible line in the middle, price on the right. */

.menu-list li {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  /* margin-bottom: 18px; */
  margin-bottom: 17px;
}

/* This wrapper contains the menu item name and, where necessary, its smaller description underneath. */

.menu-item-text {
  flex-shrink: 0;
  max-width: 65%;
}

.menu-item-text strong {
  display: block;
  font-size: 14px;
}

/* The description is intentionally lighter than the menu-item name, like the smaller gray text in the reference pic. */

.menu-item-text small {
  display: block;
  color: rgb(121, 132, 136);
  font-size: 12px;
  /* margin-top: 4px; */
  margin-top: 3px;
}

/* flex: 1 tells this empty span to grow into whatever horizontal space remains. */
/* - Its bottom border creates the dotted leader between the item and its price. */

.menu-dots {
  flex: 1;
  border-bottom: 2px dotted rgb(204, 191, 169);
  /* margin-bottom: 5px; */
  margin-bottom: 4px;
}

/* Prices are orange, bold, italic, and prevented from wrapping. */

.price {
  color: rgb(245, 91, 50);
  font-weight: 900;
  font-style: italic;
  font-size: 13px;
  white-space: nowrap;
}

/* BYOB note: centered beneath the two cards. */
/* - The sentenec is lighter than the BYOB itself. */

.byob-note {
  text-align: center;
  margin: 35px 0 0;
  color: rgb(108, 121, 126);
  font-size: 13px;
}

.byob-note strong {
  color: rgb(23, 57, 74);
}


/* LOBSTER HOW-TO */

.how-to-section {
  background-color: rgb(18, 63, 85);
  color: rgb(255, 255, 255);
  padding: 82px 0 88px;
}

/* Although this label also has the orange-text class in the HTML, this more specific selector changes ONLY the How-To eyebrow to the softer peach color used by the hero eyebrow in the reference. */

.how-to-section .eyebrow {
  color: rgb(239, 145, 111);
}

.how-to-section h2 {
  color: rgb(255, 255, 255);
}


/* Intro needs a lighter color against the navy section */

.how-to-section .section-intro {
  color: rgb(196, 210, 216);
}

/* STEP CARDS  */

/* - OL keeps the semantic meaning of an ordered sequence. */
/* - list-style: none hides the browser's normal 1,2,3,4 because the design uses custom orange circles instead. */
/* - Flexbox places the four LI cards in one desktop row. */

.steps-list {
  list-style: none;
  display: flex;
  /* gap: 22px; */
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* Each li becomes one card. 
- flex: 1 gives all four cards equal access to the row's available width. */

.steps-list li {
  flex: 1;
  /* min-height: 250px; */
  min-height: 245px;
  background-color: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  /* padding: 28px 24px; */
  padding: 26px 23px;
}

/* Orange circle containing the step number. */
/* - display: flex + align-items + justify-content centers the number vertically AND horizontally inside the 36px circle. */

.step-number {
  /* width: 38px; */
  width: 36px;
  /* height: 38px; */
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(245, 91, 50);
  color: rgb(255, 255, 255);
  border-radius: 50%;
  font-weight: 900;
  /* margin-bottom: 20px; */
  margin-bottom: 19px;
}

.steps-list h3 {
  color: rgb(255, 255, 255);
  font-size: 15px;
  margin-bottom: 10px;
}

.steps-list p {
  color: rgb(210, 222, 226);
  font-size: 13px;
  /* line-height: 1.7; */
  line-height: 1.65;
  margin-bottom: 0;
}

/* FIND THE WHARF */

.wharf-section h2 {
  /* margin-bottom: 40px; */
  margin-bottom: 36px;
}

/* Flexbox places all three location/information cards into one row. */

.wharf-cards {
  display: flex;
  /* gap: 25px; */
  gap: 22px;
}

/* flex:1 lets the three cards share the row equally. */
.info-card {
  flex: 1;
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(230, 224, 213);
  /* border-radius: 12px; */
  border-radius: 11px;
  padding: 27px;
  /* box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06); */
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.06);
}

.info-card h3 {
  font-size: 17px;
  margin-bottom: 16px;
}

.info-card p {
  color: rgb(83, 103, 111);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 6px;
}

/* Browsers usually italicize ADDRESS automatically. The reference pic doesn't use italic text here, so turned off that default styling. */

address {
  font-style: normal;
}

/* Only links inside the information cards receive this orange treatment. */

.info-card a {
  color: rgb(245, 91, 50);
  font-weight: 800;
}

/* Unlike the phone number, this link is not inside a 13px paragraph. Giving it an explicit 13px font size keeps it from falling back to the larger body font and better matches the reference pic. */

.directions-link {
  display: inline-block;
  margin-top: 5px;
  font-size: 13px;
}


/* FOOTER */

/* position: relative gives the decorative ::before and ::after shapes a positioning reference. */
/* The footer begins immediately after the cream section; the pseudo-elements rise above its top edge to form the soft wavy transition. */

footer {
  position: relative;
  background-color: rgb(8, 53, 72);
  color: rgb(255, 255, 255);
  margin-top: 0;
  padding: 58px 0 24px;
}

/* ::before and ::after are pseudo-elements:  */
/* - CSS creates these decorative shapes without requiring meaningless HTML. */

/* The two overlapping, very wide rounded shapes create a gentle uneven curve rather than one sharp semicircle. */

/* IMPT: ::before and ::after are TWO different pseudo-elements. Messed up on earlier version. */

footer::before, footer::after {
  content: "";
  position: absolute;
  background-color: rgb(8, 53, 72);
  z-index: 0;
}

/* Left portion of the wave */

footer::before {
  width: 64%;
  height: 34%;
  left: -5%;
  top: -18px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* Right portion of the wave. */
/* - Its slightly different height and top position prevents the transition from looking like two identical bumps. */

footer::after {
  width: 64%;
  height: 30px;
  right: -7%;
  top: -11px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}


/* The real footer content needs to remain visually above the decorative shapes. */

footer .inner-container {
  position: relative;
  z-index: 1;
}

/* FOOTER COLUMNS */

/* Flexbox places the three footer sections beside one another. */

.footer-columns {
  display: flex;
  gap: 62px;
  padding-bottom: 38px;
}

/* All three footer sections share the available row width. */

.footer-columns section {
  flex: 1;
}

.footer-columns h3 {
  color: rgb(255, 255, 255);
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-columns p {
  color: rgb(184, 202, 210);
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 4px;
}

/* Footer links use the same light blue-gray as the surrounding footer copy. */

.footer-columns a {
  color: rgb(184, 202, 210)
}

/* VERY BOTTOM FOOTER ROW */

/* - The top border creates the subtle dividing line. */

/* CSS Grid is used here because the reference has three visual zones: a) copyright on the left, b) Back to top centered, and c) empty space on the right. */

/* Three equal columns let the link sit in the TRUE horizontal center without chnaging the HTML. */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  /* padding-top: 25px; */
  padding-top: 21px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.footer-bottom p {
  justify-self: start;
}

.footer-bottom a {
  grid-column: 2;
  justify-self: center;
}

.footer-bottom p, .footer-bottom a {
  color: rgb(157, 179, 189);
  font-size: 11px;
  margin-bottom: 0;
}


/******************************************
/* ADDITIONAL STYLES/RESPONSIVENESS
/*******************************************/

/* This hamburger starts hidden because the normal navigation should appear appear on desktop and tablet screens. */
.salmonBurger {
  display: none;
}

/* These three SPAN elements become the three horizontal lines that visually make up the hamburger icon. */
.salmonBurger span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: rgb(255, 255, 255);
  border-radius: 2px;
}


/* BREAKPOINT 1: COMPACT DESK - At about 1000px, the desktop design still works, but the header and four-card areas begin getting crowded. */

@media screen and (max-width: 1000px) {  

  /* The normal 74% container becomes too narrow as the browser shrinks. Giving it more of the screen keeps useful space available for the content. */
  .inner-container {
    width: 86%;
  }
  
  /* Reducing these gaps keeps the logo, navigation, and phone number on one line for longer without changing the basic desktop structure. */
  .nav-actions {
    gap: 18px;
  }

  .nav-list {
    gap: 18px;
  }

  .nav-list a {
    font-size: 13px;
  }
  
  .phone-button {
    font-size: 13px;
    padding: 9px 18px;
  }

  /* The hero heading becomes slightly smaller so it continues fitting comfortably while still remaining the dominant text on the page. */
 .hero h1 {
  font-size: 52px;
  }

  /* The four How-To cards still stay in one row here, but slightly smaller gaps and padding give their text more room. */
  .steps-list {
    gap: 14px;
  }

  .steps-list li {
    padding: 23px 18px;
  }
  
  /* The footer remains a row, but its columns need less empty space between them at this narrower desktop width. */
  .footer-columns {
    gap: 40px;
  }
}


/* BREAKPOINT 2: TABLET/NARROW SCREEN - At about 760px, keeping every desktop row intact makes important content too narrow, so some layouts reflow. */

@media screen and (max-width: 760px) {

  /* More of the available screen is now needed for actual content. */
  .inner-container {
    width: 90%;
  }

/* The full phone-number button takes too much header space on narrower screens. The phone number remains available as a clickable tel: link in the Wharf section and footer. Ideally though I would actually want a very conveneient mobile call CTA. */
  .phone-button {
    display: none;
  }
  
  .nav-content {
    min-height: 64px;
  }

  .nav-actions {
    gap: 0;
  }

  .nav-list {
    gap: 20px;
  }

  /* Smaller hero type keeps the main heading readable without crowding the narrower photograph area. */
  .hero h1 {
    font-size: 46px;
  }

  .hero-description {
    font-size: 15px;
  }

  /* The four How-To cards no longer have enough useful room in one row = flex-wrap allows them to become two cards per row instead. */
  .steps-list {
    flex-wrap: wrap;
  }

  .steps-list li {
    flex: 1 1 45%;
    min-height: 0;
  }

  /* Three Wharf cards are also too cramped in one narrow row. The first two share a row and the final card gets its own row. */
  .wharf-cards {
    flex-wrap: wrap;
  }

  .info-card {
    flex: 1 1 45%;
  }

  .info-card:last-child {
    flex-basis: 100%;
  }

  /* Slightly smaller footer spacing prevents the three columns from becoming unnecessarily compressed. */
  .footer-columns {
    gap: 28px;
  }
}


/* BREAKPOINT 3: MOBILE - At about 520px, the desktop/tablet rows no longer make sense = Important content stacks vertically and the regular nav is replaced by hamburger */

@media screen and (max-width: 520px) {

  /* Almost the entire phone width should be available for content, while still leaving a small margin on both sides. */
  .inner-container {
    width: 90%;
  }

  /* MOBILE HEADER */

  .nav-content {
   min-height: 60px;
  }

  /* The logo needs to remain readable but use less horizontal room. */

  .logo {
   font-size: 13px;
  }

  /* Hide the three normal navigation choices at the smallest width. */

.nav-list > li:not(.salmonBurger) {
  display: none;
}

 /* Show the visual hamburger in a compact box. */

/* .nav-list .salmonBurger {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(245, 91, 50);
    border-radius: 6px;
    font-size: 21px;
  } */
   
  /* At the smallest screen size, shows the hamburger in place of the three full navigation links to save horizontal space. */
  .nav-list .salmonBurger {
  width: 42px;
  height: 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background-color: rgb(245, 91, 50);
  border-radius: 6px;
}

.nav-list {
    gap: 0;
  }
  
  /* The announcement can wrap naturally instead of forcing all three messages onto one cramped line. */
  
   .announcement-bar {
    padding: 8px 12px;
  }

  .announcement-bar p {
    font-size: 11px;
    line-height: 1.5;
  }

/* MOBILE HERO */

 /* The hero does not need to remain as tall as its desktop version. */

  .hero, .hero-overlay {
    min-height: 470px;
  }
  
  .hero h1 {
    font-size: 40px;
    line-height: 1.05;
  }
  
  .hero-description {
    max-width: 100%;
    font-size: 14px;
    line-height: 1.6;
  }

  /* The two hero links stack so neither one becomes cramped or causes horizontal overflow on a narrow phone. */
  
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .button {
    min-width: 150px;
    text-align: center;
  }

/* MOBILE SECTION SPACING */

 /* Large desktop padding wastes too much vertical space on a phone, so each major section receives a smaller amount. */

.menu-section, .wharf-section {
    padding: 58px 0;
  }
  
  .how-to-section {
    padding: 58px 0 62px;
  }
  
  /* Section headings shrink enough to fit comfortably, but remain clearly larger than their body text. */

  .menu-section h2, .how-to-section h2, .wharf-section h2 {
    font-size: 31px;
  }

  .section-intro {
    max-width: 100%;
    margin-bottom: 30px;
  }

/* MOBILE MENU */

/* Two large menu cards no longer fit comfortably beside one another; changing the Flexbox direction stacks them vertically. */

.menu-cards {
    flex-direction: column;
    gap: 18px;
  }
  
  .menu-card {
    width: 100%;
    padding: 24px 20px;
  }
  
  /* The item text can use more of each full-width card now. */

  .menu-item-text {
    max-width: 72%;
  }

  .byob-note {
    margin-top: 28px;
  }

/* MOBILE HOW-TO */

/* Tablet used two cards per row. Mobile changes the ordered list to one full-width card per row. */
.steps-list {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 14px;
  }
  
  .steps-list li {
    width: 100%;
    flex: none;
    min-height: 0;
    padding: 22px;
  }

/* MOBILE WHARF */

/* All three information cards become one vertical column so every card can use the phone's available width. */
.wharf-cards {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 16px;
  }

  .info-card, .info-card:last-child {
    width: 100%;
    flex: none;
  }

/* MOBILE FOOTER */

/* The three desktop footer columns stack because three narrow columns would make the text difficult to read on a phone. */
.footer-columns {
  flex-direction: column;
  gap: 22px;
  padding-bottom: 28px;
  }
  
  .footer-columns section {
    width: 100%;
    flex: none;
  }
  
  /* The final copyright and Back-to-top items also stack; centering them gives this small-screen footer a clean ending. */
  .footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }
}

