/*
 Al's Wood and Craft Club
🟫 Dark Walnut #2D1A06 — depth, tradition, aged timber
🟧 Oak Amber #C8963E — warmth, raw wood, craftsmanship
🟩 Forest Green #2D5016 / #8FBF3A — the New Forest, nature, growth
  #e9e7d4 Background colour
*/


        /* ── Reset & Variables ────────────────────────────── */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

        :root {
            --ink:       #1a1a2e;
            --paper:     #f5f0e8;
            --nav-bg:	 #8a530c;
            --banner-bg: #2D1A06;
            --cream:     #faf7f2;
            --rust:      #c0392b;
            --gold:      #d4a017;
            --slate:     #4a5568;
            --border:    #d4cfc5;
            --col1-bg:   #1a1a2e;
            --col1-text: #e8e4d9;
            --col3-bg:   #f0ece4;
            --shadow:    0 2px 12px rgba(26,26,46,.12);
            --radius:    6px;
            --gap:       1.5rem;
            --font-head: 'Playfair Display', Georgia, serif;
            --font-body: 'Source Serif 4', Georgia, serif;
            --font-mono: 'JetBrains Mono', monospace;
            --nav-h:     64px;
            --transition: .25s ease;
        }

        html { scroll-behavior: smooth; }

        body {
            font-family: var(--font-body);
            background: var(--paper);
            color: var(--ink);
            min-height: 100vh;
            line-height: 1.65;
            -webkit-font-smoothing: antialiased;
        }

    
        /* ── Top Navigation ───────────────────────────────── */
        .site-nav {
            position: sticky;
            top: 0;
            z-index: 100;
            height: var(--nav-h);
            background: var(--nav-bg);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 2rem;
            box-shadow: 0 2px 20px rgba(0,0,0,.35);
        }

        .nav-brand {
            font-family: var(--font-head);
            font-size: 1.4rem;
            color: var(--gold);
            text-decoration: none;
            letter-spacing: .02em;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-links a {
            color: var(--col1-text);
            text-decoration: none;
            font-family: var(--font-mono);
            font-size: .78rem;
            letter-spacing: .1em;
            text-transform: uppercase;
            opacity: .75;
            transition: opacity var(--transition), color var(--transition);
        }

        .nav-links a:hover { opacity: 1; color: var(--gold); }

        /* Hamburger */
        .nav-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 4px;
            flex-direction: column;
            gap: 5px;
        }

        .nav-toggle span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--col1-text);
            transition: transform var(--transition), opacity var(--transition);
        }

        .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .nav-toggle.open span:nth-child(2) { opacity: 0; }
        .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* ── Hero Banner ──────────────────────────────────── */ 
canvas {
      display: block;
      width: 100%;
      max-width: 720px;
      height: 130px;
      margin: 0 auto;
      background: transparent; 
    }
   
