/* Custom Font */
@font-face {
    font-family: 'Magnet';
    src: url('/fonts/Magnet-Light.woff2') format('woff2'),
         url('/fonts/Magnet-Light.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Bold weight */
@font-face {
    font-family: 'Magnet';
    src: url('/fonts/Magnet-Bold.woff2') format('woff2'),
         url('/fonts/Magnet-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-text: #0000FF;
    --color-text-secondary: #737373;
    --color-border: #e5e5e5;
    --color-bg: #FDFBFB;
    --color-accent: #0066ff;
    --max-width: 960px;
    --content-width: 920px;
}

body {
    font-family: 'Magnet', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 24px;
    line-height: 1.6;
    color: var(--color-text);
    background: #0000FF;
    -webkit-font-smoothing: antialiased;
    padding: 4px;
    min-height: 100vh;
}

.site-wrapper {
    background: var(--color-bg);
    border-radius: 0.5rem;
    min-height: calc(100vh - 16px);
    margin: 0.25rem 0.25rem 0 0.25rem;
    padding: 0 1rem 0.25rem 1rem;
    position: relative;
    z-index: 1;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 12px;
}

.container-narrow {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    padding: 24px 0;
    position: sticky;
    top: 0;
    background: var(--color-bg);
    z-index: 1000;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(0deg, rgba(253, 251, 251, 0) 0%, rgba(253, 251, 251, 1) 100%);
    pointer-events: none;
    z-index: -1;
}

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 80px;
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-size: 22px;
    color: #0000FF;
    font-weight: 500;
}

.nav-link.active {
    color: var(--color-text);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 10000;
}

.hamburger {
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #0000FF;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger span {
    background: #fff;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0000FF;
    z-index: 9999;
    padding: 100px 24px 24px;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    display: flex;
    flex-direction: column;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-menu-list li {
    margin: 0;
}

.mobile-menu-list a {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

/* Main */
.site-main {
    min-height: 70vh;
}

/* Footer */
.site-footer {
    padding: 0em 0 2em;
    margin-top: 120px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    color: var(--color-text);
    font-size: 22px;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-link {
    font-size: 22px;
    color: var(--color-text);
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
}

.hero-content {
    max-width: 1200px;
    display: flex;
    gap: 60px;
    align-items: center;
}

.hero-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #f5f5f5;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: #0000FF;
    margin-bottom: 0;
}

.hero-home-content {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
    margin-top: 32px;
}

.hero-home-content p {
    margin-bottom: 1.2em;
}

.hero-home-content p:last-child {
    margin-bottom: 0;
}

/* Featured Section */
.featured-section {
    padding: 100px 0;
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.content-row {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.content-column {
    display: flex;
    flex-direction: column;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: 16px;
}

.section-link {
    font-size: 18px;
    color: #0000FF;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.125rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 0;
}

.featured-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.featured-card:last-child {
    margin-bottom: 0;
}

.featured-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    background: #f5f5f5;
}

.featured-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin-bottom: 0;
    border-left: 10px solid var(--color-text);
    padding-left: 10px;
}

/* Post Styles */
.post-header {
    padding: 80px 0 0px;
}

.post-header .container-narrow {
    padding: 0px;
}

.post-header-content {
    max-width: 960px;
    margin: 0 auto;
}

.post-title {
    font-size: 62px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.2px;
    margin-bottom: 20px;
}

.post-excerpt {
    font-size: 20px;
    line-height: 1.6;
    color: #0000FF;
    margin-bottom: 0;
}

.post-content {
    padding: 0px 0 80px;
}

.post-content .container {
    max-width: 960px;
    margin: 0 auto;
}

.post-content p {
    margin-bottom: 1.5em;
    font-size: 24px;
    line-height: 1.6;
}

.post-content h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin: 2.5em 0 0.8em;
}

.post-content h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin: 2em 0 0.6em;
}

.post-content h4 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    margin: 1.8em 0 0.5em;
}

.post-content img {
    width: 100%;
    height: auto;
    margin: 1em 0;
    border-radius: 8px;
}

.post-content figure {
    margin: 2.5em 0;
}

.post-content figcaption {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-top: 12px;
}

.post-content blockquote {
    border-left: 4px solid var(--color-text);
    padding-left: 24px;
    margin: 2em 0;
    font-style: italic;
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text);
}

.post-content ul,
.post-content ol {
    margin: 1.5em 0;
    padding-left: 28px;
}

.post-content li {
    margin-bottom: 0.5em;
    font-size: 24px;
    line-height: 1.8;
}

.post-content a {
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.125rem;
}

.post-content code {
    background: #f5f5f5;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Monaco', 'Courier New', monospace;
    color: #e01e5a;
}

.post-content pre {
    background: #f5f5f5;
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2em 0;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: var(--color-text);
}

.post-content hr {
    border: none;
    border-top: 1px solid var(--color-text);
    margin: 3em 0;
}

/* Project Meta Section */
.project-meta-section {
    padding: 16px 0;
    background: none;
    margin: 32px 0;
}

