/**
 * Main Stylesheet for jessicahosman.com
 *
 * This file contains all the core styles for the website, including:
 * - Global typography and link styling
 * - Logo styling with 3D anaglyph hover effect
 * - Navigation and footer
 * - Essay/project page layouts (desktop and mobile)
 * - Homepage project grid
 * - About page styling
 *
 * To link this stylesheet in your HTML, use:
 * <link rel="stylesheet" href="/assets/css/main.css">
 */


/* ══════════════════════════════════
   Reset and Global Body Styles
   ══════════════════════════════════ */

/**
 * Global Reset
 * Removes default spacing (margins and padding) from all elements
 * and applies border-box sizing for easier layout calculations.
 * This creates a consistent baseline across all browsers.
 */
* { margin: 0; padding: 0; box-sizing: border-box; }

/**
 * Body Default Styles
 * Sets the base font, text size, and overall page appearance.
 *
 * Font: Open Sans (a clean, readable sans-serif)
 * Size: 15px (the default text size for body content)
 * Line Height: 1.7 (controls spacing between lines of text)
 * Color: Dark gray (#333) for good readability on white background
 *
 * To change the base text size across the whole site, adjust
 * the font-size value here. To change the overall page background
 * color, modify the background value.
 */
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}


/* ══════════════════════════════════
   Link Styling
   ══════════════════════════════════ */

/**
 * Default Links
 * Links appear in a teal color (#00a5b0) by default.
 * Remove the underline for a cleaner look.
 *
 * To change the link color, modify the color value.
 */
a {
  color: #00a5b0;
  text-decoration: none;
}

/**
 * Link Hover State
 * When you hover over a link with your mouse, it changes to
 * a vibrant magenta/pink color (#d4003c) to provide visual feedback.
 *
 * To change the hover color, modify the color value here.
 */
a:hover {
  color: #d4003c;
}


/* ══════════════════════════════════
   Header and Logo Styling
   ══════════════════════════════════ */

/**
 * Site Header Container
 * The top bar that holds the logo and navigation.
 *
 * Flexbox Layout: Uses 'space-between' to push the logo to the
 * left and navigation to the right, with 'center' alignment
 * vertically. To stack them vertically on mobile, see the
 * @media query at the bottom of this file.
 *
 * Padding: 30px top/bottom, 40px left/right. To add more space
 * around the header, increase these padding values.
 */
.site-header {
  padding: 30px 40px 20px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/**
 * 3D Anaglyph Logo
 * This creates the main logo with a cool 3D effect using red and
 * cyan color shifts (anaglyph 3D).
 *
 * The effect is created using ::before and ::after pseudo-elements
 * that display the same text offset slightly to the left and right
 * in different colors, creating a 3D appearance.
 *
 * Size: 22px. To make the logo larger or smaller, change the
 * font-size value. The offset values (the pixel measurements in
 * the ::before and ::after sections) may need adjustment if you
 * significantly change the size.
 *
 * Interactivity: The logo includes a hover effect that exaggerates
 * the offset when you move your mouse over it (see .logo-3d:hover
 * rules below).
 */
.logo-3d {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  font-size: 22px;
  color: #222;
  cursor: pointer;
  text-decoration: none;
}

/**
 * 3D Effect - Cyan/Blue Layer
 * This is the left-offset layer that appears in cyan color behind
 * the main logo text. The 'data-text' attribute from the HTML is
 * duplicated here to create the layering effect.
 *
 * Opacity: 0.7 (70% visible). To make this layer more or less
 * visible, adjust the opacity value between 0 and 1.
 *
 * Offset: -2px left, 1px down. To change how far this layer shifts,
 * adjust the left and top values.
 *
 * Transition: The hover effect (below) animates these offsets
 * smoothly over 0.2 seconds.
 */
.logo-3d::before {
  content: attr(data-text);
  position: absolute;
  left: -2px;
  top: 1px;
  color: #00c8d4;
  z-index: -1;
  opacity: 0.7;
  transition: all 0.2s ease;
}

/**
 * 3D Effect - Magenta/Red Layer
 * This is the right-offset layer that appears in magenta color
 * behind the main logo text.
 *
 * Opacity: 0.6 (60% visible). Adjust this to control visibility
 * of the red layer.
 *
 * Offset: 2px right, 1px up. To change how far this layer shifts,
 * adjust the left and top values.
 */
.logo-3d::after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  top: -1px;
  color: #d4003c;
  z-index: -1;
  opacity: 0.6;
  transition: all 0.2s ease;
}

