/* Atomic Hosting - single stylesheet for the redesigned pages.
   Sections: 1) plan page layout (.ah-plan-packages), 2) subscribe form
   (.ah-subscribe), 3) package photo window (.ah-puma),
   4) page frame (.ah-sup),
   5) data tables as grids (.ah-dt),
   6) web promotion page (.ah-wp),
   7) script listing cards (.ah-cards),
   8) discontinued notice (.ah-disc). No selector is
   defined twice; new page families get a new section here. */

/* 1) Plan page layout */
.ah-plan-packages{min-width:0}.ah-plan-packages .ah-plan-packages__layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:24px;align-items:stretch}.ah-plan-packages .ah-plan-packages__layout>div:first-child{display:flex;flex-direction:column;min-width:0}.ah-plan-packages .ah-plan-packages__specs{display:flex;flex-direction:column;flex:1;margin:0;padding:0}.ah-plan-packages .ah-plan-packages__row{display:flex;flex:1;justify-content:flex-end;align-items:center;gap:10px;margin:0;padding:0;text-align:right;min-height:1.6em}.ah-plan-packages .ah-plan-packages__row:first-child{display:flex;justify-content:flex-end;gap:10px;text-align:right}.ah-plan-packages .ah-plan-packages__row:first-child>*{flex:0 0 auto;width:auto;margin:0;text-align:right}.ah-plan-packages .ah-plan-packages__row dt,.ah-plan-packages .ah-plan-packages__row dd{margin:0;padding:0;font:inherit}.ah-plan-packages .ah-plan-packages__payment{flex:none;margin-top:10px;text-align:right}.ah-plan-packages .feature-columns{display:block;min-width:0;text-align:left}.ah-plan-packages .feature-columns #plan-ul{display:block;columns:auto;margin:0;padding:0;text-align:left}.ah-plan-packages .feature-columns #plan-ul li{white-space:normal;overflow:visible;text-overflow:clip;text-align:left}.ah-plan-packages .ah-plan-packages__subscribe{margin-top:18px}@media(max-width:720px){.ah-plan-packages .ah-plan-packages__layout{grid-template-columns:minmax(0,1fr);gap:16px}.ah-plan-packages .ah-plan-packages__row{flex:none;padding:4px 0}}

/* 2) Subscribe form */
/* Atomic Hosting - subscribe form layout (table-free subscribe.php).
   Scoped to .ah-subscribe; mirrors the original table arrangement:
   headers row, fields row, button on its own row, item name last.
   The form sits in a white card with the site accent; fields are
   white with light borders, normal text color. */
