/*
  CG 2025-Jun-16
  A little bit of extra css for this module
*/

.w3-row-padding img 
{
    margin-bottom: 12px
}
/* Set the width of the sidebar to 120px */
.w3-sidebar 
{
    width: 120px;background: #222;
}
/* Add a left margin to the 'page content' that matches the width of the sidebar (120px) */
#main 
{
    margin-left: 120px
}
/* Remove margins from 'page content' on small screens */
@media only screen and (max-width: 600px) 
{
    #main 
    {
        margin-left: 0
    }
}

/* ---------- Outer wrapper ---------- */
.cg-construction-wrap {
    position: relative;
    padding: 0 0 48px;
    overflow: hidden;
    background-color: #1a1208;          /* very dark warm brown */
    background-image:
        /* subtle wood-grain lines */
        repeating-linear-gradient(
            92deg,
            transparent,
            transparent 38px,
            rgba(255,255,255,0.018) 38px,
            rgba(255,255,255,0.018) 40px
        ),
        repeating-linear-gradient(
            180deg,
            transparent,
            transparent 60px,
            rgba(0,0,0,0.25) 60px,
            rgba(0,0,0,0.25) 62px
        );
}

/* ---------- Caution-stripe fence bars (top & bottom) ---------- */
.cg-fence-stripe {
    height: 18px;
    background: repeating-linear-gradient(
        110deg,
        #e8a020 0px,
        #e8a020 22px,
        #1a1208  22px,
        #1a1208  44px
    );
    opacity: 0.85;
}
.cg-fence-stripe--bottom {
    margin-top: 48px;
}

/* ---------- Inner content area ---------- */
.cg-construction-body {
    padding: 56px 24px 0;
}

/* ---------- Logo ---------- */
.cg-construction-logo {
    width: clamp(120px, 22vw, 220px);
    margin-bottom: 32px;
    filter: drop-shadow(0 4px 18px rgba(232, 160, 32, 0.35));
    animation: cg-float 4s ease-in-out infinite;
}

@keyframes cg-float {
    0%, 100% { transform: translateY(0px);  }
    50%       { transform: translateY(-8px); }
}

/* ---------- "UNDER CONSTRUCTION" badge ---------- */
.cg-construction-badge {
    display: inline-block;
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(0.65rem, 2vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #1a1208;
    background: #e8a020;
    padding: 8px 20px;
    border-radius: 2px;
    margin-bottom: 28px;
    box-shadow: 3px 3px 0 #7a4d00, 6px 6px 0 rgba(0,0,0,0.3);
    text-transform: uppercase;
}

.cg-badge-icon {
    display: inline-block;
    animation: cg-spin 6s linear infinite;
    margin: 0 6px;
}
@keyframes cg-spin {
    from { transform: rotate(0deg);   }
    to   { transform: rotate(360deg); }
}

/* ---------- Heading ---------- */
.cg-construction-heading {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.6rem, 5vw, 2.8rem);
    font-weight: 700;
    color: #f0ddb0;                     /* warm parchment */
    letter-spacing: 0.04em;
    text-shadow: 2px 3px 10px rgba(0,0,0,0.6);
    margin: 0 0 20px;
    line-height: 1.25;
}

/* ---------- Message paragraph ---------- */
.cg-construction-msg {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: #c8b080;                     /* muted tan */
    max-width: 580px;
    margin: 0 auto 32px;
    line-height: 1.75;
}

/* ---------- Decorative nail row ---------- */
.cg-nails {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 8px;
}
.cg-nails span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #d4a04a, #6b3e00);
    box-shadow: 0 2px 6px rgba(0,0,0,0.5), inset 0 1px 2px rgba(255,220,120,0.4);
}
