/*
Theme Name: Crazy Coupon Deals
Description: A responsive coupon and savings blog matching the CrazyCouponDeals.net homepage concept. Includes optional starter content and newsletter plugin integration.
Version: 1.0.0
Author: Crazy Coupon Deals
Requires at least: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crazy-coupon-deals
*/
:root{--navy:#051335;--orange:#ff6500;--teal:#009fa7;--pale:#d3f8f7;--line:#deE6e9}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--navy);font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.5}a{color:inherit;text-decoration:none}a:hover{color:#c74900}button,input{font:inherit}button,a,input{touch-action:manipulation}:focus-visible{outline:3px solid #007d85;outline-offset:4px}img{max-width:100%;height:auto}.wrap{width:min(1488px,96%);margin:auto}.announcement{background:var(--orange);color:#fff;text-align:center;font-size:23px;font-weight:800;padding:3px 12px}.header-inner{display:flex;align-items:center;gap:26px;min-height:86px}.brand{width:36%;max-width:550px;flex-shrink:0;display:block}.brand-art{display:block;aspect-ratio:550/90;background-image:url(assets/design.png);background-size:279.2727% 1137.7778%;background-position:2.0284% 4.2827%;background-repeat:no-repeat}.custom-logo-link img{max-height:90px;width:auto}.brand-text{font-size:25px;font-weight:900}.brand-text em{color:var(--orange);font-style:normal}.nav{flex:1}.nav ul{list-style:none;display:flex;align-items:center;justify-content:space-around;gap:20px;padding:0;margin:0}.nav a{font-size:18px;font-weight:800;white-space:nowrap}.search-form{display:flex;align-items:center;border:2px solid var(--teal);border-radius:40px;overflow:hidden;background:white;max-width:330px}.search-form input{width:100%;min-width:0;border:0;padding:9px 15px;background:none;font-size:15px;color:var(--navy)}.search-form button{border:0;background:none;color:var(--teal);padding:6px 12px;cursor:pointer}.search-form svg{width:23px;height:23px}.menu-toggle{display:none}.hero{background:linear-gradient(100deg,#dcfbf7,#c5f6f3);overflow:hidden}.hero-inner{display:grid;grid-template-columns:44% 56%;align-items:center;max-width:1536px;margin:auto;min-height:325px}.hero-copy{padding:24px 0 24px 58px;position:relative;z-index:1}.hero h1{font-size:clamp(40px,4.8vw,76px);font-weight:900;line-height:1.02;letter-spacing:-3px;margin:0 0 15px}.hero-copy p{font-size:23px;line-height:1.4;margin:0 0 18px}.button{display:inline-flex;align-items:center;justify-content:center;gap:15px;border:0;border-radius:28px;background:var(--orange);color:white;padding:12px 28px;font-size:23px;font-weight:800;cursor:pointer}.button:hover{background:#d64b00;color:white}.hero-art{align-self:stretch;min-height:322px;background-image:url(assets/design.png);background-size:175.3425% 318.0124%;background-position:100% 17.9487%;background-repeat:no-repeat}.hero-custom{width:100%;height:100%;object-fit:cover}.categories{display:grid;grid-template-columns:repeat(6,1fr);gap:18px;margin:18px auto 28px}.category{display:flex;align-items:center;justify-content:center;gap:15px;border-radius:15px;background:var(--pale);padding:12px 10px;font-size:20px;font-weight:800}.category svg{width:36px;height:36px;stroke:var(--orange);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.category:nth-child(even) svg{stroke:var(--teal)}.category:hover{background:#b4f0ee}.section-title{display:flex;align-items:center;justify-content:center;gap:26px;text-align:center;font-size:clamp(25px,2.65vw,42px);letter-spacing:-1px;line-height:1.2;margin:28px 3% 27px;font-weight:900}.section-title:before,.section-title:after{content:'';height:1px;background:#60c8ca;flex:1}.section-title span{flex-shrink:1}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.card{border:1px solid #e4e7e9;border-radius:17px;box-shadow:0 2px 4px #081c3620;display:grid;grid-template-columns:58% 42%;padding:10px;overflow:hidden;background:#fff;min-height:245px}.card-media{display:block;min-height:220px;border-radius:9px;overflow:hidden;background:#d3f8f7}.card-media img{width:100%;height:100%;object-fit:cover;display:block}.sprite{background-image:url(assets/design.png);background-repeat:no-repeat}.sprite-groceries{background-size:573.1343% 447.1616%;background-position:3.0757% 79.4969%}.sprite-toys{background-size:621.8623% 447.1616%;background-position:42.5912% 79.4969%}.sprite-resale{background-size:564.7059% 447.1616%;background-position:81.6456% 79.4969%}.card-copy{padding:5px 5px 5px 15px;min-width:0}.tag{display:inline-block;background:#b8f1ef;color:#06263b;border-radius:20px;padding:2px 12px;font-size:13px;font-weight:700}.card h3{font-size:23px;line-height:1.15;letter-spacing:-.6px;margin:9px 0}.card p{font-size:16px;line-height:1.3;margin:0 0 10px}.read-more{color:#c74a00;font-weight:800}.newsletter{background:#052348;color:#fff;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:32px;margin:34px auto 18px;padding:20px 30px}.newsletter-heading{display:flex;align-items:center;gap:28px}.mail-icon{font-size:56px;border-right:2px solid #7aa3bb;padding-right:30px;line-height:1.1}.newsletter h2{font-size:36px;line-height:1.1;margin:0 0 3px;font-weight:900;letter-spacing:-1px}.newsletter p{margin:0;font-size:16px}.signup{flex:1;max-width:520px}.signup form{display:flex;gap:10px;flex-wrap:wrap}.signup input[type=email]{background:white;border:1px solid #cbd5e1;border-radius:9px;padding:12px;width:100%;color:#071735}.signup input[type=submit],.signup button{background:var(--orange);border:0;border-radius:9px;color:#fff;padding:10px 20px;font-weight:800;cursor:pointer}.signup .button{font-size:19px;border-radius:10px}.signup label{display:block}.signup .mc4wp-form-fields p{margin-bottom:8px}.footer{display:flex;justify-content:space-between;gap:20px;padding:18px 0 30px;font-size:13px;color:#596579}.footer ul{display:flex;gap:18px;list-style:none;margin:0;padding:0}.archive-title{font-size:42px;line-height:1.15;margin:45px 0 16px}.archive-description{margin-bottom:25px}.archive-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:10px 0 35px}.pagination{padding:25px;text-align:center}.page-numbers{padding:8px 12px}.page-numbers.current{background:var(--pale);border-radius:8px}.article{max-width:860px;margin:40px auto 60px;padding:0 24px;min-height:35vh}.article h1{font-size:clamp(32px,4vw,54px);line-height:1.1;letter-spacing:-1.5px}.article .entry-content{font-size:19px;line-height:1.75}.entry-content a{color:#006e77;text-decoration:underline}.entry-content h2{line-height:1.25;margin-top:35px}.entry-content img{border-radius:12px}.entry-content:after{content:'';display:block;clear:both}.alignwide{max-width:1100px}.alignleft{float:left;margin:0 22px 15px 0}.alignright{float:right;margin:0 0 15px 22px}.aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption-text,.gallery-caption{font-size:14px}.sticky{border-color:var(--teal)}.bypostauthor{border-left:2px solid var(--teal)}.post-meta{font-size:14px;color:#606d80}.article-art{height:320px;border-radius:15px;margin:25px 0}.coupon-box{padding:24px;border:2px dashed var(--teal);border-radius:15px;background:#effcfb;margin:25px 0;display:flex;align-items:center;gap:15px;flex-wrap:wrap}.coupon-box code{font-size:24px}.coupon-box .button{font-size:18px}.copy-status{font-size:14px}.empty{padding:35px 0}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip-link:focus{display:block;padding:12px;background:white}.comments-area textarea,.comments-area input:not([type=checkbox]){max-width:100%;border:1px solid #bfcdd5;padding:10px}.comments-area textarea{width:100%}.comments-area input[type=submit]{background:var(--orange);color:white;border:0;border-radius:8px}.comments-area ul{list-style:none}.not-found{min-height:45vh;padding:50px 0}.editor-styles-wrapper{font-family:Arial,Helvetica,sans-serif;color:var(--navy)}
@media(min-width:1600px){.hero-inner{min-height:350px}}@media(max-width:1200px){.header-inner{gap:15px}.brand{width:33%}.nav a{font-size:15px}.nav ul{gap:13px}.header-inner>.search-form{max-width:230px}.hero-copy{padding-left:30px}.hero-copy p{font-size:19px}.card{grid-template-columns:1fr}.card-media{height:210px}.card-copy{padding:15px 5px 5px}.newsletter h2{font-size:29px}.category{font-size:17px;gap:8px}.category svg{width:28px}}
@media(max-width:800px){.announcement{font-size:16px;padding:7px}.header-inner{min-height:76px;flex-wrap:wrap;padding:10px 0}.brand{width:75%;max-width:440px;margin-right:auto}.menu-toggle{display:block;background:white;border:1px solid #bcced1;border-radius:8px;padding:8px 12px;font-weight:700;color:var(--navy)}.nav{flex-basis:100%;display:none;order:3}.nav.open{display:block}.nav ul{padding:10px;justify-content:flex-start;flex-wrap:wrap}.header-inner>.search-form{max-width:none;flex-basis:100%;order:4}.hero-inner{grid-template-columns:1fr}.hero-copy{padding:30px 24px 14px}.hero h1{font-size:48px;letter-spacing:-2px}.hero-copy p{font-size:19px}.hero-art{min-height:0;aspect-ratio:876/322}.hero .button{font-size:20px}.categories{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px}.category{font-size:16px;padding:12px 6px;gap:8px}.category svg{width:25px;height:25px}.section-title{margin:25px 0;gap:10px}.cards{grid-template-columns:1fr}.card{grid-template-columns:45% 55%;min-height:0}.card-media{height:auto;min-height:190px}.card h3{font-size:22px}.card-copy{padding:8px 8px 8px 15px}.newsletter{display:block;padding:25px 20px;margin-top:28px}.newsletter-heading{gap:15px}.mail-icon{font-size:36px;padding-right:15px}.newsletter h2{font-size:27px}.newsletter p{font-size:15px}.signup{max-width:none;margin-top:20px}.footer{flex-direction:column;gap:8px}.article-art{height:240px}.archive-title{font-size:34px}.wrap{width:94%}}
@media(max-width:380px){.hero h1{font-size:40px}.category{font-size:14px}.card{grid-template-columns:1fr}.card-media{height:220px}.mail-icon{display:none}}

/* Preserve the source photo proportions on narrow cards. */
@media(max-width:800px) and (min-width:381px){.card-media{min-height:0;aspect-ratio:268/229;align-self:start}.card-media img{aspect-ratio:268/229;object-fit:cover}}