.ah-subscribe{display:grid;grid-template-columns:1fr 1.5fr .8fr;grid-template-areas:"h1 h2 h3" "f1 f2 f3" "btn btn btn" "name name name";gap:6px 12px;align-items:center;font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;max-width:100%;background:#fff;border:1px solid #d6ddb9;border-top:4px solid #94ce18;border-radius:8px;box-shadow:0 4px 15px rgba(0,0,0,.05);padding:16px 20px 12px;box-sizing:border-box}
.ah-subscribe .ah-sub-h{font-size:1.05em;text-align:center;font-weight:700;color:#0f2233;padding-top:2px;padding-bottom:2px}
.ah-subscribe input[type="text"],.ah-subscribe select{width:100%;box-sizing:border-box;background:#fff;color:inherit;border:1px solid #b7c9d8;border-radius:6px;padding:7px 9px;font-size:1em}
.ah-subscribe input[type="text"]:focus,.ah-subscribe select:focus{border-color:#27638c;box-shadow:0 0 0 3px rgba(39,99,140,.15);outline:none}
.ah-subscribe #os0{background:#fff;color:inherit}
.ah-subscribe #item_name{background:transparent;border:none;color:#51606c;font-size:.95em;padding:2px}
.ah-subscribe .ah-sub-btn{text-align:center;padding-top:8px}
.ah-subscribe input[type="image"]{max-width:100%}
@media (max-width:640px){.ah-subscribe{grid-template-columns:1fr;grid-template-areas:"h1" "f1" "h2" "f2" "h3" "f3" "btn" "name";padding:14px 14px 10px}}
.ah-subscribe .ga-h1{grid-area:h1}.ah-subscribe .ga-h2{grid-area:h2}.ah-subscribe .ga-h3{grid-area:h3}
.ah-subscribe .ga-f1{grid-area:f1}.ah-subscribe .ga-f2{grid-area:f2}.ah-subscribe .ga-f3{grid-area:f3}
.ah-subscribe .ga-btn{grid-area:btn}.ah-subscribe .ga-name{grid-area:name}
#subscribe{scroll-margin-top:150px}

/* 3) Package photo window */
/* Atomic Hosting — Puma photo window on the Puma plan page: the package name links
   to Google Images (nofollow); with JavaScript the click opens this window, which
   grows from the click point. A small delight for visitors. Not in style.css. */
.ah-puma-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;visibility:hidden}
.ah-puma-modal.open{visibility:visible}
.ah-puma-backdrop{position:absolute;inset:0;background:rgba(10,25,35,.55);opacity:0;transition:opacity .3s ease}
.ah-puma-modal.open .ah-puma-backdrop{opacity:1}
.ah-puma-box{position:relative;background:#fff;border-top:4px solid #94ce18;border-radius:10px;box-shadow:0 18px 50px rgba(0,0,0,.35);max-width:880px;width:92vw;max-height:88vh;overflow:auto;padding:20px 22px;opacity:0;transform:scale(.04);transition:transform .38s cubic-bezier(.2,.9,.3,1.15),opacity .25s ease}
.ah-puma-modal.open .ah-puma-box{opacity:1;transform:scale(1)}
.ah-puma-title{margin:0 34px 12px 0;font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;font-size:22px;color:#0f2233}
.ah-puma-title span{font-size:14px;font-weight:400;color:#5a7184}
.ah-puma-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.ah-puma-grid img{width:100%;height:170px;object-fit:cover;border-radius:6px;display:block}
.ah-puma-close{position:absolute;top:8px;right:12px;background:none;border:0;font-size:28px;line-height:1;color:#27638c;cursor:pointer;padding:4px}
.ah-puma-more{margin:14px 0 2px;font-size:13px;color:#5a7184}
.ah-puma-more a{color:#27638c;font-weight:700}
@media (max-width:640px){.ah-puma-grid{grid-template-columns:repeat(2,1fr)}.ah-puma-grid img{height:130px}}

/* 4) Page frame (same frame as the support / terms / hosting pages) */
.ah-sup{--ink:#0f2233;--ink2:#33566e;--line:#dde6ee;--blue:#27638c;font-family:"Segoe UI",system-ui,-apple-system,Arial,sans-serif;color:var(--ink);line-height:1.55;background:#fff;border:1px solid #d6ddb9;border-top:4px solid #94ce18;border-radius:8px;box-shadow:0 4px 15px rgba(0,0,0,.05);padding:26px 28px;box-sizing:border-box;width:calc(100% + 60px);}
.ah-sup *{box-sizing:border-box;}
@media (max-width:640px){.ah-sup{padding:18px 14px}}
@media (max-width:760px){.ah-sup{width:100%}}

/* 5) Data tables as grids (converted from <table> markup) */
.ah-dt{font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;margin:12px 0}
.ah-dt-r{display:grid}
.ah-dt-2 .ah-dt-r{grid-template-columns:repeat(2,1fr)}
.ah-dt-3 .ah-dt-r{grid-template-columns:repeat(3,1fr)}
.ah-dt-4 .ah-dt-r{grid-template-columns:repeat(4,1fr)}
.ah-dt-c{background:#fff;border:1px solid #94ce18;padding:3px 7px 2px;min-width:0}
.ah-dt-r:nth-child(even)>.ah-dt-c{background:#eaf8e4;color:#000}
.ah-dt-c.ah-dt-h{background:#94ce18;color:#fff;font-weight:700;text-align:center}
.ah-dt-s2{grid-column:span 2}.ah-dt-s3{grid-column:span 3}.ah-dt-s4{grid-column:span 4}
@media (max-width:640px){.ah-dt{font-size:.82em}}

/* 6) Web promotion page (cards match the support page cards) */
.ah-wp{--ink:#0f2233;--ink2:#33566e;--line:#dde6ee;--gold:#b8860b;--green:#1d8a56;font-family:"Segoe UI",system-ui,-apple-system,Arial,sans-serif;color:var(--ink);line-height:1.55;}
.ah-wp *{box-sizing:border-box;}
.ah-wp .intro{font-size:17px;color:var(--ink2);max-width:760px;margin:4px 0 8px;}
.ah-wp h2{font-size:26px;margin:36px 0 6px;color:var(--ink);}
.ah-wp h2 .free{color:var(--green);}
.ah-wp h2 .prem{color:var(--gold);}
.ah-wp .sub{color:var(--ink2);margin:0 0 22px;}
.ah-wp .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;}
.ah-wp .tool{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;display:flex;flex-direction:column;box-shadow:0 2px 10px rgba(15,34,51,.06);transition:box-shadow .25s ease,transform .25s ease;}
.ah-wp .tool:hover{box-shadow:0 8px 22px rgba(15,34,51,.12);transform:translateY(-2px);}
.ah-wp .tool h3{font-size:18px;margin:0 0 6px;}
.ah-wp .tool p{color:var(--ink2);font-size:15px;margin:0 0 16px;}
.ah-wp .tool a{margin-top:auto;align-self:flex-start;display:inline-block;padding:9px 17px;border-radius:8px;font-weight:600;text-decoration:none;font-size:15px;background:#eef4f9;color:var(--ink);border:1px solid var(--line);}
.ah-wp .tool a:hover{background:#e2edf6;}
.ah-wp .tool.premium{border-top:4px solid var(--gold);}
.ah-wp .tool.free{border-top:4px solid var(--green);}
.ah-wp .checkup{margin-top:16px;background:#27638c;border-radius:12px;padding:26px;color:#dcebf7;}
.ah-wp .checkup h3{color:#fff;font-size:20px;margin:0 0 6px;}
.ah-wp .checkup p{margin:0 0 10px;color:#dcebf7;}

/* SEO Checkup results visibility on the white cards */
.ah-wp .checkup .ssc-summary-card{color:#1e1e1e;}
.ah-wp .checkup .ssc-summary-number{color:#1e1e1e;}
.ah-wp .checkup .ssc-summary-label{color:#666;}
.ah-wp .checkup .ssc-check-item{color:#333;}
.ah-wp .checkup .ssc-check-item p{color:#333;}
.ah-wp .checkup .ssc-check-title{color:#1e1e1e;}
.ah-wp .checkup .ssc-check-message{color:#333;}
.ah-wp .checkup .ssc-check-recommendation{color:#333;}
.ah-wp .checkup .ssc-search-results-info-public{color:#1e1e1e;}

/* 7) Script listing cards (CGI Center, Addon Scripts): simple stacked
   cards, one below another, no table look, no alternating colors. */
.ah-cards{display:flex;flex-direction:column;gap:12px;margin:14px 0}
.ah-script-card{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid #dde6ee;border-radius:12px;padding:14px 16px;box-shadow:0 2px 8px rgba(15,34,51,.05)}
.ah-script-ico{flex:0 0 auto}
.ah-script-ico img{display:block}
.ah-script-txt{min-width:0}
.ah-script-intro{margin:2px 0 4px}
.ah-script-back{margin:10px 0 0}
@media (max-width:640px){.ah-script-card{flex-direction:column}}

/* 8) Discontinued notice (same box as the Fantastico page) */
.ah-disc{border:2px solid #b3001b;background:#fdf2f2;padding:14px 16px;margin:0 0 18px}
.ah-disc p{margin:0;font-size:1.05em}