/**
 * 3D Logo Hover - Cyan Layer Animation
 * When you hover over the logo, this layer shifts further to the
 * left and down, exaggerating the 3D effect for visual impact.
 *
 * To make the hover effect more dramatic, increase the offset values
 * (left and top). To make it subtle, decrease them. To disable the
 * hover effect entirely, you can remove these rules, but keep the
 * transition in the base .logo-3d::before rule for smooth animation.
 */
.logo-3d:hover::before {
  left: -3.5px;
  top: 1.5px;
}

/**
 * 3D Logo Hover - Magenta Layer Animation
 * When you hover, this layer shifts further right and up.
 */
.logo-3d:hover::after {
  left: 3.5px;
  top: -1.5px;
}

/**
 * Logo Wrapper
 * This container holds both the main logo text and the subtitle
 * ("photography"), stacking them vertically.
 *
 * Using display: inline-block keeps the wrapper compact, only taking
 * up the space needed for its content.
 */
.logo-wrap {
  display: inline-block;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

/**
 * Main Logo Text (inside wrapper)
 * The primary logo text inside the .logo-wrap container.
 *
 * Font: Syne (a bold, distinctive sans-serif)
 * Weight: 700 (bold)
 * Size: 22px
 * Letter Spacing: 1px (adds breathing room between letters)
 */
.logo-wrap .logo-3d {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
}

/**
 * Logo Subtitle ("photography")
 * Appears below the main logo text.
 *
 * Font: Syne (same as main logo for visual consistency)
 * Weight: 600 (semi-bold, lighter than the main text)
 * Size: 15px (smaller than the main logo)
 * Color: Teal (#00b8c4)
 * Spacing: -10px top margin (pulls subtitle closer to the logo)
 * Letter Spacing: 0.78em (very wide spacing - change this to make
 *                          the text more or less spread out)
 *
 * To make the subtitle more prominent, increase the font-size.
 * To make it tighter to the main logo, increase the negative top margin.
 */
.logo-wrap .logo-subtitle {
  display: block;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #00b8c4;
  margin-top: -10px;
  letter-spacing: 0.78em;
  text-align: center;
}


/* ══════════════════════════════════
   Navigation Styling
   ══════════════════════════════════ */

/**
 * Navigation Container
 * Holds all navigation links in a horizontal row at the top right.
 *
 * Flexbox with gap: 24px creates even spacing between each link
 * (24 pixels between them). To make navigation links closer or
 * further apart, adjust the gap value.
 */
.site-nav {
  display: flex;
  gap: 24px;
}

/**
 * Navigation Links
 * Individual navigation link styling.
 *
 * Font: Syne (matches the logo for visual consistency)
 * Weight: 600 (semi-bold)
 * Size: 15px
 * Color: Dark gray (#555)
 * Letter Spacing: 0.5px (slight spacing for elegance)
 *
 * To make nav links larger or smaller, change the font-size.
 * To change the color, modify the color value.
 */
.site-nav a {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #555;
  text-decoration: none;
  letter-spacing: 0.5px;
}

/**
 * Navigation Link Hover State
 * When you hover over a nav link, it changes to teal (#00b8c4).
 * This provides visual feedback and matches the site's accent color.
 *
 * To change the hover color, modify the color value.
 */
.site-nav a:hover {
  color: #00b8c4;
}


/* ══════════════════════════════════
   Footer Styling
   ══════════════════════════════════ */

/**
 * Site Footer Container
 * The footer appears at the bottom of every page.
 *
 * Padding: 60px top/bottom, 20px left/right. To add more space
 * above and below the footer content, increase the vertical padding.
 *
 * Font Size: 12px (smaller than body text, as footers typically are)
 * Color: Light gray (#bbb)
 */
.site-footer {
  text-align: center;
  padding: 60px 20px;
  font-size: 12px;
  color: #bbb;
}

/**
 * Footer Links
 * Links in the footer (typically social media icons).
 *
 * Display: inline-block allows the links to sit side-by-side
 * vertically centered. Margin: 0 10px adds space to the left
 * and right of each link (10 pixels on each side).
 *
 * Color: Light gray by default, matching the footer text.
 * On hover, links turn teal (see .site-footer a:hover below).
 */
.site-footer a {
  color: #bbb;
  margin: 0 10px;
  display: inline-block;
  vertical-align: middle;
}

/**
 * Footer Link Hover State
 * When you hover over a footer link, it changes to teal.
 */
.site-footer a:hover {
  color: #00b8c4;
}

/**
 * Footer Icon SVGs
 * Styles for SVG icons inside footer links.
 *
 * Size: 20px × 20px
 * Fill: currentColor (inherits the link's color, so the icon
 *       changes color on hover along with the link)
 * Display: block (prevents extra spacing that inline SVGs can create)
 */
.site-footer a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}