.project-meta-section .container{
    padding: 40px 0;
    background: none;
    margin: 32px 0;
    padding: 0px;
}

.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
}

.project-meta-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 2px solid var(--color-text);
}

.project-meta-label {
    font-size: 22px;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.project-meta-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.4;
}

/*Image Row Shortcode Styles*/
.image-row {
  display: grid;
  gap: 1.5rem;
  margin: 0rem auto;
  max-width: 100%;
}

.image-row-single {
  grid-template-columns: 1fr;
}

.image-row-double {
  grid-template-columns: repeat(2, 1fr);
}

.image-row-triple {
  grid-template-columns: repeat(3, 1fr);
}

.image-row-item {
  overflow: hidden;
  border-radius: 8px;
}

.image-row-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
}
/* PhotoSwipe clickable images */
.post-content a.pswp-gallery-item {
    cursor: zoom-in;
    display: inline-block;
}

.post-content a.pswp-gallery-item img {
    transition: opacity 0.2s ease;
}

.post-content a.pswp-gallery-item:hover img {
    opacity: 0.9;
}

/* Page Styles */
.page-header {
    padding: 80px 0 60px;
}

.page-header-content {
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
}

.page-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.page-excerpt {
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.page-featured-image {
    margin: 60px 0;
}

.page-featured-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
}

.page-content {
    padding: 40px 0 80px;
}

.page-content p {
    margin-bottom: 1.5em;
    font-size: 24px;
    line-height: 1.6;
}

.page-content h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin: 2.5em 0 0.8em;
}

.page-content h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.5px;
    margin: 2em 0 0.6em;
}

.page-content ul,
.page-content ol {
    margin: 1.5em 0;
    padding-left: 28px;
}

.page-content li {
    margin-bottom: 0.5em;
    font-size: 18px;
    line-height: 1.7;
}

/* Tag Page Styles */
.tag-hero {
    padding: 48px 0 0;
}

.tag-hero-content {
    max-width: 720px;
}

.tag-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.tag-description {
    font-size: 18px;
    line-height: 1.6;
    color: #0000FF;
}

/* Photography Grid Layout */
.photography-grid {
    padding: 80px 0;
}

.photo-card {
    display: flex;
    flex-direction: column;
}

.photo-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    background: #f5f5f5;
    margin-bottom: 16px;
}

.photo-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.photo-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.3;
    border-left: 10px solid var(--color-text);
    padding-left: 10px;
}

/* Video Shortcode Styles */
.video-container {
  margin: 3rem auto;
  border-radius: 8px;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
}

/* Ghost Editor Card Styles */
.kg-width-wide {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.kg-width-full {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.kg-image-card,
.kg-gallery-card {
    margin: 2.5em 0;
}

.kg-image {
    width: 100%;
    height: auto;
}

.kg-gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.kg-gallery-image {
    flex: 1 1 auto;
    max-width: 100%;
}

.kg-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kg-card-hascaption figcaption {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-top: 10px;
}

.kg-embed-card {
    margin: 2.5em 0;
}

.kg-embed-card iframe {
    width: 100%;
    border: none;
}

/* Media Caption Shortcode Styles */
.media-caption {
  margin: 1rem auto 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-text);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.5;
  max-width: 100%;
}

/* Post Nav Styles */
.post-navigation {
  margin-top: 0rem;
  padding-top: 0rem;
}

.post-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.post-nav-label {
  font-size: 0.875rem;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-nav-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
}

.post-nav-prev {
  text-align: left;
}

.post-nav-next {
  text-align: right;
  margin-left: auto;
}

.post-nav-links:has(.post-nav-link:only-child) {
  grid-template-columns: 1fr;
}


/* If you want it to match content width */
.post-content .media-caption {
  max-width: 960px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .site-header {
        padding: 24px 0;
    }
    
    .site-logo img {
        height: 60px;
    }
    
    .nav-list {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .hero-image {
        width: 180px;
        height: 180px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .content-grid {
        gap: 60px;
    }
    
    .content-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .post-header .container-narrow {
        padding: 0px 24px;
    }   
    
    .post-title {
        font-size: 48px;
    }
    
    .post-excerpt {
        font-size: 18px;
    }
    
    .post-content h2 {
        font-size: 28px;
    }
    
    .post-content h3 {
        font-size: 22px;
    }
    
    .post-content p,
    .post-content li {
        font-size: 22px;
    }

    .post-content img {
        margin: 0em auto;
    }

  
    .post-nav-next {
        margin-left: 0;
    }

    .image-row {
        margin: 1em auto;
    }

    .page-title {
        font-size: 40px;
    }
    
    .page-excerpt {
        font-size: 18px;
    }
    
    .page-content h2 {
        font-size: 28px;
    }
    
    .page-content h3 {
        font-size: 22px;
    }
    
    .page-content p,
    .page-content li {
        font-size: 16px;
    }

    .tag-title {
        font-size: 36px;
    }

    .image-row-double,
    .image-row-triple {
        grid-template-columns: 1fr;
    }
}