.site-hero {
            background: linear-gradient(135deg, var(--banner-bg) 0%, #2d1a06 50%, #c8963e 100%); 
            padding: 3.5rem 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .site-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='30' viewBox='0 0 60 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .hero-title {
            font-family: var(--font-head);
            font-size: clamp(2rem, 5vw, 3.5rem);
            color: #fff;
            position: relative;
            margin-bottom: .5rem;
        }

        .hero-title span { color: var(--gold); }

        .hero-tagline {
            font-family: var(--font-body);
            font-style: italic;
            color: rgba(255,255,255,.65);
            font-size: 1.05rem;
            position: relative;
        }

        /* ── Layout ───────────────────────────────────────── */
        .site-wrapper {
            max-width: 1400px;
            margin: 0 auto;
            padding: var(--gap);
        }

        .columns {
            display: grid;
            grid-template-columns: 320px 1fr 280px;
            grid-template-areas: "col1 col2 col3";
            gap: var(--gap);
            align-items: start;
        }

        /* Column 1 — Facebook Feed */
        .col-1 {
            grid-area: col1;
            background: var(--col1-bg);
            border-radius: var(--radius);
            overflow: hidden;
            position: sticky;
            top: calc(var(--nav-h) + var(--gap));
            max-height: calc(100vh - var(--nav-h) - 3rem);
            display: flex;
            flex-direction: column;
        }

        /* Column 2 — Main content */
        .col-2 { grid-area: col2; }

        /* Column 3 — Sidebar */
        .col-3 {
            grid-area: col3;
            position: sticky;
            top: calc(var(--nav-h) + var(--gap));
        }

        /* ── Column Header ────────────────────────────────── */
        .col-header {
            display: flex;
            align-items: center;
            gap: .6rem;
            padding: 1rem 1.2rem;
            border-bottom: 1px solid rgba(255,255,255,.1);
        }

        .col-1 .col-header { background: rgba(255,255,255,.05); }

        .col-header-icon {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: .9rem;
        }

        .col-1 .col-header-icon { background: #1877f2; color: #fff; }

        .col-header h2 {
            font-family: var(--font-mono);
            font-size: .75rem;
            letter-spacing: .12em;
            text-transform: uppercase;
            color: var(--gold);
        }

        /* ── Facebook Feed ────────────────────────────────── */
        .fb-feed {
            overflow-y: auto;
            flex: 1;
            padding: .75rem;
            scrollbar-width: thin;
            scrollbar-color: rgba(255,255,255,.15) transparent;
        }

        .fb-feed::-webkit-scrollbar { width: 4px; }
        .fb-feed::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }

        .fb-post {
            background: rgba(255,255,255,.06);
            border: 1px solid rgba(255,255,255,.08);
            border-radius: var(--radius);
            padding: .9rem;
            margin-bottom: .75rem;
            transition: background var(--transition);
            animation: fadeSlide .4s ease both;
        }

        .fb-post:hover { background: rgba(255,255,255,.1); }

        @keyframes fadeSlide {
            from { opacity: 0; transform: translateY(8px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        .fb-post-meta {
            display: flex;
            align-items: center;
            gap: .5rem;
            margin-bottom: .6rem;
        }

        .fb-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, #1877f2, #42b883);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-mono);
            font-size: .7rem;
            color: #fff;
            font-weight: bold;
            flex-shrink: 0;
        }

        .fb-author {
            font-family: var(--font-mono);
            font-size: .72rem;
            color: var(--gold);
            font-weight: 500;
        }

        .fb-time {
            font-size: .65rem;
            color: rgba(255,255,255,.35);
            margin-left: auto;
        }

        .fb-message {
            font-size: .82rem;
            color: var(--col1-text);
            line-height: 1.55;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .fb-image {
            width: 100%;
            border-radius: 4px;
            margin-top: .6rem;
            object-fit: cover;
            max-height: 160px;
        }

        .fb-link {
            display: inline-block;
            margin-top: .5rem;
            font-family: var(--font-mono);
            font-size: .65rem;
            color: #1877f2;
            text-decoration: none;
            letter-spacing: .05em;
        }

        .fb-link:hover { text-decoration: underline; }

        .fb-empty {
            padding: 2rem 1rem;
            text-align: center;
            color: rgba(255,255,255,.4);
            font-style: italic;
            font-size: .85rem;
        }

        .fb-embed-fallback {
            padding: .5rem;
        }

        /* ── Main Content (Col 2) ─────────────────────────── */
        .content-card {
            background: var(--cream);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 1.75rem;
            margin-bottom: var(--gap);
            box-shadow: var(--shadow);
            animation: fadeSlide .5s ease both;
        }

        .content-card h2 {
            font-family: var(--font-head);
            font-size: 1.6rem;
            color: var(--ink);
            margin-bottom: .75rem;
            line-height: 1.25;
        }

        .content-card h3 {
            font-family: var(--font-head);
            font-size: 1.15rem;
            color: var(--ink);
            margin: 1.2rem 0 .4rem;
        }

        .content-card p {
            color: var(--slate);
            font-size: .95rem;
            margin-bottom: .75rem;
        }

        .tag {
            display: inline-block;
            background: var(--ink);
            color: var(--gold);
            font-family: var(--font-mono);
            font-size: .65rem;
            letter-spacing: .1em;
            text-transform: uppercase;
            padding: .2rem .6rem;
            border-radius: 3px;
            margin-bottom: .75rem;
        }

        .divider {
            border: none;
            border-top: 1px solid var(--border);
            margin: 1.25rem 0;
        }

        /* Article grid inside col2 */
        .article-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .article-item {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 1rem;
            transition: transform var(--transition), box-shadow var(--transition);
        }

        .article-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(26,26,46,.12);
        }

        .article-item h4 {
            font-family: var(--font-head);
            font-size: .95rem;
            margin-bottom: .4rem;
            color: var(--ink);
        }

        .article-item p {
            font-size: .8rem;
            color: var(--slate);
            margin: 0;
        }

        .btn {
            display: inline-block;
            background: var(--rust);
            color: #fff;
            font-family: var(--font-mono);
            font-size: .72rem;
            letter-spacing: .1em;
            text-transform: uppercase;
            padding: .55rem 1.2rem;
            border-radius: var(--radius);
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: background var(--transition), transform var(--transition);
        }

        .btn:hover { background: #a93226; transform: translateY(-1px); }
        .btn-outline {
            background: transparent;
            color: var(--ink);
            border: 1.5px solid var(--border);
        }
        .btn-outline:hover { background: var(--ink); color: var(--gold); }

        /* ── Right Sidebar (Col 3) ────────────────────────── */
        .sidebar-widget {
            background: var(--col3-bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            margin-bottom: var(--gap);
            box-shadow: var(--shadow);
        }

        .widget-header {
            background: var(--ink);
            padding: .7rem 1rem;
        }

        .widget-header h3 {
            font-family: var(--font-mono);
            font-size: .72rem;
            letter-spacing: .12em;
            text-transform: uppercase;
            color: var(--gold);
        }

        .widget-body { padding: 1rem; }

        .widget-list { list-style: none; }

        .widget-list li {
            padding: .55rem 0;
            border-bottom: 1px solid var(--border);
            font-size: .85rem;
            color: var(--slate);
        }

        .widget-list li:last-child { border-bottom: none; }

        .widget-list a {
            color: var(--ink);
            text-decoration: none;
            transition: color var(--transition);
        }

        .widget-list a:hover { color: var(--rust); }

        .badge {
            float: right;
            background: var(--rust);
            color: #fff;
            font-family: var(--font-mono);
            font-size: .6rem;
            padding: .15rem .4rem;
            border-radius: 10px;
        }

        /* Search widget */
        .search-wrap {
            display: flex;
            gap: .5rem;
        }

        .search-wrap input {
            flex: 1;
            padding: .5rem .75rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius);
            font-family: var(--font-body);
            font-size: .85rem;
            background: #fff;
            color: var(--ink);
            outline: none;
            transition: border-color var(--transition);
        }

        .search-wrap input:focus { border-color: var(--ink); }

        /* ── Footer ───────────────────────────────────────── */
        .site-footer {
            background: var(--ink);
            color: rgba(255,255,255,.5);
            text-align: center;
            padding: 2rem;
            margin-top: 2rem;
            font-family: var(--font-mono);
            font-size: .72rem;
            letter-spacing: .08em;
        }

        .site-footer a { color: var(--gold); text-decoration: none; }

        /* ── Responsive ───────────────────────────────────── */

        /* Tablet: collapse to 2 columns */
        @media (max-width: 1100px) {
            .columns {
                grid-template-columns: 280px 1fr;
                grid-template-areas:
                    "col1 col2"
                    "col3 col3";
            }

            .col-3 {
                position: static;
                display: grid;
                grid-template-columns: 1fr 1fr 1fr;
                gap: var(--gap);
            }

            .col-3 .sidebar-widget { margin-bottom: 0; }
        }

        /* Mobile: single column */
        @media (max-width: 720px) {
            .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--ink); padding: 1rem 2rem; gap: 1rem; border-top: 1px solid rgba(255,255,255,.1); }
            .nav-links.open { display: flex; }
            .nav-toggle { display: flex; }

            .columns {
                grid-template-columns: 1fr;
                grid-template-areas:
                    "col2"
                    "col1"
                    "col3";
            }

            .col-1 {
                position: static;
                max-height: 400px;
            }

            .col-3 {
                position: static;
                display: block;
            }

            .article-grid { grid-template-columns: 1fr; }

            .site-hero { padding: 2rem 1rem; }
        }

        @media (max-width: 480px) {
            .site-wrapper { padding: .75rem; }
            .content-card { padding: 1.1rem; }
        }
        
        /* Use java script and CSS ri display meta data */
        copyright-statement {
	  font-weight: bold;
	  font-size: 1.5rem;
	  font-style: italic;
	  color: #ffffff; /*-- branding colour */
	  position: relative;
	  top: 0;
	  left: 70%;
	}

	#copyright-statement h1 h2 p {
	}