/* ══════════════════════════════════
   Essay/Project Page Header
   ══════════════════════════════════ */

/**
 * Essay Header Container
 * This is the header section at the top of essay/project pages,
 * containing the title, decorative rule, and date.
 *
 * Text is centered. Padding provides space around the header content.
 * To add more space around the header, increase the padding values.
 */
.essay-header {
  text-align: center;
  padding: 40px 20px 10px;
}

/**
 * Essay Title (h2)
 * The main heading for the essay/project.
 *
 * Font: Roboto (a clean, readable serif-less font)
 * Size: 34px
 * Weight: 700 (bold)
 * Color: Dark gray (#222)
 * Line Height: 1.15 (tight spacing for impact)
 * Bottom Margin: 20px (space before the decorative rule)
 *
 * To make the title larger, increase font-size. To adjust spacing
 * below it, change margin-bottom.
 */
.essay-header h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #222;
  line-height: 1.15;
  margin-bottom: 20px;
}

/**
 * Decorative Rule (horizontal line)
 * A thin line that appears below the title, with a small diamond
 * symbol in the center (see the ::before pseudo-element below).
 *
 * This is implemented using a <hr> tag with custom styling.
 * The width of the line is 60px. To make it longer or shorter,
 * change the width value. To change the color, modify border-top.
 */
.essay-header .header-rule {
  display: block;
  width: 60px;
  height: 0;
  border: none;
  border-top: 1px solid #ccc;
  margin: 0 auto 18px;
  position: relative;
}

/**
 * Decorative Diamond (inside the rule)
 * A small teal diamond (◆) appears centered on top of the
 * decorative rule, breaking it up visually.
 *
 * To change the symbol, replace the '◆' with a different character.
 * To change the color, modify the color value.
 * To move it up or down, adjust the top value.
 * To make it larger or smaller, change font-size.
 */
.essay-header .header-rule::before {
  content: '◆';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: #00b8c4;
  background: #fff;
  padding: 0 8px;
}

/**
 * Date Pill
 * A small pill-shaped badge displaying the essay/project date.
 *
 * Font: Syne (matches logo and nav)
 * Size: 11px (small and compact)
 * Weight: 600 (semi-bold)
 * Color: Teal (#00b8c4)
 * Border: 1px teal border with rounded corners (border-radius: 20px)
 * Padding: 4px top/bottom, 14px left/right (creates the "pill" shape)
 *
 * To change the background color of the pill, add a background property.
 * To make the pill bigger, increase the padding and font-size values.
 * To change the border color, modify the border color.
 */
.essay-header .date-pill {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #00b8c4;
  border: 1px solid #00b8c4;
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 30px;
}


