/* BASIS OVERALL */ 

#wwr-ccb {
	width: 650px; 
    font-family: var(--wwe-txt);
	color: var(--wwr-post); 
    font-size: 13px; 
    text-align: justify;
	margin: 0 auto;
	border: 1px solid var(--wwr-border); 
}

/* ADMIN CODES */ 

#wwr-ccb .headwrap {
	width: 100%; 
	height: 350px; 
	background-image: var(--wwe-background);
    background-size: cover;
    background-repeat: no-repeat;
}

#wwr-ccb .headwrap-sg {
	width: 100%; 
	height: 350px; 
	background-image: url(/designs/01/img/addheader.png);
    background-size: cover;
    background-repeat: no-repeat;
	background-position: center;
}

#wwr-ccb .headcontent {
	width: 100%; 
	height: 350px; 
	background-color: var(--wwr-accback); 
	display: flex;
  align-items: center;
  justify-content: center;
}

#wwr-ccb .title {
	position: relative;
  	display: flex;
  	flex-direction: column;
  	align-items: center;
}

#wwr-ccb .pretitle {
	padding-left: 1px;
  	margin-left: -1px;
  	clip-path: polygon(2px 0px, 113.87% -6px, 100% 99%, 19.51% 134.9%);
}

#wwr-ccb .maintitle {
	position: relative;
  	display: flex;
  	align-items: flex-end;
  	justify-content: center;
  	line-height: 0.8;
  	white-space: nowrap;
}

#wwr-ccb .re {
	color: var(--wwr-acc2);
  padding-right: 1px;
  margin-right: -1px;
  clip-path: polygon( 0 0, 91% 0, 100% 100%, 0 100% );
}

#wwr-ccb .slash {
	width: 2px;
  height: 190%;
  background: var(--wwr-acc2);
  position: absolute;
  left: 34.5%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  transform-origin: center;
  z-index: 5;
}

#wwr-ccb .main {
  padding-left: 1px;
  margin-left: -1px;
  clip-path: polygon(-7px 3px, 100% 0px, 100% 99%, 11.19% 102.21%);
}

#wwr-ccb .subtitle {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 16px;
  align-self: flex-end;
}

#wwr-ccb .contentwrap {
	width: 100%; 
	background-color: var(--wwr-main); 
	display: flex;
  justify-content: center;
  align-items: center;	
}

#wwr-ccb .contentwrap p {
	width: 80%;
	padding-top: 20px;
	padding-bottom: 20px;
  line-height: 190%;
}

#wwr-ccb .footwrap {
	width: 100%; 
	padding: 25px 65px;
	background-color: var(--wwr-main); 
	display: flex;
	  border-top: 1px solid var(--wwr-border); 
	justify-content: center;
	gap: 15px;
	align-items: center; 
	flex-wrap: wrap; 
}

#wwr-ccb .footwrap div { 
	padding: 10px 10px;
   border: 1px solid var(--wwr-acc);
	background: color-mix( in srgb, var(--wwr-post) 3%, transparent ); 
	text-transform: uppercase; 
	font-size: 9px; 
	font-weight: 500; 
	letter-spacing: 1px; 
	flex-grow: 1; 
	text-align: center; 
} 

#wwr-ccb .links {
	width: 100%; 
	padding: 5px;
	padding-left: 65px;
	background-color: var(--wwr-main); 
	display: flex;
	  border-top: 1px solid var(--wwr-border); 
	gap: 15px;
	align-items: center; 
	flex-wrap: wrap; 
}

#wwr-ccb .links a {
	font-size: 8px; 
	text-transform: uppercase; 
	letter-spacing: 1px; 
	color: var(--wwr-post);
}

/* ==========================================
   WWR MANAGEMENT CODE — RESPONSIVE
   ========================================== */

/* Prevent padding from expanding containers */
#wwr-ccb,
#wwr-ccb * {
    box-sizing: border-box;
}

/* Keep original desktop width,
   but allow the code to shrink */
#wwr-ccb {
    max-width: 100%;
    min-width: 0;
}

/* Prevent long content from causing overflow */
#wwr-ccb .contentwrap,
#wwr-ccb .footwrap,
#wwr-ccb .links {
    min-width: 0;
}

#wwr-ccb .contentwrap p {
    overflow-wrap: break-word;
}


/* ==========================================
   TABLET / SMALL CONTAINERS
   ========================================== */

@media (max-width: 680px) {

    /* Slightly shorter header */
    #wwr-ccb .headwrap,
    #wwr-ccb .headcontent {
        height: 310px;
    }

    /* Footer tags */
    #wwr-ccb .footwrap {
        padding: 22px 25px;
        gap: 10px;
    }

    #wwr-ccb .footwrap div {
        padding: 10px 8px;
    }

    /* Navigation */
    #wwr-ccb .links {
        padding: 12px 25px;
        gap: 12px 18px;
    }

    #wwr-ccb .links a {
        white-space: nowrap;
    }

}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 480px) {

    /* Header proportions */
    #wwr-ccb .headwrap,
    #wwr-ccb .headcontent {
        height: 260px;
    }

    /* Scale the entire title together.
       This preserves the slash and clipping. */
    #wwr-ccb .title {
        transform: scale(.8);
        transform-origin: center;
    }

    /* Maintain comfortable text margins */
    #wwr-ccb .contentwrap p {
        width: calc(100% - 40px);
        padding-top: 18px;
        padding-bottom: 18px;
        line-height: 180%;
    }

    /* Footer tags in two columns */
    #wwr-ccb .footwrap {
        padding: 18px 20px;
        gap: 8px;
    }

    #wwr-ccb .footwrap div {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        overflow-wrap: break-word;
    }

    /* Compact navigation */
    #wwr-ccb .links {
        padding: 12px 20px;
        gap: 10px 16px;
        justify-content: center;
    }

}


/* ==========================================
   VERY SMALL MOBILE
   ========================================== */

@media (max-width: 350px) {

    #wwr-ccb .headwrap,
    #wwr-ccb .headcontent {
        height: 225px;
    }

    #wwr-ccb .title {
        transform: scale(.68);
    }

    #wwr-ccb .contentwrap p {
        width: calc(100% - 30px);
    }

    #wwr-ccb .footwrap {
        padding: 15px;
    }

    #wwr-ccb .links {
        padding: 12px 15px;
    }

}