/* ══════════════════════════════════
   Desktop Essay Layout (Two-Column)
   ══════════════════════════════════ */

/**
 * Essay Body Container
 * Creates a two-column layout on desktop: text on the left (35%),
 * images on the right (65%).
 *
 * Grid Layout: grid-template-columns: 35% 65% means the left column
 * takes 35% of the space, the right column takes 65%.
 *
 * To adjust the column widths, change these percentages. For example:
 * - 40% 60% would give more space to images
 * - 30% 70% would give less space to text
 *
 * Note: On mobile (see @media query below), this layout is hidden
 * and replaced with a single-column interleaved layout.
 */
.essay-body {
  display: grid;
  grid-template-columns: 35% 65%;
}

/**
 * Essay Text Column
 * The left column containing the essay text.
 *
 * Position: sticky, top: 0 means as you scroll down, the text
 * column "sticks" to the top of the viewport, while the images
 * on the right scroll past it. This is perfect for long essays
 * with lots of images.
 *
 * Align-self: start positions the sticky element at the top of
 * its grid cell.
 *
 * Padding: 40px all around with extra left padding (60px) to move
 * text away from the left edge. To change spacing, adjust these
 * padding values.
 */
.essay-text {
  padding: 40px 40px 40px 60px;
  position: sticky;
  top: 0;
  align-self: start;
}

/**
 * Paragraph Styling (inside essay text)
 *
 * Margin: 18px bottom (space between paragraphs).
 * Color: Dark gray (#444)
 *
 * To change spacing between paragraphs, adjust margin-bottom.
 * The last paragraph has no bottom margin (margin-bottom: 0) to
 * prevent extra space at the end.
 */
.essay-text p {
  margin-bottom: 18px;
  color: #444;
}

.essay-text p:last-child {
  margin-bottom: 0;
}

/**
 * Emphasis (italics) in Essay Text
 * Simple italic styling for emphasis. To add color or other
 * styling, add properties here.
 */
.essay-text em {
  font-style: italic;
}

/**
 * Further Reading Section
 * A smaller text block for additional reading links/resources
 * at the end of the essay text.
 *
 * Font Size: 13px (smaller than body text)
 * Color: Medium gray (#888)
 * Top Margin: 30px (separates it from the main essay text)
 *
 * Bold text inside this section (strong) uses a slightly darker
 * gray (#666) to stand out from the rest of the further-reading text.
 */
.essay-text .further-reading {
  margin-top: 30px;
  font-size: 13px;
  color: #888;
}
.essay-text .further-reading strong {
  color: #666;
}

/**
 * Essay Images Column
 * The right column containing images.
 *
 * Padding: 30px on right and bottom, 30px on left (symmetric spacing)
 * Background: Very light gray (#fafafa) to subtly distinguish it
 *            from the text column
 *
 * To add a more defined background, you could change this to a
 * slightly darker color or add a border.
 */
.essay-images {
  padding: 30px 60px 30px 30px;
  background: #fafafa;
}

/**
 * Images in Essay
 *
 * Width: 100% (fills the column width)
 * Display: block (prevents inline spacing issues)
 * Margin: 24px bottom (space between stacked images)
 *
 * The last image has no bottom margin (margin-bottom: 0) to prevent
 * extra space at the end.
 *
 * To change spacing between images, adjust margin-bottom.
 */
.essay-images img {
  width: 100%;
  display: block;
  margin-bottom: 24px;
}
.essay-images img:last-child {
  margin-bottom: 0;
}


/* ══════════════════════════════════
   Mobile Essay Layout (Interleaved)
   ══════════════════════════════════ */

/**
 * Mobile Essay Container
 * On mobile devices (screens narrower than 860px), the two-column
 * layout switches to a single column with text and images interleaved
 * (alternating text, image, text, image, etc.).
 *
 * Display: none by default (hidden on desktop). The @media query
 * below shows this on mobile and hides the desktop layout.
 */
.essay-mobile {
  display: none;
}

/**
 * Mobile Essay Image Blocks
 *
 * Padding: 10px horizontal, 20px vertical
 * Background: Same light gray (#fafafa) as the desktop image column
 */
.essay-mobile img {
  width: 100%;
  display: block;
}
.essay-mobile .mobile-img {
  padding: 10px 20px;
  background: #fafafa;
}

/**
 * Mobile Essay Text Blocks
 *
 * Padding: 20px (balanced spacing around text)
 */
.essay-mobile .mobile-text {
  padding: 20px 20px;
}

/**
 * Mobile Paragraphs
 *
 * Same styling as desktop essay text paragraphs
 */
.essay-mobile .mobile-text p {
  margin-bottom: 18px;
  color: #444;
}

/**
 * Mobile Responsive Breakpoint (860px and below)
 *
 * At 860px width or less:
 * - Desktop two-column essay layout is hidden
 * - Mobile interleaved layout is shown
 * - Header changes to stack logo and nav vertically instead of
 *   side-by-side
 *
 * To change the breakpoint, modify the max-width value. For example,
 * use (max-width: 768px) for a more typical tablet breakpoint, or
 * (max-width: 1024px) to switch at a larger size.
 */
@media screen and (max-width: 860px) {
  .essay-body {
    display: none;
  }
  .essay-mobile {
    display: block;
  }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 20px 15px;
  }
}


/* ══════════════════════════════════
   Homepage Project Grid
   ══════════════════════════════════ */

/**
 * Project Grid Container
 * Displays projects in a responsive grid on the homepage.
 *
 * Layout: grid-template-columns: 1fr 1fr creates two equal-width
 * columns. (1fr means "1 fraction" - equal division of available space)
 *
 * Max Width: 900px keeps the grid from getting too wide on large screens
 * Margin: 0 auto centers the grid horizontally
 * Padding: 30px horizontal, 30px top, 60px bottom
 * Gap: 24px (space between grid items)
 *
 * At mobile (600px and below, see @media query), this switches to
 * a single column.
 *
 * To make columns narrower/wider, adjust the max-width.
 * To add more/less space between cards, change the gap value.
 */
.project-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 40px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/**
 * Project Card
 * A clickable card showing a project with a background image.
 *
 * Aspect Ratio: 2/1 (twice as wide as it is tall - rectangular)
 * Background Image Sizing:
 *   - background-size: cover (image fills the entire card)
 *   - background-position: center (image stays centered if cropped)
 *
 * Box Shadow: Creates depth with two shadow layers. To make the
 * shadow more subtle, reduce the shadow values or opacity.
 *
 * Overflow: hidden prevents content from spilling out of the rounded
 * corners (if you add border-radius later).
 *
 * The overlay (below) appears on hover, showing the project title.
 */
.project-card {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 2 / 1;
  background-size: cover;
  background-position: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

/**
 * Project Card Overlay
 * A semi-transparent dark overlay that appears on hover, displaying
 * the project title.
 *
 * Position: inset: 0 positions the overlay to cover the entire card
 * Opacity: 0 by default (invisible). On hover (see .project-card:hover
 * below), opacity becomes 1 (fully visible).
 *
 * Background: Dark gray (rgba(40,40,40,0.5)) - semi-transparent dark
 * Flexbox: Centers the text both horizontally and vertically
 * Transition: Smoothly animates the opacity change over 0.25 seconds
 *
 * To make the overlay darker or lighter, adjust the rgba values.
 * The last number (0.5) is the opacity - 0.5 means 50% transparent.
 */
.project-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(40,40,40,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

/**
 * Project Card Hover Effect
 * When you hover over a card, the overlay fades in from invisible
 * to fully visible, revealing the project title.
 */
.project-card:hover .overlay {
  opacity: 1;
}

/**
 * Project Title (inside overlay)
 *
 * Font: Roboto (clean, readable)
 * Size: 22px
 * Weight: 700 (bold)
 * Color: White
 * Letter Spacing: 0.3px (slight spacing for elegance)
 *
 * To change the title size or color, adjust these values.
 */
.project-card .overlay strong {
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/**
 * Full-Width Project Card (for odd-numbered grids)
 * If you have an odd number of projects, the last card can span
 * the full width of the grid for visual balance.
 *
 * Apply the class "full-width" to a card to make it span both columns:
 * <div class="project-card full-width">
 *
 * Aspect Ratio: 3/1 (wider than regular cards) so it doesn't look
 * too tall when spanning full width.
 *
 * To remove this feature, delete this entire rule block.
 */
.project-card.full-width {
  grid-column: 1 / -1;
  aspect-ratio: 3 / 1;
}

/**
 * Mobile Grid Responsive Breakpoint (600px and below)
 *
 * At 600px width or less:
 * - Grid switches from 2 columns to 1 column
 * - Padding reduces from 30px/40px to 20px on all sides
 * - Full-width cards use a 2/1 aspect ratio (same as regular cards)
 *   to keep proportions consistent on mobile
 */
@media screen and (max-width: 600px) {
  .project-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .project-card.full-width {
    aspect-ratio: 2 / 1;
  }
}


/* ══════════════════════════════════
   About Page Layout
   ══════════════════════════════════ */

/**
 * About Page Content Container
 *
 * Max Width: 750px keeps text at a readable line length
 * Margin: 0 auto centers the content
 * Padding: 40px horizontal, 40px top, 60px bottom
 *
 * To make the column narrower (fewer words per line), decrease max-width.
 * To make it wider, increase max-width.
 * To adjust spacing, change the padding values.
 */
.about-content {
  max-width: 750px;
  margin: 0 auto;
  padding: 40px 40px 60px;
}

/**
 * About Page Heading (h2)
 *
 * Font: Roboto (same as essay headings)
 * Size: 34px
 * Weight: 700 (bold)
 * Color: Dark gray (#222)
 * Bottom Margin: 20px (space before the content)
 */
.about-content h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
}

/**
 * About Page Paragraphs
 *
 * Margin: 18px bottom (space between paragraphs)
 * Color: Dark gray (#444)
 */
.about-content p {
  margin-bottom: 18px;
  color: #444;
}

/**
 * About Photo (floated to the right)
 * A photo that floats to the right side of the text, allowing text
 * to wrap around it.
 *
 * Float: right positions the photo on the right
 * Width: 45% (takes up 45% of the container width, leaving 55% for text)
 * Margin: 0 right, 20px bottom, 30px left (text wraps closely below
 *         and to the left of the photo)
 *
 * To make the photo larger or smaller, adjust the width percentage.
 * To change spacing around the photo, adjust the margin values.
 */
.about-content .about-photo {
  float: right;
  width: 45%;
  margin: 0 0 20px 30px;
}

/**
 * About Photo Image
 *
 * Width: 100% (fills the photo container)
 * Display: block (prevents inline spacing issues)
 */
.about-content .about-photo img {
  width: 100%;
  display: block;
}

/**
 * Horizontal Rule (divider)
 * A subtle line that visually separates sections of content.
 *
 * Border: 1px solid light gray (#eee)
 * Margin: 30px top/bottom (space around the divider)
 * Clear: both clears the float from the photo above, ensuring the
 *        divider doesn't wrap around the floated image
 */
.about-content hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 30px 0;
  clear: both;
}

/**
 * Bio/Byline Text
 * Smaller, italicized text often used for author bylines.
 *
 * Font Style: italic (slanted text)
 * Font Size: 14px (smaller than body text)
 * Color: Medium gray (#777)
 */
.about-content .bio {
  font-style: italic;
  font-size: 14px;
  color: #777;
}

/**
 * Mobile About Page (600px and below)
 *
 * The floated photo removes its float and displays at full width
 * above the text (instead of beside it), making the page more
 * readable on small screens.
 *
 * Margin resets to provide consistent spacing at mobile.
 */
@media screen and (max-width: 600px) {
  .about-content .about-photo {
    float: none;
    width: 100%;
    margin: 0 0 24px 0;
  }
}
